Application of Machine Learning in Lifestyle: Weight-In Image Classification using Convolutional Neural Networks

Nowadays, people are increasingly concerned for their health as being healthy is regarded as a profitable investment. Obesity is one of the most common health problems that leads to multiple diseases. We work with the team that developed a mobile application to encourage users to change their eating and activity behaviors to improve their health based on a virtual competition platform. Participants are required to upload a weight-in photo to verify their weight before the challenge. Manually verifying these images can be time-consuming and error-prone due to the large number of images in each competition. In this study, we proposed an image classification approach to help screen incorrect images of the weight-in photo for the virtual competition. The image augmentation techniques were applied to the training images before being input into the classification model. Since the goal is to deploy the model in a mobile application, the suitable model must be small and efficient enough for use in a limited resources environment. Therefore, VGGNet-16 and MobileNet-V2 were selected as the classification models. The experimental results show that the model could learn from the preprocessed images and obtain satisfactory classification results from pre-trained VGGNet-16 with the highest accuracy and F1-score of 95.00% and 95.23%, respectively. MobileNet-V2 inference time was approximately 10 times faster but the performance was lower with the highest accuracy and F1-score of 93.00% and 93.32%, respectively.

[1]  C. Sitaula,et al.  Fruit classification using attention-based MobileNetV2 for industrial applications , 2022, PloS one.

[2]  Benkessirat Amina,et al.  Gastrointestinal image classification based on VGG16 and transfer learning , 2021, 2021 International Conference on Information Systems and Advanced Technologies (ICISAT).

[3]  D. Meedeniya,et al.  MobileNetV2 Based Chest X-Rays Classification , 2021, 2021 International Conference on Decision Aid Sciences and Application (DASA).

[4]  Hongjun Ni,et al.  Classification of Steel Strip Surface Defects Based on Optimized ResNet18 , 2021, 2021 IEEE International Conference on Agents (ICA).

[5]  Ko-Wei Huang,et al.  An Improved VGG16 Model for Pneumonia Image Classification , 2021, Applied Sciences.

[6]  A. K. Ben Salem,et al.  Optimization of CNN model for image classification , 2021, 2021 IEEE International Conference on Design & Test of Integrated Micro & Nano-Systems (DTS).

[7]  Chengjie Zhou,et al.  MobileNetV2 Model for Image Classification , 2020, 2020 2nd International Conference on Information Technology and Computer Application (ITCA).

[8]  Ipseeta Nanda,et al.  Image Classification using SVM and CNN , 2020, 2020 International Conference on Computer Science, Engineering and Applications (ICCSEA).

[9]  K A Schmidtke,et al.  Tracking physical activity using smart phone apps: assessing the ability of a current app and systematically collecting patient recommendations for future development , 2020, BMC Medical Informatics Decis. Mak..

[10]  Jie Cao,et al.  Small-Sample Image Classification Method of Combining Prototype and Margin Learning , 2019, 2019 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC).

[11]  Chunyan Miao,et al.  Diabetic Retinopathy Classification Using an Efficient Convolutional Neural Network , 2019, 2019 IEEE International Conference on Agents (ICA).

[12]  J. E. Lee,et al.  Development of a Smartphone Application for Dietary Self-Monitoring , 2019, Front. Nutr..

[13]  Xue Ying,et al.  An Overview of Overfitting and its Solutions , 2019, Journal of Physics: Conference Series.

[14]  Lianru Gao,et al.  CNN-based Large Scale Landsat Image Classification , 2018, 2018 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC).

[15]  Mark Sandler,et al.  MobileNetV2: Inverted Residuals and Linear Bottlenecks , 2018, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[16]  Kelly Grindrod,et al.  Experiences and Perceptions of Adults Accessing Publicly Available Nutrition Behavior-Change Mobile Apps for Weight Management. , 2017, Journal of the Academy of Nutrition and Dietetics.

[17]  Jia-Ching Wang,et al.  Automatic vehicle classification using center strengthened convolutional neural network , 2017, 2017 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC).

[18]  Ito Wasito,et al.  Convolutional Neural Network (CNN) for gland images classification , 2017, 2017 11th International Conference on Information & Communication Technology and System (ICTS).

[19]  Bo Chen,et al.  MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications , 2017, ArXiv.

[20]  Jimmy Ba,et al.  Adam: A Method for Stochastic Optimization , 2014, ICLR.

[21]  Andrew Zisserman,et al.  Very Deep Convolutional Networks for Large-Scale Image Recognition , 2014, ICLR.

[22]  Siew Sun Wong,et al.  Smart applications to track and record physical activity: implications for obesity treatment , 2014 .