Gemma Pizza is an AI-powered Web Application that analyzes food images directly in your browser. By leveraging the state-of-the-art Gemma 4 E2B multimodal model via Transformers.js, this application runs entirely on-device to estimate calories, identify food names, and list key ingredients.
onnx-community/gemma-4-E2B-it-ONNX to natively process images and output natural language analysis.This project is built with React, TypeScript, and Vite.
Clone or Navigate to the project folder:
cd /Users/jaichang/Desktop/gemma_pizza
Install Dependencies:
npm install
Run Development Server:
npm run dev
This command will start the Vite dev server. Open your browser and navigate to http://localhost:5173 to view the application.
Build for Production:
npm run build
This compiles the React code and outputs the final optimized files into the dist/ directory, ready to be deployed to Vercel, Netlify, or GitHub Pages.
@huggingface/transformers (v3 API)3 commits
TypeScript
74.0%
CSS
22.1%
JavaScript
3.1%
Gemma Pizza is an AI-powered Web Application that analyzes food images directly in your browser. By leveraging the state-of-the-art Gemma 4 E2B multimodal model via Transformers.js, this application runs entirely on-device to estimate calories, identify food names, and list key ingredients.
onnx-community/gemma-4-E2B-it-ONNX to natively process images and output natural language analysis.This project is built with React, TypeScript, and Vite.
Clone or Navigate to the project folder:
cd /Users/jaichang/Desktop/gemma_pizza
Install Dependencies:
npm install
Run Development Server:
npm run dev
This command will start the Vite dev server. Open your browser and navigate to http://localhost:5173 to view the application.
Build for Production:
npm run build
This compiles the React code and outputs the final optimized files into the dist/ directory, ready to be deployed to Vercel, Netlify, or GitHub Pages.
@huggingface/transformers (v3 API)3 commits
TypeScript
74.0%
CSS
22.1%
JavaScript
3.1%