🌱 GRAI2 Soil Analysis API
API for soil particle size distribution analysis from images
Developed by Enrico Soranzo
Available Endpoints
GET / - This page
POST /analyze - Analyze soil image (multipart/form-data)
POST /analyze_base64 - Analyze base64 encoded image
GET /health - Health check
Quick Start
Upload an image using cURL:
curl -X POST -F "file=@soil_image.jpg" https://soranz84-grai2api.hf.space/analyze
Recommended Devices
- Motorola Edge (1800x4000)
- Samsung A52 (6936x9248)
- iPhone 14 (3024x4032)
Other Supported Devices
iPhone 16 (4284x5712)
Samsung A32 G5 (4000x2250)
Samsung Galaxy S23 (4000x3000)