Inspiration Being college students that live on campus, groceries are usually bought because the food on campus is very expensive and does not taste good. To make the process easier instead of 6 transactions, when we do go out to buy groceries, we usually pay on one bill and then when we go home and divvy up the items and bill. However, the math of splitting up who got what and who's sharing what item with who is something most people dread after paying the bill. To ease the process we tried to automate it all while having a fun little mini game.

The meme of the DVD logo for old TV's hitting the corner being revolutionary was our inspiration for our minigame. And calling it shoplifting seemed very fitting with our projects main goal.

What it does

For our splitting the bill and items portion, it takes an input of a receipt and then sparses the information into a CSV file to later be converted into HTML to display to the user what they owe and own. For our minigame, it spawns food items that bound around in a box and the user must click on them to "shoplift" however if moral guilty takes over, or you decide the life of a criminal is not for you, you can click on the button to "turn yourselves in" where you are prompted that the police are coming (disclaimer the police are not actually coming).

How we built it

Using HTML, CSS, and JavaScript to make the website for the minigame, we were able to implement the bouncing off the "walls" of our box for our items and make a pop out.

Using Python, and libraries such as Open.ai api, CV2 api, Pytesseract api, and Pandas as pd, we were able to take an input of a receipt and read it so that it creates sections of the receipt to output Open AI API where it creates a table with items and their corresponding prices. Then it extracts and prints the generation completed list of item and price.

Challenges we ran into

Giving that our team does not know how to code, finding libraries and implementing them to be of use was difficult and time consuming.

Accomplishments that we're proud of

We are proud of every single line of code written. The fact that these parts work and we were able to make something in 24 hours while all our knowledge going into this was elementary Java is very impressive to us and we are proud.

What we learned

We learned how to use multiple libraries and integrate them together in order to scan our receipt and output a table that is readable. We learned how to read documentations to actually use these libraries. And we've gained more knowledge on web development using HTML, CSS, and Javascript

What's next for Shoplifting

For the mini game: adding a points system and timer For the receipt sparser: exporting to HTML to be seen on the website

Built With

Share this project:

Updates