Multiple Food or Non-Food Detection in Single Tray Box Image using Fraction of Pixel Segmentation for Developing Smart Nutrition Box Prototype
Yuita Arum Sari1, Jaya Mahar Maligan2, Sigit Adinugroho3, Yusuf Gladiensyah Bihanda4

1Yuita Arum Sari, Department of Computer Vision Research Group, Faculty of Computer Science, University of Brawijaya, Indonesia. 

2Jaya Mahar Maligan, Food Nutrition Program, Faculty of Agricultural Technology, University of Brawijaya, Indonesia. 

3Sigit Adinugroho, Department of Computer Vision Research Group, Faculty of Computer Science, University of Brawijaya, Indonesia.

4Yusuf Gladiensyah Bihanda, Informatics Engineering Program, Faculty of Computer Science, University of Brawijaya, Indonesia. 

Manuscript received on 09 January 2020 | Revised Manuscript received on 05 February 2020 | Manuscript Published on 20 February 2020 | PP: 132-136 | Volume-9 Issue-3S January 2020 | Retrieval Number: C10300193S20/2020©BEIESP | DOI: 10.35940/ijitee.C1030.0193S20

Open Access | Editorial and Publishing Policies | Cite | Zenodo | Indexing and Abstracting
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open-access article under the CC-BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: Smart Nutrition Box is a hardware prototype to predict food leftover measurement as well as the nutrition of the leftover. In the previous approach, there was a need of trained observer to conduct the analysis. Human observer may produce subjective judgement, so that algorithm which is embedded in a prototype is proposed to get rid of the bias. Black background of tray box is used, and two menus are served in this paper. The problem on raw dataset of images is reflection and it affects the result of segmentation, since it is considered to determine the leftover measurement precisely. In this paper, we focus on how to classify image of food and non-food image in each compartment of tray box by using pixel segmentation before going to further stage of prediction. Automatic cropping is applied by means of rectangle contour detection for each compartment. Combination of L of HSL and V color channel of HSV color spaces are utilized to remove glare in each compartment. The ratio of segmented pixel is a fraction of detected object and the area of compartment. There are 10 out of 12 of tray box images containing multiple food that are correctly classified as food and non-food. The accuracy reaches 95.83% in all compartments using luminosity (L) 50% of lower upper white masking and 100% of upper white masking. It is proved that fraction pixel segmentation is sufficient to be embedded as one of features in Smart Nutrition Box prototype.

Keywords: Food Detection, Food or Non-Food Classification, Image Segmentation, Contour Detection.
Scope of the Article: Image Security