Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Amesi/NutriScan

Repository files navigation

NutriScan

An AI-powered calorie-tracking app that uses depth-sensing and computer vision to analyze food photos, instantly calculating volume, identifying ingredients, and providing precise nutritional breakdowns.

Features

  • 📸 AI Food Recognition: Advanced computer vision to identify food items
  • 📏 Volume Estimation: Depth-sensing technology for accurate portion sizing
  • 🥗 Nutritional Analysis: Detailed breakdown of calories, protein, carbs, and fat
  • 📊 Progress Tracking: Visual dashboards and weekly progress charts
  • 🎯 Goal Setting: Personalized nutrition goals and achievements
  • 📱 Cross-Platform: Works on iOS, Android, and Web

Development Setup

Prerequisites

  • Node.js 18+
  • Expo CLI
  • EAS CLI (for building)

Installation

npm install

Running the App

Development Server

npm run dev

Clear Cache and Start

npm run dev:clear

Building

Development Build (with Expo Dev Client)

npm run build:dev

Preview Build

npm run build:preview

Production Build

npm run build:production

Camera Functionality

The app uses expo-camera for food scanning. Camera features work on:

  • ✅ iOS devices (with Expo Dev Client)
  • ✅ Android devices (with Expo Dev Client)
  • ⚠️ Web (mock functionality for development)

Testing on Device

Since this app uses camera functionality, you'll need to use Expo Dev Client instead of Expo Go:

  1. Install Expo Dev Client on your device
  2. Build a development version: npm run build:dev
  3. Install the development build on your device
  4. Run npm run dev and scan the QR code with your development build

Project Structure

app/
├── (tabs)/           # Tab navigation screens
│   ├── index.tsx     # Camera/Scan screen
│   ├── dashboard.tsx # Nutrition dashboard
│   ├── history.tsx   # Meal history
│   └── profile.tsx   # User profile
├── _layout.tsx       # Root layout
└── +not-found.tsx    # 404 screen

components/           # Reusable UI components
services/            # Data services and AI mocks
hooks/               # Custom React hooks

Technologies Used

  • Framework: Expo Router with React Native
  • Navigation: Expo Router (file-based routing)
  • Camera: expo-camera
  • Icons: Lucide React Native
  • Animations: React Native Reanimated
  • Charts: React Native SVG
  • State Management: React Hooks

Platform Compatibility

  • iOS: Full functionality with development build
  • Android: Full functionality with development build
  • Web: Limited functionality (no camera, mock data)

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test on both iOS and Android
  5. Submit a pull request

License

MIT License - see LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published