☠️ Full-stack web app that uses AI and ML to analyze and classify images of food in-order to identify common food allergens in them.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app added google analytics Nov 28, 2018
.gitignore files update Jun 13, 2018
README.md Update README.md Jan 31, 2019
package-lock.json allergy-checkbox Jun 15, 2018
package.json update Jun 14, 2018
server.js

README.md

Will It Kill Me?

Table of Contents

Project description

Will It Kill Me (WIKM) is a fully responsive (mobile first) web app that was built in a few days as a full-stack coding project.

The goal of this project is to help people with food allergies identify potentially life threatening allergens on the go.

We decided to use AI and ML to analyze and classify images of food so we can identify common food allergens in them (with limited accuracy currently, based on the ML model we are using).

You can use this web app to snap a picture with your phone (or upload a picture from your computer) of a dish that's in-front of you, the machine learning API will then analyze the image and return a dynamic graph of the possible ingredients. We then list the possible allergic reaction causing ingredients based on the user food allergies input.

How to use

You can use this web app AS-IS by running it from the following link: https://will-it-kill-me.herokuapp.com/

You can also run it locally by using the command node server.js from the command line (the web app will run on http://localhost:3000).

Please note that in order for the app to run locally you will need to register for an API KEY from the Clarifai & Cloudinary APIs and to create a file named .env (in the root directory) and add the following to it, replacing the values with your own API keys:

# Clarifai API
key=your-api-key

# Cloudinary API
publicKey=your-public-api-key
secretKey=your-secret-api-key
cloud_name=your-cloud-name
upload_preset=your-upload-preset-for-unsigned-uploads

What we used

This full-stack web application was built using HTML5, CSS3, JavaScript, jQuery, Node.JS, Express (using the body-parser middleware), dotenv module, Clarifai AI API (image recognition as a service) & Cloudinary API (cloud media storage).

Team members

Demo

https://will-it-kill-me.herokuapp.com/

Screenshot

Mobile Version:

Screenshot mobile

Disclaimer

Please DO NOT consume any food or make any decisions about foods containing allergens based solely on the recommendations of this app. Doing so WILL kill you! 😅