Understand food. Evaluate nutrition. Explore new formulations.
- 1. Project Overview
- 2. Product Modules
- 3. Key Capabilities
- 4. Graphical System Architecture
- 5. FoodInsightAI β Application Flow
- 6. FoodLab β Application Flow
- 7. Food Analysis β Technical Pipeline
- 8. Two-Model AI Architecture
- 9. Six-Part Scientific Analysis
- 10. Technology Stack
- 11. Datasets & Knowledge Resources
- 12. Backend, API & Data Architecture
- 13. AWS Production Deployment
- 14. Repository Documentation Layout
- 15. Development Setup
- 16. Security & Responsible AI
- 17. Project Team
- 18. Team Collaboration & Delivery Workflow
- 19. Future Development
- 20. Disclaimer
NutriScientia β Food Insight AI is an AI-powered food intelligence platform that combines food image understanding, ingredient analysis, nutrition intelligence, food-safety assessment, scientific evidence retrieval, and virtual food experimentation.
The platform is organized around two connected applications:
- FoodInsightAI β analyzes food images and presents structured insights about food identity, visible ingredients, nutritional composition, allergens, potential safety concerns, and supporting evidence.
- FoodLab β provides a virtual experimentation workflow where users select food items, define quantities and objectives, explore a proposed formulation, and review its nutritional and safety considerations.
The solution is designed around a two-model workflow: a food-identification stage produces structured food information, and a downstream food-intelligence stage uses that information together with food-composition data, reference material, calculations, and analysis rules.
| Item | Description |
|---|---|
| Project | NutriScientia β Food Insight AI |
| Domain | Artificial Intelligence, Food Technology, Nutrition Intelligence |
| Product modules | FoodInsightAI and FoodLab |
| Model architecture | Two-stage food identification and food intelligence |
| Analysis approach | AI-assisted interpretation, data retrieval, calculations and rules |
| Deployment endpoint | 52.87.185.169.nip.io |
| Team | Six-member AI/ML engineering and research team |
FoodInsightAI is the image-led analysis experience. A user captures or uploads a food image. The application identifies the food, interprets visible components, retrieves relevant food-composition information, and presents an organized analysis.
Primary outputs
- Predicted food name and category.
- Visible ingredient/component candidates.
- Estimated nutritional composition where sufficient data is available.
- Allergen information and potential cross-contact considerations.
- Potential food-safety and health considerations.
- Supporting references and uncertainty notes.
- Analysis history and report access where implemented.
FoodLab is the formulation and experimentation experience. A user selects multiple food items, defines their quantities, provides an experiment objective and constraints, and reviews the resulting analysis.
Primary outputs
- Selected ingredient formulation.
- Quantity-aware composition.
- Nutrition analysis.
- Allergen and safety considerations.
- Health and suitability observations.
- Formulation recommendations.
- Downloadable experiment report where enabled.
| Capability | Description |
|---|---|
| Food recognition | Identifies food items and predicts their categories from submitted images. |
| Ingredient understanding | Extracts visible components and maps ingredient names to standardized records where possible. |
| Nutrition intelligence | Retrieves or estimates energy and nutrient composition using available food data and serving information. |
| Allergen assessment | Highlights known allergens and possible cross-contact considerations based on available data. |
| Food-safety analysis | Evaluates potential risks using supplied inputs, available references, and configured rules. |
| Health impact | Presents serving-context and dietary observations without making medical diagnoses. |
| Evidence retrieval | Retrieves relevant food, nutrition, and scientific reference material. |
| What-if analysis | Allows ingredient or quantity changes to be explored and compared. |
| Virtual formulation | Supports food-combination experiments and candidate formulation analysis. |
| Reporting | Presents structured results and supports report generation where implemented. |
The architecture below describes the logical end-to-end flow of the platform. It is a system-level view; the exact runtime components and service boundaries should be aligned with the deployed repository configuration.
flowchart TB
U(["π€ User"])
subgraph CLIENT["CLIENT APPLICATIONS"]
WEB["FoodInsightAI<br/>Food image analysis"]
LAB["FoodLab<br/>Virtual experimentation"]
end
subgraph API["APPLICATION & API LAYER"]
APIENTRY["Backend API<br/>Request handling"]
VALIDATE["Input validation<br/>File and payload checks"]
JOB["Analysis / Experiment<br/>workflow"]
end
subgraph VISION["FOOD IDENTIFICATION"]
PRE["Image pre-processing<br/>Resize β’ quality β’ region"]
DETECT["Model 1<br/>Food detection & classification"]
STRUCT["Structured food result<br/>Name β’ category β’ components β’ confidence"]
end
subgraph INTEL["FOOD INTELLIGENCE"]
MODEL2["Model 2<br/>Food intelligence engine"]
MAP["Ingredient mapping<br/>& normalization"]
RETRIEVE["Food data & evidence<br/>retrieval"]
CALC["Nutrition calculations<br/>& serving context"]
end
subgraph SCIENCE["SCIENTIFIC EVALUATION"]
MODULES["Six-part analysis<br/>Composition β’ Nutrition β’ Allergens<br/>Safety β’ Health β’ Evidence"]
DECISION["Decision and completeness checks<br/>SAFE β’ CAUTION β’ UNSAFE β’ INSUFFICIENT"]
end
subgraph DATA["DATA & PERSISTENCE"]
FOODDB[("Food datasets<br/>& reference resources")]
DB[("Application database<br/>if configured")]
FILES[("Image and report storage<br/>if configured")]
CACHE[("Cache / job state<br/>if configured")]
end
RESULT["Structured result<br/>Dashboard β’ JSON β’ Report"]
U --> WEB
U --> LAB
WEB --> APIENTRY
LAB --> APIENTRY
APIENTRY --> VALIDATE --> JOB
JOB --> PRE --> DETECT --> STRUCT
STRUCT --> MODEL2 --> MAP
MAP --> RETRIEVE
FOODDB --> RETRIEVE
RETRIEVE --> CALC --> MODULES
MODULES --> DECISION --> RESULT
RESULT --> WEB
RESULT --> LAB
RESULT -. persistence .-> DB
RESULT -. report / image files .-> FILES
JOB -. optional job state .-> CACHE
classDef client fill:#E8F2FF,stroke:#3675B9,color:#153B64,stroke-width:1.5px;
classDef api fill:#F0EAFE,stroke:#7952B8,color:#38205E,stroke-width:1.5px;
classDef vision fill:#E7F7F0,stroke:#26845C,color:#124B35,stroke-width:1.5px;
classDef intel fill:#FFF4DF,stroke:#C58A25,color:#68430C,stroke-width:1.5px;
classDef science fill:#FDECEF,stroke:#C34F64,color:#6D2432,stroke-width:1.5px;
classDef data fill:#EAF0F5,stroke:#63788B,color:#25394B,stroke-width:1.5px;
classDef result fill:#E4F5E8,stroke:#258447,color:#124C27,stroke-width:2px;
class WEB,LAB client;
class APIENTRY,VALIDATE,JOB api;
class PRE,DETECT,STRUCT vision;
class MODEL2,MAP,RETRIEVE,CALC intel;
class MODULES,DECISION science;
class FOODDB,DB,FILES,CACHE data;
class RESULT result;
| Layer | Responsibility |
|---|---|
| Client applications | Collect food images, food selections, quantities, dietary constraints, and experiment requirements. |
| API layer | Receives requests, validates input, coordinates workflows, and returns results. |
| Image pre-processing | Prepares images for inference and checks basic image quality. |
| Model 1 | Identifies food items and returns structured recognition information. |
| Model 2 | Interprets recognized food information and coordinates deeper food analysis. |
| Data retrieval | Looks up food-composition, ingredient, safety, and research information from available resources. |
| Scientific evaluation | Organizes the analysis into six modules and applies configured rules and checks. |
| Persistence | Stores application records, images, reports, or job state where configured. |
| Results layer | Delivers structured analysis to the application and report workflow. |
sequenceDiagram
autonumber
actor User
participant UI as FoodInsightAI / FoodLab
participant API as Backend API
participant Vision as Model 1
participant Intel as Model 2
participant Data as Food Data / References
participant Eval as Scientific Evaluation
participant Store as Persistence Layer
User->>UI: Submit image or experiment
UI->>API: Send request and input data
API->>API: Validate request and create workflow
API->>Vision: Send prepared image (image analysis)
Vision-->>API: Food identity and structured output
API->>Intel: Pass structured food information
Intel->>Data: Retrieve composition and evidence
Data-->>Intel: Return matching reference data
Intel->>Eval: Submit analysis inputs
Eval-->>API: Structured scientific result
API->>Store: Persist result/report if configured
API-->>UI: Return status and result
UI-->>User: Display analysis or experiment report
The following is the twelve-screen user journey represented in the supplied FoodInsightAI application design.
| Step | Screen | User experience |
|---|---|---|
| 1 | Home β Food Intelligence Hub | Start food scanning, upload a document, describe food, or open quick actions. |
| 2 | Food Capture | Capture a food photo or select an existing image. |
| 3 | Food Identification | Review the predicted food name, category, confidence, possible matches, and detected components. |
| 4 | Analysis Progress | Follow the analysis stages: image understanding, ingredient resolution, nutrition retrieval, safety checks, evidence retrieval, and insight generation. |
| 5 | Overview Dashboard | Review the high-level summary, nutrition indicators, safety status, and profile context. |
| 6 | Detailed Composition | Explore the estimated ingredient list, proportions, and descriptions. |
| 7 | Nutrition Intelligence | Review calories, macronutrients, fibre, and available micronutrients. |
| 8 | Food Safety & Risk Analysis | Review allergen information, potential food-safety concerns, and risk factors. |
| 9 | Evidence Explorer | Inspect supporting food, nutrition, and scientific reference material. |
| 10 | FoodLab β What-If Analysis | Modify an ingredient or quantity and compare the original and modified food. |
| 11 | Ask Intelligence | Ask follow-up questions about the current food analysis. |
| 12 | User Profile & History | Manage preferences and review previous analyses. |
flowchart TD
A(["1. Home β Food Intelligence Hub"])
B["2. Food Capture<br/>Camera / Upload"]
C["3. Food Identification<br/>Food β’ Category β’ Confidence"]
D["4. Analysis Progress<br/>Track analysis stages"]
E["5. Overview Dashboard<br/>Summary and assessment"]
F["6. Detailed Composition<br/>Ingredient breakdown"]
G["7. Nutrition Intelligence<br/>Nutrients and serving context"]
H["8. Food Safety & Risk<br/>Allergens and potential risks"]
I["9. Evidence Explorer<br/>Sources and references"]
J["10. What-If Analysis<br/>Modify and compare"]
K["11. Ask Intelligence<br/>Contextual questions"]
L(["12. User Profile & History"])
A --> B --> C --> D --> E --> F --> G --> H --> I --> J --> K --> L
classDef start fill:#E5F5E9,stroke:#26864A,color:#174B2B,stroke-width:2px;
classDef step fill:#EEF4FF,stroke:#4779B8,color:#173B68,stroke-width:1.5px;
classDef analysis fill:#F5EEFF,stroke:#8656B8,color:#48266B,stroke-width:1.5px;
class A,L start;
class B,C,D,E,F,G,H,I step;
class J,K analysis;
- Food image captured through a camera or selected from a device.
- Optional serving size or quantity.
- Optional dietary preferences and constraints.
- Optional allergy information and profile context.
- Food identity and confidence.
- Ingredient and composition information.
- Nutrition and serving-context results.
- Allergen and safety observations.
- Evidence and uncertainty notes.
- Analysis history and reports where available.
FoodLab is the virtual food experimentation workflow. The following eight-screen flow follows the supplied application design.
| Step | Screen | User experience |
|---|---|---|
| 1 | Home Screen | Start a new experiment or access the food catalogue, saved experiments, reports, and help. |
| 2 | Select Food Items | Search, browse, filter, and select two or more food items. |
| 3 | Combine & Formulate | Define ingredient quantities and provide a proposed product name. |
| 4 | Set Experiment Requirements | Select a research objective, target population, and optional dietary preferences. |
| 5 | Run Simulation | Start the formulation, nutrition, safety, and health analysis workflow. |
| 6 | Results Overview | Review the overall assessment and key result indicators. |
| 7 | Detailed Analysis | Inspect nutrition, safety, health, and ingredient-level findings. |
| 8 | Generate & Download Report | Generate a report and save the experiment for future reference where supported. |
flowchart TD
A(["1. Home Screen"])
B["2. Select Food Items<br/>Search β’ Browse β’ Select"]
C["3. Combine & Formulate<br/>Ingredients β’ Quantities β’ Product name"]
D["4. Set Requirements<br/>Objective β’ Population β’ Preferences"]
E["5. Run Simulation<br/>Execute analysis workflow"]
F["6. Results Overview<br/>Summary β’ Suitability"]
G["7. Detailed Analysis<br/>Nutrition β’ Safety β’ Health"]
H(["8. Generate & Download Report"])
A --> B --> C --> D --> E --> F --> G --> H
classDef start fill:#E5F5E9,stroke:#26864A,color:#174B2B,stroke-width:2px;
classDef process fill:#F0F5FF,stroke:#4779B8,color:#173B68,stroke-width:1.5px;
classDef result fill:#F2EAFE,stroke:#8656B8,color:#48266B,stroke-width:1.5px;
class A,H start;
class B,C,D,E process;
class F,G result;
- Selected food items.
- Ingredient quantities and units.
- Formulation or proposed product name.
- Experiment objective.
- Target population.
- Optional dietary preferences and constraints.
- Formulation summary.
- Ingredient-level composition.
- Nutrition analysis.
- Allergen and food-safety observations.
- Health and suitability considerations.
- Optimization suggestions where supported.
- Experiment report.
This six-stage technical pipeline explains how a food image is transformed into a structured analysis result.
flowchart LR
S1["STAGE 1<br/>User Input &<br/>API Ingestion"]
S2["STAGE 2<br/>Image<br/>Pre-processing"]
S3["STAGE 3<br/>MODEL 1<br/>Food Identification"]
S4["STAGE 4<br/>MODEL 2<br/>Food Intelligence"]
S5["STAGE 5<br/>Six-Part Scientific<br/>Analysis"]
S6["STAGE 6<br/>Results, Reports<br/>& Storage"]
S1 --> S2 --> S3 --> S4 --> S5 --> S6
classDef ingest fill:#E8F1FF,stroke:#3976B8,color:#173C65,stroke-width:2px;
classDef prep fill:#FFF2DF,stroke:#C1842D,color:#67420D,stroke-width:2px;
classDef model fill:#F0EAFE,stroke:#8056B5,color:#43256A,stroke-width:2px;
classDef analysis fill:#E7F6ED,stroke:#318458,color:#174D31,stroke-width:2px;
classDef output fill:#FCEBED,stroke:#C25A68,color:#6D2933,stroke-width:2px;
class S1 ingest;
class S2 prep;
class S3,S4 model;
class S5 analysis;
class S6 output;
- Accept a food image from the application.
- Receive optional quantity, serving size, and user constraints.
- Validate the uploaded file and request.
- Create an analysis identifier.
- Forward the request to the processing workflow.
- Validate image format and integrity.
- Resize and normalize the image.
- Check image quality, blur, and noise.
- Prepare food regions for model inference.
- Apply the configured detection or segmentation process.
- Detect one or multiple food items.
- Predict food name and category.
- Identify visible ingredients where possible.
- Generate confidence information.
- Return food regions or bounding boxes if supported.
- Receive Model 1's structured output.
- Map and normalize ingredient names.
- Retrieve food-composition information.
- Calculate nutrition using available quantity and serving data.
- Evaluate allergens and potential risks.
- Retrieve supporting evidence where configured.
The analysis is organized into composition, nutrition, allergen, safety, health-impact, and research-evidence modules.
- Return structured results.
- Display analysis in the application.
- Generate a report where implemented.
- Persist analysis and experiment records where configured.
Primary objective: identify the food shown in the submitted image.
| Responsibility | Description |
|---|---|
| Food detection | Locate food items in the image. |
| Food classification | Predict the food name and category. |
| Component recognition | Identify visible food components where possible. |
| Confidence | Return model confidence information. |
| Region output | Return bounding boxes or detected regions if supported. |
{
"food_name": "Idli",
"food_category": "Breakfast",
"visible_ingredients": ["Idli"],
"confidence": 0.92,
"uncertainties": []
}The JSON is an illustrative example. The actual API response schema is defined by the backend implementation.
Primary objective: turn identified food information into a deeper, structured analysis.
| Responsibility | Description |
|---|---|
| Ingredient mapping | Map recognized ingredients to standardized food records. |
| Nutrition retrieval | Retrieve relevant composition data. |
| Nutrition calculation | Calculate values using available quantities and serving context. |
| Allergen assessment | Identify known allergens and relevant concerns. |
| Safety evaluation | Assess potential food-safety risks using available evidence and rules. |
| Health impact | Present relevant serving and dietary considerations. |
| Evidence retrieval | Retrieve supporting references where configured. |
flowchart TD
IMG["Food Image"] --> M1["Model 1<br/>Food Identification"]
M1 --> JSON["Structured Identification Result"]
JSON --> M2["Model 2<br/>Food Intelligence"]
M2 --> MAP["Ingredient Mapping"]
MAP --> RET["Food Data & Reference Retrieval"]
RET --> CALC["Nutrition & Serving Calculations"]
CALC --> SAFE["Allergen & Safety Assessment"]
SAFE --> OUT["Structured Food Analysis"]
Important distinction: Model 1 is responsible for visual food identification. Model 2 is responsible for deeper food intelligence and analysis. Neither stage should invent hidden ingredients, exact quantities, or verified safety conclusions that cannot be established from the available information.
| No. | Analysis module | Main purpose |
|---|---|---|
| 1 | Food & Ingredient Composition | Describe the identified food and its ingredient composition. |
| 2 | Nutritional Analysis | Evaluate energy, protein, carbohydrates, fats, fibre, and available micronutrients. |
| 3 | Allergen Assessment | Identify known allergens and possible cross-contact concerns. |
| 4 | Food Safety & Risk Analysis | Evaluate potential contamination, additives, toxins, and handling-related risks using available information. |
| 5 | Health Impact Analysis | Present serving-context and dietary considerations. |
| 6 | Research Evidence Analysis | Retrieve relevant research, guidelines, and supporting references. |
| Status | Interpretation |
|---|---|
| π’ SAFE | No significant concern was identified by the available checks. This does not guarantee that the food is safe. |
| π‘ CAUTION | One or more concerns, limitations, or conditions require attention. |
| π΄ UNSAFE | Available rules or evidence indicate a serious risk. |
| βͺ INSUFFICIENT | Available information is not sufficient to make a reliable assessment. |
A decision status should be accompanied by the evidence, limitations, and uncertainty that support it.
The following table separates the core technologies associated with the project from components that must be confirmed against the current repository before being described as active production dependencies.
| Layer | Technology | Role |
|---|---|---|
| Backend language | Python | Backend services and AI/ML workflows |
| API framework | FastAPI | Backend API and request handling |
| Computer vision | YOLO | Food detection and region identification where integrated |
| Deep learning | PyTorch | Model execution and experimentation |
| Vision-language model | Qwen3-VL | Visual food understanding in the model workflow |
| Local model runtime | Ollama | Local model serving and inference during development |
| Cloud model integration | Hugging Face Inference API | Hosted model inference where configured |
| Layer | Technology | Intended role |
|---|---|---|
| AI orchestration | LangGraph | Multi-step or multi-agent workflow orchestration where implemented |
| Retrieval | RAG | Retrieval-supported analysis |
| Vector search | FAISS | Similarity search over vector embeddings where configured |
| Database | PostgreSQL | Structured application data where configured |
| Cache | Redis | Caching or job-state support where configured |
| Containerization | Docker | Container packaging where used |
| Cloud | AWS EC2 | Application or model hosting |
| Object storage | AWS S3 | Image and report storage where configured |
The project diagrams and previous development work reference the technologies above. Before treating every item as an active production dependency, verify it against the current source code, dependency manifests, and AWS configuration. Do not represent a planned or experimental component as deployed.
The following resources are associated with the project's food-identification and food-intelligence research.
| Dataset | Intended use |
|---|---|
| Food-101 | Food image classification research and evaluation |
| UEC-Food256 | Food recognition and classification |
| UEC-FoodPix | Food image segmentation and region understanding |
| SOHL Multi-Dish Indian Food | Indian multi-dish food recognition |
| Resource | Intended use |
|---|---|
| IFCT 2017 | Indian food composition reference |
| USDA FoodData Central | Food and nutrient composition data |
| FSSAI | Food standards and safety references |
| PubMed | Scientific and biomedical literature |
| Europe PMC | Scientific literature and research discovery |
Dataset availability, licensing, source attribution, annotation quality, and permitted usage must be checked before training or redistributing data.
The backend is responsible for accepting application requests, validating inputs, coordinating the analysis workflow, and returning structured results.
flowchart TD
A["Client Request"] --> B["API Route"]
B --> C["Request Validation"]
C --> D{"Input Type"}
D -->|Food image| E["Food Analysis Workflow"]
D -->|Food combination| F["FoodLab Experiment Workflow"]
E --> G["AI Model Processing"]
F --> H["Formulation & Analysis"]
G --> I["Result Structuring"]
H --> I
I --> J["Persistence / Report Generation"]
J --> K["API Response"]
K --> L["Frontend Results"]
Document the actual API endpoints from the backend source code. The following are examples of endpoint patterns represented in the project architecture, not a guarantee that each route is currently active:
| Method | Example route | Purpose |
|---|---|---|
POST |
/analyze |
Submit a food analysis request |
GET |
/analysis/{id} |
Retrieve an analysis result |
GET |
/report/{id} |
Retrieve or download a report |
POST |
/experiments |
Create a FoodLab experiment, if implemented |
GET |
/experiments/{id} |
Retrieve an experiment, if implemented |
For the final API contract, use the actual FastAPI route definitions and schemas. Include request examples, response examples, authentication requirements, and error responses only when verified.
| Data category | Example information |
|---|---|
| Food identification | Predicted food name, category, confidence, detected regions |
| Ingredient information | Ingredient identity and normalized names |
| Nutrition | Nutrient values, units, and serving context |
| Safety | Allergen information, risk observations, evidence |
| Experiment | Selected foods, quantities, objective, formulation |
| Results | Structured analysis, status, uncertainty, references |
| Reports | Generated report files and metadata |
The project is deployed through the public application endpoint:
Live application: https://52.87.185.169.nip.io/
flowchart TB
USER(["π User / Browser"])
DNS["Public domain / DNS"]
HTTPS["HTTPS entry point"]
APP["Deployed application"]
API["Backend API"]
AI["AI inference services"]
DB[("Database<br/>if configured")]
STORAGE[("Object storage<br/>if configured")]
USER --> DNS --> HTTPS --> APP
APP --> API --> AI
API -. data access .-> DB
API -. file access .-> STORAGE
classDef public fill:#E8F1FF,stroke:#3976B8,color:#173C65,stroke-width:1.5px;
classDef service fill:#F0EAFE,stroke:#8056B5,color:#43256A,stroke-width:1.5px;
classDef data fill:#E7F6ED,stroke:#318458,color:#174D31,stroke-width:1.5px;
class USER,DNS,HTTPS public;
class APP,API,AI service;
class DB,STORAGE data;
The final deployment details should be confirmed from the actual AWS environment and repository:
- Compute instance and operating environment.
- Frontend hosting method.
- Backend process and service manager.
- Public DNS and TLS/HTTPS configuration.
- Model inference location and runtime.
- Database endpoint and access controls.
- Image and report storage configuration.
- Environment variables and secret management.
- Deployment and rollback procedure.
- Monitoring, logs, and health checks.
Architecture note: This diagram is a logical deployment view. It intentionally does not claim that unverified services such as Kubernetes, Docker, Redis, or S3 are part of the live deployment.
Recommended documentation organization:
NutriScientia/
β
βββ README.md
β
βββ docs/
β βββ images/
β β βββ food-analysis-pipeline.png
β β βββ foodlab-application-flow.png
β β βββ foodinsightai-application-flow.png
β β
β βββ architecture/
β βββ system-architecture.md
β βββ ai-model-pipeline.md
β βββ foodlab-workflow.md
β βββ foodinsightai-workflow.md
β βββ deployment-architecture.md
β
βββ backend/
βββ frontend/
βββ models/
βββ datasets/
βββ scripts/
βββ tests/
This is a documentation-oriented example. The actual source repository structure may differ; retain the existing application structure.
Use the actual repository instructions and dependency files when setting up the project.
- Git
- Python version supported by the backend dependencies
- Required frontend runtime and package manager
- Access to configured model providers, if required
- Database and storage services required by the selected environment
git clone <YOUR_REPOSITORY_URL>
cd <YOUR_REPOSITORY_DIRECTORY>python -m venv .venvWindows PowerShell:
.venv\Scripts\Activate.ps1Linux/macOS:
source .venv/bin/activateInstall dependencies if the repository provides requirements.txt:
pip install -r requirements.txtStart the service using the actual application entry point. For example, if the project defines app.main:app:
uvicorn app.main:app --host 127.0.0.1 --port 8000Create a local environment file based on the repository's .env.example, if available.
Never commit production credentials, API keys, database passwords, or private tokens.
Use the package manager and startup command specified by the actual frontend project configuration.
- Validate uploaded images and request payloads.
- Enforce file-size and file-type restrictions.
- Keep credentials outside source control.
- Restrict access to stored images, reports, and user records.
- Avoid logging sensitive user information.
- Return uncertainty when the image or reference data is incomplete.
- Do not invent hidden ingredients or exact quantities.
- Distinguish potential risk indicators from confirmed contamination or toxicity.
- Cite authoritative sources for scientific claims where available.
- Do not present image-based analysis as a laboratory test, medical diagnosis, or guarantee of food safety.
NutriScientia is developed by a six-member multidisciplinary team working across AI/ML engineering, knowledge representation, backend systems, data engineering, scientific research, model evaluation, and cloud deployment.
| Team member | Designation | Primary ownership |
|---|---|---|
| Varun | Team Lead & AI/ML Engineering and Research Lead | Technical leadership, AI/ML architecture, research direction, system integration, and production readiness |
| Praneeth | Knowledge Graph & Backend Engineer | Knowledge graph engineering, backend services, API development, and data integration |
| Akshay | Data Engineer & Dataset Acquisition Specialist | Dataset collection, data cleaning, preprocessing, annotation coordination, and data quality |
| Murali | Scientific Researcher & Research Paper Writer | Literature review, research methodology, experimental documentation, and research paper preparation |
| Manoj | Machine Learning Engineer β Training & Evaluation | Model training, experimentation, validation, performance evaluation, and optimization |
| Siddaratha | AI/ML Deployment & Cloud Engineer | Model serving, AWS infrastructure, deployment configuration, and cloud operations |
- Leads the overall technical direction and architecture.
- Defines AI/ML engineering and research priorities.
- Coordinates the six engineering and research workstreams.
- Integrates frontend, backend, datasets, and AI model components.
- Oversees end-to-end testing and technical quality.
- Coordinates production readiness and final release.
- Designs and develops knowledge representation and graph structures.
- Builds backend services and API integrations.
- Connects application workflows with structured food knowledge.
- Supports data consistency and backend reliability.
- Researches and collects relevant food datasets.
- Organizes, cleans, and preprocesses data.
- Supports annotation and data-quality checks.
- Prepares datasets for training, validation, and experimentation.
- Maintains dataset documentation and source references.
- Reviews relevant scientific literature.
- Develops research methodology documentation.
- Records experimental methods and findings.
- Prepares technical and scientific research content.
- Supports research paper drafting and reference management.
- Runs model training and experimentation workflows.
- Configures training and validation procedures.
- Evaluates model performance and errors.
- Compares model results and identifies improvement areas.
- Documents evaluation metrics and findings.
- Prepares models for deployment and inference.
- Configures cloud runtime environments.
- Supports AWS infrastructure and deployment operations.
- Validates deployed model services.
- Troubleshoots runtime and cloud integration issues.
The team works in coordinated, parallel workstreams. The diagram below represents ownership and collaboration, not a rigid sequence in which one person must finish all work before another can begin.
flowchart TB
LEAD["π¨βπ» VARUN<br/>Team Lead β’ AI/ML Architecture<br/>Research Direction β’ System Integration"]
subgraph WORKSTREAMS["SPECIALIZED ENGINEERING & RESEARCH WORKSTREAMS"]
DATA["AKSHAY<br/>Data Engineering<br/>Dataset Collection & Preparation"]
ML["MANOJ<br/>Model Training<br/>Validation & Evaluation"]
BACKEND["PRANEETH<br/>Knowledge Graph<br/>Backend & API Engineering"]
CLOUD["SIDDARATHA<br/>Model Deployment<br/>AWS & Cloud Operations"]
RESEARCH["MURALI<br/>Scientific Research<br/>Paper & Technical Writing"]
end
INTEGRATION["INTEGRATION & VALIDATION<br/>Model + Backend + Data + Application"]
RELEASE["PRODUCTION READINESS<br/>Testing β’ Deployment Validation β’ Release"]
LEAD --> DATA
LEAD --> ML
LEAD --> BACKEND
LEAD --> CLOUD
LEAD --> RESEARCH
DATA --> ML
ML --> INTEGRATION
BACKEND --> INTEGRATION
CLOUD --> INTEGRATION
RESEARCH -. research evidence and documentation .-> INTEGRATION
INTEGRATION --> LEAD
LEAD --> RELEASE
classDef lead fill:#E9EFFF,stroke:#345FA8,color:#17345F,stroke-width:2px;
classDef stream fill:#F2F5FA,stroke:#71839A,color:#25394D,stroke-width:1.5px;
classDef integrate fill:#F0EAFE,stroke:#8056B5,color:#43256A,stroke-width:2px;
classDef release fill:#E5F5E9,stroke:#26864A,color:#174B2B,stroke-width:2px;
class LEAD lead;
class DATA,ML,BACKEND,CLOUD,RESEARCH stream;
class INTEGRATION integrate;
class RELEASE release;
| Owner | Workstream | Main deliverables |
|---|---|---|
| Varun | Leadership, AI/ML architecture and integration | Architecture decisions, integrated application, technical validation, release coordination |
| Praneeth | Knowledge graph and backend | Backend services, APIs, knowledge structures, integrations |
| Akshay | Data engineering | Dataset inventory, cleaned/prepared data, data-quality documentation |
| Murali | Scientific research | Literature review, methodology, experiment documentation, research paper drafts |
| Manoj | Model training and evaluation | Trained model artifacts where applicable, evaluation results, metrics, improvement analysis |
| Siddaratha | Deployment and cloud | Deployment configuration, model-serving environment, AWS operations and validation |
- Data preparation: Akshay prepares and documents datasets for model development.
- Model development: Manoj uses the prepared data for training, validation, and performance evaluation.
- Backend and knowledge integration: Praneeth builds the backend and knowledge structures that connect the application and analysis services.
- Cloud deployment: Siddaratha prepares model-serving and cloud deployment operations.
- Scientific documentation: Murali documents literature, methodology, experiments, results, and research findings throughout the project.
- System integration and release: Varun coordinates the workstreams, integrates the components, validates the end-to-end application, and leads production readiness.
The workstreams collaborate continuously. Model evaluation can lead to new data requirements, backend integration can reveal model-interface changes, and deployment testing can lead to performance or reliability improvements.
Potential areas for continued improvement include:
- Expanding food recognition coverage and evaluation.
- Improving ingredient normalization and food-composition mapping.
- Strengthening serving-size and quantity-aware calculations.
- Improving allergen and food-safety evidence handling.
- Increasing retrieval relevance and reference traceability.
- Improving model confidence calibration and uncertainty reporting.
- Validating FoodLab formulation outputs against expert review and laboratory measurements.
- Expanding automated tests, monitoring, and deployment validation.
- Developing reproducible research and model-evaluation reports.
NutriScientia is an AI-assisted informational and experimental platform. Its outputs may be incomplete or uncertain, particularly when images are unclear, quantities are unknown, recipes vary, or reference data is unavailable.
The platform is not a certified food-testing laboratory, medical diagnostic system, or official food-safety authority. Image-based analysis cannot independently confirm hidden ingredients, contamination, exact nutrient composition, or clinical suitability. Important allergy, medical, and food-safety decisions should be verified with qualified professionals and authoritative sources.


