Team name: Gooo Wolfpack!!! emerald#3593, OMashabi#1924, Weston_Estate_Fan#1622 raliahm@ncsu.edu, oamashab@ncsu.edu, dehorne@ncsu.edu Reba Aliah Mathews, Osama Mashabi, David Horne
Inspiration
I'd previously researched the problem that grocery stores often don't know that they can legally donate produce or other foods with legal protection. Massive amounts of produce are wasted because they lack visual appeal or are "ugly", but are perfectly fine to consume. This idea reduces food waste by redirecting ugly produce or unwanted food from grocery stores to food banks, which typically lack fresh produce for their patrons.
What it does
The goal is for a user to input the name, type, and quantity of a fruit or vegetable and take a picture. This data would then be uploaded for food banks to see available donations and schedule pickup time and location. We focused on the forms required to get data from the user and getting the camera to work.
How we built it
We built this using html, css, and JavaScript. I attempted to incorporate a Node.js/Express.js server with SSL security certificates to enable the camera to work properly in the browser, but I did not succeed.
Challenges we ran into
Incorporating the camera into the html to take pictures was really challenging. I believe https has to be enabled in the browser, so the camera didn't work as expected even on localhost because localhost doesn't use https. I enjoyed exploring SSL certificates even though I didn't completely figure it out.
Accomplishments that we're proud of
I'm proud that I used Git Bash to produce an RSA .key file because I haven't used Git Bash scripting or SSL before. I have limited knowledge of HTML and CSS and haven't put together any projects before, so I'm proud that I got the camera inserted in the code and added some forms to gather info from the user.
What we learned
I learned about SSL certification. We both learned about using the device camera in HTML.
What's next for Produce Donation Scanner
I'd be interested in building out the html pages more and setting up https SSL security for localhosting.
Log in or sign up for Devpost to join the conversation.