AndreasRoither / system-for-allergen-and-style-classification

Master Thesis: Allergen and style detection in recipes using machine learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


System for allergen and style classification
- Archived -

Contributions welcome License

Preface

This project is archived and is for future reference only. It is not maintained anymore and any usage is at your own risk. If you want to test it out you need to train a model from start. You can do so by navigatin to the MachineLearning/Allergy folder, install the requirements and run main.py. Change any parameters you like, models can then be loaded using the ModelRestAPI, detailed instructions are provided in the README.md file.

Overview

This project is structured in 3 parts each in their own folder. Each has their own README.md file:

  • Machine learning models and analysis
  • Model REST Api
  • Web Extension

Demo

Demo Gif

Project Description

This project has been created as part of a master thesis. The proposed system should include/requires the following:

  • Style classification of recipes
  • Allergen classification of recipes
  • Warnings for custom ingredients
  • Architecture that allows extensions regardless of platform
  • Browser extension for a popular browser like Firefox

Motivation

The number of available food products on the market and the lack of food databases with correct allergen labelling make it challenging to provide accurate food allergen classification. In addition, the sheer amount of different ingredients that can contain food allergens, can be hard to memorize. Although affected individuals are likely to know about ingredients that affect them, some might slip through their attention when reading and cause unnecessary stress. Individuals that have allergic reactions to certain food allergens have to be careful when looking for recipes online, for some it is even a matter of life and death. Given the rise in the prevalence of food allergy [@tang2017food], additional measures to inform individuals with food allergies become more and more important. A system that aids in the selection of recipes could reduce the amount of time as well as the frustration of affected individuals. Additionally, the integration with existing technologies like a web browser, will reduce time and help with scanning instead of having a dedicated app where text has to be copied in.

Technology used

IDE:
IntelliJ IDEA

Other tools/libraries:
React
Parcel
Python
Docker
scikit-learn

About

Master Thesis: Allergen and style detection in recipes using machine learning

License:MIT License


Languages

Language:Python 58.0%Language:HTML 27.1%Language:TypeScript 14.2%Language:Dockerfile 0.5%Language:CSS 0.1%Language:Shell 0.0%