The invention discloses a food
calorie calculation method based on
binocular vision, and relates to the technical field of
computer vision and
nutrition analysis. The method comprises the following steps: firstly, acquiring a food image by using a calibrated binocular camera, and preprocessing the image; and then a semi-global block matching
algorithm is combined with weighted least square filtering to calculate and optimize a disparity map, and an edge-disparity
collaborative network is introduced to improve the matching precision of the weak texture food. Then, segmenting a food area through a U-Net network, and outputting an accurate contour after edge optimization; and identifying the specific category of the food by using a lightweight classification network. And then, according to the food form, adaptively selecting an equivalent cylinder method or a
point cloud reconstruction method to carry out three-dimensional
volume reconstruction, and converting the volume into
mass in combination with a density
database. And finally, querying a
calorie database containing cooking mode information to obtain an accurate
calorie value. The method is obviously superior to the prior art, and an efficient and reliable solution is provided for family
diet management and health monitoring.