🔵🔵🔵 grai3 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-grai3api.hf.space/analyze

Recommended Devices

HUAWEI_p9_Lite_20177, iPad Pro, iPhone 13 mini, iPhone 14, iPhone 14 Pro, iPhone 15 Pro, iPhone 16, iPhone 16 Pro, Motorola Edge, Motorola Edge 60 fusion, Motorola G7+, Motorola G30, Samsung Galaxy A32, Samsung A52, Samsung Galaxy S23, Samsung Galaxy S24, Vivo X60, Xiaomi 15, Xiaomi A2

Other Devices

grai3 is device-agnostic. An angle of view of 70° is assumed for uncalibrated devices. You can write to enrico.soranzo@boku.ac.at to update the list of calibrated devices.