Welcome to EcoStep, the AI-powered detective that sniffs out your carbon footprint from receipts! Ever wondered how much your shopping habits contribute to the planet's well-being (or destruction)? EcoStep analyzes your receipts, calculates carbon emissions, and gives you tailored suggestions to save the environmentโwithout making you feel like a guilty penguin.
Think of it as a fusion of Sherlock Holmes and Captain Planetโbut in Python! ๐ต๏ธโโ๏ธ๐
You can access the project on GitHub:
EcoStep on GitHub
Clone the repo like a pro hacker:
git clone https://github.com/Tech-Avinya-07/EcoStep.git cd EcoStep
Install the required dependencies:
pip install -r requirements.txt
Update WatsonX credentials in these files:
chatbot_main.py
receipt_processing.py
report_generator.py
add your api key here
with your actual key. No key, no AI magic! ๐ช)Run the app and watch the magic happen!
Run the chatbot interface and start asking eco-friendly questions!
streamlit run streamlit_chatbot.py
๐ฌ Example: "How much COโe did my last grocery trip generate?"
Want to upload your receipts and see how much theyโre harming the planet?
streamlit run streamlit_ocr.py
๐ธ Upload your receipt โ Watch as EcoStep does its AI wizardry โ Get your carbon footprint insights!
Turn raw data into an official-looking environmental report (great for showing off at parties ๐ฅณ).
python report_generator.py
๐ Your report will be saved as report_carbon_footprint_user.docx
.
IBM WatsonX is the AI brain behind this eco-venture. It helps:
Module | Purpose |
---|---|
chatbot_main.py | Handles WatsonX AI queries and responses. |
database.py | Manages SQLite storage of receipt data. |
databasetowordconverter.py | Converts database entries into Word documents. |
image_preprocessing.py | Enhances images for OCR processing. |
ocr_main.py | Runs the full receipt-to-data pipeline. |
ocr_processing.py | Extracts text from images using PaddleOCR. |
pdf_processing.py | Converts PDFs into processable images. |
receipt_processing.py | Analyzes receipts, calculates carbon footprints. |
report_generator.py | Creates reports with charts and sustainability advice. |
streamlit_chatbot.py | Streamlit-based chatbot interface. |
streamlit_ocr.py | Streamlit-based OCR and receipt processing. |
EcoStep is your friendly AI-powered eco-accountant, keeping track of your carbon sins while helping you atone for them. Whether youโre a sustainability nerd or just want to brag about your green lifestyle, EcoStep has your back!
Now go forth and reduce that footprint! ๐ฆถ๐