Inspiration

We wanted to find something that all people commonly use, the internet, and combine it with something they do very often, which was that they buy items. When we realized that many people after buying an item gets a receipt to keep, we wanted to use that receipt to quickly figure out what they were buying.

What it does

The website and app allows us to create an account to keep track of what receipts we send to the scanner. There is a button that once pressed, send us to the scanner and we input an jpg or png file to the scanner for the app to scan. Once scanned, it outputs all item bought to see whether or not the packaging was recyclable and if there was then show instructions on how to properly recycle them. It also showed if there was any better alternatives then the purchased item. They also keep track of all receipts shown to the scanner, the more you scan the more points you get in the leaderboard.

How we built it

We used figma to create a website that the user can sign into, then combined it with html and tesseract(javascript) to create the scanner part of the website. We used javascript to implement chatgpt into the scanner to analyze to contents of the receipt and give us an appropriate ou tput.

Challenges we ran into

The javascript was getting the output of Chatgpt and outputting something that was unusable, it provided a jumble of text and numbers that could not be properly formatted and analyzed to give an insightful review of the receipt. We were able to solve this issue by changing our code to change how the output would be given and how chatgpt would scan the receipt(jpg/png) file.

Accomplishments that we're proud of

We were proud that we were able to successfully implement chatgpt to properly scan the items on the receipt and output correct information based on the datait collected.

What we learned

We learned how to better use javascript to implement chatgpt and how to solve random errors that popped up during our hackathon. We felt that we also learned many things that would make our actions much more sustainable.

What's next for SlugSustain

To further develop our website and scanner app to further improve our scanning and analyzing capabilities and also to continuously debug the code to further enhance the user experience.

Built With

Share this project:

Updates