Spaces:
Sleeping
Sleeping
Upload README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Soil Backend API
|
| 3 |
+
emoji: 🌱
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: false
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Soil Backend API
|
| 11 |
+
|
| 12 |
+
This is the backend API for the Soil & Crop Classifier. It uses a Convolutional Neural Network (CNN) to classify soil types from images and provides crop recommendations based on tabular data.
|
| 13 |
+
|
| 14 |
+
### Endpoints
|
| 15 |
+
- **GET /** : Health check.
|
| 16 |
+
- **POST /api/classify** : Expects a JSON payload with `imageBase64` and `language`. Returns the predicted soil type, crop recommendations, and translated explanation.
|