Abstract

The problem of food waste is experienced by many countries, including Indonesia. In the previous Comstock model, estimating food scraps required the expertise of the estimator, but this method has drawbacks because of subjective perspective of even skilled observers. Another weakness occurred when the observers were exhausted, which in turn negatively affected the measurement of leftover estimation. Therefore, in this paper, we propose an approach for automatic weight prediction using image processing in order to minimize the error forecasting caused by humans. Improved lighting component in image segmentation is also utilized. We apply this framework in the tray box images and estimate each compartment. Two types of tray box backgrounds are tested: gray and black backgrounds. The first part of the proposed method takes a lighting component from each color channel of LAB, HSV, YcbCr, YUV, and LUV. Each of those color channels are applied in contrast limited adaptive histogram equalization to adjust the contrast of each image. After that, the Otsu segmentation is applied, and some formulas to calculate leftover automatically are also presented. The result shows remarkable results when applied in the black background of the tray box with root mean square error around 6.67 using an L lighting component of LAB and Y lighting color component as well YcbCr and YUV. The proposed method is good for leftover forecasting since the estimation is not significantly different from one done by human observers.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.