Model details
- Loaded
- True
- Version
- mobilenet_v3_small-best
- Food classes
- 27
- Confidence threshold
- 55%
- Margin threshold
- 12%
Retraining status
- Job status
- Waiting
- Running
- No
http://localhost:3000/admin-access to review & approve feedback and trigger manual retraining.Architecture
API endpoints
Supported foods — 27 classes
Current model coverage. If an image is unclear or outside this list the API returns a structured 422 — never a wrong answer. More Nigerian and African meals will be added as reviewed images are collected through the feedback pipeline.
Run locally
- Copy
.env.example→.envand fill inSECRET_KEY,MONGODB_URL, andMODEL_PATH. - Create a virtualenv:
python -m venv venv && source venv/bin/activate - Install dependencies:
pip install -r requirements.txt - Start MongoDB locally or point
MONGODB_URLat Atlas. - Run the API:
uvicorn app.main:app --reload --port 8000 - Open /docs and seed food data via
POST /api/v1/foods/seed. - To train the model:
python ml/train.py --data-dir ./ml/data/merged_dataset --epochs 30
Ethical notice
Nutritional values and health scores produced by FoodIntel are estimates for educational and personal tracking purposes only. They are computed from average per-100g reference values and scaled to the user's declared serving size. They are not medical advice and must not be used to diagnose, treat, or manage any health condition or nutrient deficiency. Always consult a registered dietitian or physician for personalised nutritional guidance.