FootPrinto is an innovative web application that leverages AI technology to analyze images and determine the carbon footprint of objects captured within them. By simply uploading or capturing an image, users can gain valuable insights into the environmental impact of everyday items, helping them make more sustainable choices.
-
📸 Multiple Image Input Methods:
- Upload images directly from your device
- Capture real-time photos using your device's camera
- Choose from our curated collection of sample images
-
🔄 Smart Camera Controls: Seamlessly switch between front and rear cameras on mobile devices
-
🧠 Advanced AI Analysis: Powered by Google Gemini API for accurate object recognition and carbon impact assessment
-
📊 Comprehensive Reporting: Detailed breakdown of carbon footprint data with actionable insights
-
🌍 Environmental Impact Visualization: Visual representations to better understand your carbon footprint
- Next.js: React framework for production-ready applications
- React: Frontend library for building user interfaces
- TypeScript: Static typing for more reliable code
- Tailwind CSS: Utility-first CSS framework for rapid UI development
- Google Gemini API: Advanced AI for image analysis and carbon footprint calculation
-
Clone the repository
git clone https://github.com/yourusername/footprinto.git -
Install dependencies:
npm install -
Create a
.envfile with your Google Gemini API key:NEXT_PUBLIC_GEMINI_API_KEY=your_api_key_here -
Run the development server:
npm run dev -
Open http://localhost:3000 in your browser
-
Choose your preferred method for image input:
- 📤 Upload an image from your device
- 📷 Capture a new image using your camera
- 🖼️ Select from our sample images
-
Wait momentarily while our AI analyzes the image
-
Review your detailed carbon footprint report with:
- Identified objects and their environmental impact
- Suggestions for reducing your carbon footprint
- Comparative analysis with sustainable alternatives
If you experience issues with camera functionality on mobile devices:
- Ensure camera permissions are granted to the application
- Try stopping and restarting the camera
- Some devices may require multiple attempts to switch between cameras
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.

