Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Background
------
Obesity is a medical condition in which excess body fat has accumulated to the extent that it may have a negative effect on health.  Obesity treatment requires the patients to eat healthy food and decrease the amount of daily calorie intake. For those patients, it is helpful that calories can be estimated from photos.<br><br>Many methods based on computer vision have been created to estimate calories. <br><br>
This project is used to estimate calories.To estimate calories, it requires the userto take a top view and a side view of the food before eatingwith his/her smart phone. Each images used to estimate mustinclude One Yuan coin. For the top view, we use the deeplearning algorithms to recognize the types of food and applyimage segmentation to identify the food’s contour in thephotos. So as the side view. then, the volumes of each foodis calculated based on the calibration objects in the images.In the end, the calorie of each food is obtained by searchingdensity table and nutrition table. In order to get better results, we choose to use Faster Region-based Convolutional NeuralNetworks (Faster R-CNN) to detect objects and GrabCut as segmentation algorithms.
This project is used to estimate calories. To estimate calories, it requires the user to take a top view and a side view of the food before eating with his/her smart phone. Each images used to estimate must include One Yuan coin. For the top view, we use the deep learning algorithms to recognize the types of food and apply image segmentation to identify the food’s contour in the photos. So as the side view. then, the volumes of each food is calculated based on the calibration objects in the images. In the end, the calorie of each food is obtained by searching density table and nutrition table. In order to get better results, we choose to use Faster Region-based Convolutional NeuralNetworks (Faster R-CNN) to detect objects and GrabCut as segmentation algorithms.
## Food Calorie Estimation Method
-----
<div align="center"><img src="https://github.com/Liang-yc/images4readme/blob/master/flowchart.jpg"></div>
Expand All @@ -11,14 +11,14 @@ The flowchart of our food calorie estimation method is shown in the figure. Our
## Requirement:software
-----

1.Requirements for Fater R-CNN in Matlab;<br>
1.Requirements for Faster R-CNN in Matlab;<br>
2.Opencv;<br>
3.CUDA.<br>

## Requirement:hardware
-----

1.Requirements for Fater R-CNN in Matlab;<br>
1.Requirements for Faster R-CNN in Matlab;<br>
2.GPU with more than 2GB memeory(If you only want to test, a GPU with only 2GB memory is acceptable).<br>

## File contents
Expand Down