← 开源
Murgio

Food-Recipe-CNN

food image to recipe with deep convolutional neural networks.

Model DevelopmentDomain-specific trainingJupyter Notebook
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
588
Star
130
Fork
+0
本周
1
贡献者
创建于 2018-01-04 · 更新于 2026-10-07 · 今日第 16484 名

Murgio/Food-Recipe-CNN 排名第 16,484,有 588 个星标。

同类别比较

Murgio/Food-Recipe-CNN 排名第 16,484,此处有 8 个同类条目;the-super-toys/glimpse-android 排名第 16,481。

同类别比较
名称排名指标
ikostrikov/pytorch-flows16,470
语言:
Python
星标数:
589
分叉数:
75
简介:
PyTorch implementations of algorithms for density estimation
lucidrains/pi-zero-pytorch16,474
语言:
Python
星标数:
589
分叉数:
30
简介:
Implementation of π₀, the robotic foundation model architecture proposed by Physical Intelligence
stepfun-ai/SteptronOss16,480
语言:
Python
星标数:
589
分叉数:
46
简介:
A lightweight, AI-native training framework for large language models. Designed for fast iteration, reproducible experiments, and modular configuration across SFT, RLVR, and evaluation workflows.
the-super-toys/glimpse-android16,481
语言:
Kotlin
星标数:
589
分叉数:
30
简介:
A content-aware cropping library for Android
cuiziteng/Illumination-Adaptive-Transformer16,488
语言:
Python
星标数:
588
分叉数:
57
简介:
🌕 [BMVC 2022] You Only Need 90K Parameters to Adapt Light: A Light Weight Transformer for Image Enhancement and Exposure Correction. SOTA for low light enhancement, 0.004 seconds try this for pre-processing.
eecn/Hyperspectral-Classification16,489
语言:
Python
星标数:
588
分叉数:
161
简介:
Hyperspectral-Classification Pytorch
facebookresearch/fair_self_supervision_benchmark16,490
语言:
Python
星标数:
588
分叉数:
57
简介:
Scaling and Benchmarking Self-Supervised Visual Representation Learning
ironjr/semantic-draw16,492
语言:
Jupyter Notebook
星标数:
588
分叉数:
51
简介:
Official code for the CVPR 2025 paper "SemanticDraw: Towards Real-Time Interactive Content Creation from Image Diffusion Models."
关键参数与规格
关键参数与规格
参数值
语言Jupyter Notebook
类别Model Development
子类别Domain-specific training
关键词Computer vision
星标数588
分叉数130
贡献者1
创建日期2018-01-04
更新日期2026-10-07
1 天星标数0
7 天星标数0
排名16,484
上次排名16,272
排名变化-212
7 天星标排名15,555
上次 7 天星标排名15,564
7 天星标排名变化9
总星标排名17,032
上次总星标排名17,010
总星标排名变化-22
国家Switzerland
README 摘录

Visit this tutorial on Medium for further information! For example usage visit this Jupyter Notebook: Core Algorithm Maturaarbeit 2018: This work makes usage of deep convolutional neural networks with Keras to classify images into 230 food categories and to output a matching recipe. The dataset contains >400'000 food images and >300'000 recipes from chefkoch. Hardly any other area affects human well-being to a similar extent as nutrition. Every day countless of food pictures are published by users

on social networks; from the first home-made cake to the top Michelin dish, the joy of the world is shared with you in case a dish is successful. It is a fact that no matter how different you may be from each other, good food is appreciated by everyone. Advances in the classification or object recognition of individual cooking ingredients are sparse. The problem is that there are almost no public edited records available. Process The code (Jupyter notebooks

) is provided with numerous comments in German. The process looks like this: 1│── **Data preparation** │ └── Clearing data │ └── Data augmentation 2│── **Data analysis and Visualization, Split data (Train, Valid, Test)** 3│── **First attempts with simple ML models** │ └── Nearest Neighbor classifier (kNN) │ └── k-Means Clustering │ └── Support Vector Machine 4│── **Transfer Learning: Training pre-trained CNN (Convolutional Neural Network)** │ └── AlexNet, VGG, ResNet, GoogLeNet 5│── **Training your own CNN** │ └── Optimization 6│── **Visualize results** 7└── **Create a web application (DeepChef)** (work in progress) Solution The

exact solution is the following: 1. For every recipe **W** it has **K** number of pictures. For each of the images feature vectors are extracted from a pre-trained Convolution Neural Network trained on 1000 categories in the ILSVRC 2014 image recognition competition with millions of images. The feature vectors form an internal representation of the image in the last fully connected layer before the 1000-category Softmax Layer which was removed beforehand. These feature vectors are then dimensionally reduced

by PCA (Principal Component Analysis) from an **N x 4096** matrix to an **N x V** matrix, where **V The result is the product DeepChef. The web application (coming soon) expects a meal picture as input. As a result, you get the associated recipes.

常见问题

记录了多少星标和分叉?

Murgio/Food-Recipe-CNN 有 588 个星标和 130 个分叉。

仓库排名是多少?

Murgio/Food-Recipe-CNN 排名第 16,484。

记录的语言和类别是什么?

Murgio/Food-Recipe-CNN 有 588 个星标,语言为 Jupyter Notebook,类别为 Model Development。

哪个仓库排名最接近?

Murgio/Food-Recipe-CNN 与 the-super-toys/glimpse-android 比较,后者排名第 16,481,有 589 个星标。

README


Deep Learning food image recognition system for cooking recipe retrieval

Demo: DeepChef

Overview

Update: The Blog Article is now out. Visit this tutorial on Medium for further information!

For example usage visit this Jupyter Notebook: Core Algorithm

Maturaarbeit 2018: This work makes usage of deep convolutional neural networks with Keras to classify images into 230 food categories and to output a matching recipe. The dataset contains >400'000 food images and >300'000 recipes from chefkoch.de.

Hardly any other area affects human well-being to a similar extent as nutrition. Every day countless of food pictures are published by users on social networks; from the first home-made cake to the top Michelin dish, the joy of the world is shared with you in case a dish is successful. It is a fact that no matter how different you may be from each other, good food is appreciated by everyone. Advances in the classification or object recognition of individual cooking ingredients are sparse. The problem is that there are almost no public edited records available.

Process

The code (Jupyter notebooks) is provided with numerous comments in German. The process looks like this:

1│── Data preparation
│ └── Clearing data
│ └── Data augmentation

2│── Data analysis and Visualization, Split data (Train, Valid, Test)

3│── First attempts with simple ML models
│ └── Nearest Neighbor classifier (kNN)
│ └── k-Means Clustering
│ └── Support Vector Machine

4│── Transfer Learning: Training pre-trained CNN (Convolutional Neural Network)
│ └── AlexNet, VGG, ResNet, GoogLeNet

5│── Training your own CNN
│ └── Optimization

6│── Visualize results

7└── Create a web application (DeepChef) (work in progress)

Solution

The exact solution is the following:

  1. For every recipe W it has K number of pictures. For each of the images feature vectors are extracted from a pre-trained Convolution Neural Network trained on 1000 categories in the ILSVRC 2014 image recognition competition with millions of images. The feature vectors form an internal representation of the image in the last fully connected layer before the 1000-category Softmax Layer which was removed beforehand. These feature vectors are then dimensionally reduced by PCA (Principal Component Analysis) from an N x 4096 matrix to an N x V matrix, where V < 4096. As a result, one chooses the top 5 images with the smallest Euclidean distance to the input image (Approximate nearest neighbor), i.e. the top 5 optical, just from the picture information, similar pictures to the Input image.

  2. Furthermore, a CNN is trained with C number of categories with pictures of W recipes. C has been determined dynamically using topic modeling and semantic analysis of recipe names. As a result one gets for each category a probability to which the input image could belong.

  3. The top 5 categories of the input image of the CNN (2.) are compared with the categories of the top 5 optically similar images (1.)

Abstract

This work deals with the problem of automated recognition of a photographed cooking dish and the subsequent output of the appropriate recipe. The distinction between the difficulty of the chosen problem and previous supervised classification problems is that there are large overlaps in food dishes, as dishes of different categories may look very similar only in terms of image information. The task is subdivided into smaller areas according to the motto divide and conquer: According to the current state, the largest German-language dataset of more than 300'000 recipes will be presented, with a newly developed method, according to the author's knowledge, presented by the combination of object recognition or cooking court recognition using Convolutional Neural Networks (short CNN) and the search of the nearest neighbor of the input image (Next-Neighbor Classification) in a record of over 400,000 images. This combination helps to find the correct recipe more likely, as the top-5 categories of the CNN are compared to the next-neighbor category.

DeepChef

The result is the product DeepChef. The web application (coming soon) expects a meal picture as input. As a result, you get the associated recipes.

排名相邻
同类项目