AI-powered Amropali mango disease detection. Classify 7 diseases, generate Grad-CAM heatmaps & PDF reports. Use as a Python library or REST API.
Install from PyPI โ the official Python package index. Works on Windows, Mac, Linux.
Press Windows Key โ type PowerShell โ press Enter
Copy and paste the command on the right โ press Enter
Takes ~30 seconds. You'll see: Successfully installed mango-disease-ai-0.1.1
Run the second command to install FastAPI server tools
The CLIP model (~600 MB) downloads automatically once. Takes 1-2 min. All future runs are instant.
Import directly in your Python code. Just 2 functions: analyze() and generate_pdf()
Use the API from any language: Python, JavaScript, Java, Kotlin, Swift, PHP โ anything that can send HTTP requests.
You see all 5 endpoints listed with green (GET) and yellow (POST) badges
E.g. click POST /api/analyze โ it opens a full form
This activates the form so you can fill it in
Click "Choose File" โ select your mango image โ click the blue Execute button
Scroll down โ you see the full JSON with disease name, confidence, heatmap, everything
Every endpoint, what it does, and exactly what it returns.
image (file) + include_gradcam (bool).
Returns 422 if not a mango image.
image (file) + user_name (string).Here's exactly what the AI returns for every disease class.
The AI pipeline that runs every time you analyze a mango image.