Inspiration

Excessive use of preservatives in fruits and vegetables leads to health problems thereby resulting in long-run health risks in Dhaka city. We wanted to create an app that would allow users to trace the preservatives they consume in their everyday life.

What it does

FoodCode helps people understand what they are consuming, it analyzes the barcode inputted or scanned in the web app and retrieves an ingredient list using an API. Then it compares the ingredient list to our database of harmful preservatives, displaying any matches on the webpage.

How we built it

For the user interface, we used HTML5 and CSS3 to create a reliable and dynamic user experience. For the backend, we utilized the python-based Django Framework, and we also used Ajax and JQuery to communicate the API results between the back and front end without reloading the page. We also used the OpenFoodFacts API to convert the UPC-A barcode into the product and its ingredients. Along with that, we also utilized python libraries such as OpenCV, NumPy, and PyzBar to implement image recognition. Please refer to the linked google slide presentation for more information on the story of creating FoodCode! https://docs.google.com/presentation/d/1IUJxsx8A70wVLhS5i0BEbj5ya0DP8184yD_2GVOcD_E/edit?usp=sharing

Share this project:

Updates