kayen-m commited on
Commit
7d00cee
·
1 Parent(s): c053be4

Update readme

Browse files
Files changed (1) hide show
  1. README.md +4 -0
README.md CHANGED
@@ -9,6 +9,10 @@ A FastAPI backend for detecting and classifying tomato plant flowers by growth s
9
  - **Database Storage**: Stores all classifications with images for later retrieval
10
  - **Heatmap Data**: Returns all location and classification data for frontend heatmap visualization
11
 
 
 
 
 
12
  ## Flower Stages
13
 
14
  | Stage | Name | Description |
 
9
  - **Database Storage**: Stores all classifications with images for later retrieval
10
  - **Heatmap Data**: Returns all location and classification data for frontend heatmap visualization
11
 
12
+ ## Software Architecture
13
+
14
+ The API follows a three-tier architecture deployed on the cloud. The **presentation layer** consists of RESTful endpoints built with FastAPI, handling HTTP requests and responses with automatic OpenAPI documentation. The **business logic layer** processes images by extracting GPS coordinates from EXIF metadata and running ML classification to detect and classify flowers by growth stage. The **data layer** uses MongoDB Atlas, a cloud-hosted NoSQL database that stores all classifications and images (as base64) persistently. The entire application is deployed on Render.com as a containerized service, making it scalable and accessible from anywhere. Images flow through the system: uploaded via API, processed for GPS and classification, then stored in MongoDB where they can be retrieved later for heatmap visualization or individual queries.
15
+
16
  ## Flower Stages
17
 
18
  | Stage | Name | Description |