CarbonScanner is an innovative application designed to analyze and track carbon footprints through advanced AI technologies. The project aims to provide users with insights about environmental impacts and promote sustainable practices.
- Image Analysis: Upload and analyze images to detect carbon-related data
- AI-Powered Insights: Leverages Gemini AI and LangChain for intelligent processing of environmental data
- User Authentication: Secure account management and personalized experiences
- Data Visualization: Track and visualize carbon metrics over time
- Food Production Impact Analysis: Analyze carbon footprint of food production systems
├── backend/ # Python-based backend services
│ ├── carbon_scanner/ # Core application code
│ │ ├── app.py # Main application entry point
│ │ ├── authentication/ # Authentication services
│ │ ├── database/ # Database connectivity and models
│ │ ├── genai/ # AI processing components
│ │ └── images/ # Image handling and processing
│ └── tests/ # Backend unit tests
├── frontend/ # React-based frontend (Vite)
│ ├── public/ # Static assets
│ └── src/ # Frontend source code
└── documentation/ # Project documentation
- Backend: Python 3.10.12, Flask/FastAPI
- Frontend: React, Vite
- AI/ML: Gemini AI, LangChain
- Database: SQL/NoSQL database (based on db_manager implementation)
- Authentication: JWT-based authentication
- Python 3.10.12
- Node.js and npm
- Required API keys for AI services
cd backend
pip install -r requirements.txt
# Configure your .env file based on .env.example
python -m carbon_scanner.appcd frontend
npm install
npm run dev- Register an account to access full functionality
- Upload images for carbon footprint analysis
- View personalized recommendations for reducing environmental impact
- Track your progress over time
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.