Abstract
In the world, a huge amount of food is produced every day for the consumption of all living organisms. However, around one-third of the food produced is wasted every day. One of the reasons for the wastage of food is the lack of knowledge among the people regarding the state of the food if it is fresh or rotten. Here, we aimed to find out a way to reduce the wastage of food caused due to the mentioned reason. We developed a tool FreshYolo which uses powerful machine learning algorithms like YOLOv4 to build a model which tells us if the vegetable is fresh or rotten. This model was also compared to another model which was built using YOLOv3 and the results showed that the model built on YOLOv4 is better than the one built on YOLOv3 as the mAp of YOLOv4(0.7863) was better than the mAp of YOLOv3(0.7433). In conclusion, our comparison between YOLOv4 and YOLOv3 shows that YOLOv4 is more suitable for our tool FreshYolo which will help the people to know if the vegetable is fresh or rotten; thus, we can reduce the amount of food being wasted across the globe.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Food and Agriculture Organisation of the United Nations. http://www.fao.org/food-loss-and-food-waste/flw-data)
Bochkovskiy, A., Wang, C.-Y., Liao, H.-Y.: YOLOv4: optimal speed and accuracy of object detection (2020)
Redmon, J., Farhadi, A.: YOLOv3: an incremental improvement (2018)
Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: You only look once: unified, real-time object detection. In: IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 779–788, Las Vegas (2016)
Fruits & Vegetables image. https://www.kaggle.com/jorgebailon/fruits-vegetables
Label Image. https://github.com/tzutalin/labelImg/actions
Sripad, J., Sandeep, K.P., Sathya A.R.: Optimal deep learning model to identify the development of pomegranate fruit in farms. Int. J. Innov. Technol. Explor. Eng. 9 (2020)
Panda S.K., Dwivedi M.: Minimizing food wastage using machine learning: a novel approach. In: Satapathy, S., Bhateja, V., Mohanty, J., Udgata, S. (eds) Smart Intelligent Computing and Applications. Smart Innovation, Systems and Technologies. vol. 159. Springer, Singapore (2020)
Sakai, Y, Oda, M., Ikeda, T., Barolli, L.: A vegetable category recognition system using deep neural network. In: 10th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing (IMIS, pp. 189–192, Fukuoka (2016)
Ren, S., He, K., Girshick, R., Sun, J.: Faster R-CNN: towards real-time object detection with region proposal networks. IEEE Trans. Pattern Anal. Mach. Intell. 39, 1137–1149 (2017)
Wenkang, C., Shenglian, L., Binghao, L., Guo, L., Tingting, Q.: Detecting citrus in orchard environment by using improved YOLOv4. Scientific Programming 8859237 (2020)
Liu, S., Deng, W.: Very deep convolutional neural network based image classification using small training sample size. In: 3rd IAPR Asian Conference on Pattern Recognition (ACPR), pp. 730–734. Kuala Lumpur (2015)
He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778. Las Vegas (2016)
X. Du et al.: SpineNet: Learning Scale-Permuted Backbone for Recognition and Localization. 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 11589–11598,Seattle, WA( 2020)
Tan, M., Le, Q.: EfficientNet: rethinking model scaling for convolutional neural networks
Xie, S., Girshick, R., Dollár, P., Tu, Z., He, K.: Aggregated residual transformations for deep neural networks. In: IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5987–5995. Honolulu, HI (2017)
Ma, L., Ren, L., Yu-Feng.: Detection of collapsed buildings in post-earthquake remote sensing images based on the improved YOLOv3. Remote Sensing. 12 (2019)
Redmon, J., Farhadi, A.: YOLO9000: better, faster, stronger. In: IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6517–6525. Honolulu, HI (2017)
Bhalerao V., Panda S.K., Jena A.K.: Optimization of loss function on human faces using generative adversarial networks. In: Bandyopadhyay, M., Rout, M., Chandra Satapathy, S. (eds) Machine Learning Approaches for Urban Computing. Studies in Computational Intelligence, vol 968. Springer, Singapore (2021). https://doi.org/10.1007/978-981-16-0935-0_9
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Sanghi, P., Panda, S.K., Pati, C., Gantayat, P.K. (2022). Learning Deep Features and Classification for Fresh or off Vegetables to Prevent Food Wastage Using Machine Learning Algorithms. In: Satapathy, S.C., Peer, P., Tang, J., Bhateja, V., Ghosh, A. (eds) Intelligent Data Engineering and Analytics. Smart Innovation, Systems and Technologies, vol 266. Springer, Singapore. https://doi.org/10.1007/978-981-16-6624-7_44
Download citation
DOI: https://doi.org/10.1007/978-981-16-6624-7_44
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-16-6623-0
Online ISBN: 978-981-16-6624-7
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)