Originally we were going to make an app where you take a food and it tells you what nutritional deficiency you'll die from if that was all you ate the rest of your life.
That wasn't so practical, so we just created an easy to use, streamlined nutrition app instead.
What it does
You take a picture of a food, and it tells you the nutrients. Then, the app uploads the data to a database and you're able to access your personal nutritional data from our website or your phone.
How we built it
We created an Android app which took pictures and used Clarifai API to determine what was in the picture. We built a Node.JS RESTful API which takes the food name, interfaces w/a nutrition API (Nutritionix), gets the nutrients, and adds the data to a Firebase database.
Then, we created a website where users can put in their username and get their cumulative nutritional information, as well as data visualization, courtesy of D3.js.
Challenges we ran into
One of our biggest challenges early on was trying to upload pictures from the computer to Dropbox, so that the Clarifai API would be able to access it. Then, since it was our first time using Firebase, it was difficult to understand the concept of nosql databases. Lastly, integrating D3.js was a problem.
Accomplishments that we're proud of
Setting up our own API. Writing our Android app. Figuring out how to make API calls from the frontend. D3.js. Getting the right angles for our pictures. Firebase. Clarifai.
What we learned
Setting up our own API. Writing our Android app. Figuring out how to make API calls from the frontend. D3.js. Firebase. Clarifai
What's next for Nutruit