Consumer Usability Test of Mobile Food Safety Inquiry Platform Based on Image Recognition
<p>The architecture of image recognition.</p> "> Figure 2
<p>Query process via mobile app.</p> "> Figure 3
<p>Query result for unsafe food.</p> "> Figure 4
<p>Various shooting methods: (<b>a</b>) directions of light; (<b>b</b>) types of lamps; (<b>c</b>) angles of shooting; (<b>d</b>) subject locations.</p> "> Figure 5
<p>Examples of taken photos.</p> "> Figure 6
<p>Compound scaling up depth and width for concatenation-based model [<a href="#B23-sustainability-16-09538" class="html-bibr">23</a>].</p> "> Figure 7
<p>Real-time food classification processing system using YOLOv7.</p> "> Figure 8
<p>FastAPI-based web server interface structure.</p> "> Figure 9
<p>IoU definition.</p> "> Figure 10
<p>Data split for training, validation, and testing.</p> "> Figure 11
<p>Results of training.</p> "> Figure 11 Cont.
<p>Results of training.</p> "> Figure 12
<p>Random image test.</p> "> Figure 13
<p>Similar image test: (<b>a</b>) vanilla wafers vs. cacao wafers; (<b>b</b>) green olives vs. black olives.</p> "> Figure 14
<p>Conducting usability tests: (<b>a</b>) samples of food products; (<b>b</b>) test via smartphone.</p> "> Figure 15
<p>Checking for recalls via the FDA web pages.</p> "> Figure 16
<p>SUS scores with different ages and academic levels. (<b>a</b>) comparison between different ages; (<b>b</b>) comparison between different academic levels.</p> "> Figure 17
<p>Comparison of recognition results: (<b>a</b>) success; (<b>b</b>) failure.</p> ">
Abstract
:1. Introduction
- (1)
- Fundamental information (e.g., name or ID of food, nutrition facts, etc.) on purchased products.
- (2)
- Safety information on whether the food is unsuitable or subject to recall.
- (3)
- The above information should be accurately checked in real time.
2. Image-Based Food Recognition System
2.1. System Architecture
2.2. Mobile App Architecture
2.3. Data Collection and Detection Alogirthm
3. Performance Evaluation
4. Consumer Usability Test
4.1. Test Participants
4.2. Test Methods
- Completion rate: The number of correctly identified food products was compared to the total number of attempted trials using two tools (i.e., Internet/QR codes, smartphone), which is expressed by Equation (4). There are two types of tasks, checking the food information (name, ingredients, etc.) and checking for recall. First, the “Check food information” task involved randomly selecting 50 out of 100 food products and searching the information via each tool (Internet/QR codes, proposed app). Since 71 people attempted 50 times, the total number of trials for each method was 1350. The second task, “Check for recall” also involved randomly selecting 50 out of 100 products and searching recall information via each tool. The total number of attempts for this task was 1350 for each tool, which is same as the first task.
- Task time: The total time required for a consumer to receive query results using three methods (Internet/QR codes, proposed app) was determined. This included system response time (e.g., app launch time, photo capture time, wireless communication delay, etc.) and user confirmation time. Although system response time was measured accurately by a system clock, user confirmation time included the time to read the displayed text information and determine whether the information was what the user wanted. This delay varied for each individual, but it was measured objectively using a stopwatch. This experiment was also conducted with two tasks, which is same as the completion rate. And the number of attempts for each task was also the same, at 1350.
4.3. Evaluation Results
5. Limitations and Discussions
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- U.S Food & Drug Administration, Recalls, Market Withdrawals, & Safety Alerts. Available online: https://www.fda.gov/safety/recalls-market-withdrawals-safety-alerts (accessed on 1 April 2024).
- The European Rapid Alert System for Food and Feed (RASFF). Available online: https://webgate.ec.europa.eu/rasff-window/screen/search (accessed on 1 April 2024).
- Korea Food & Drug Safety Administration. Available online: https://www.foodsafetykorea.go.kr/main.do (accessed on 1 April 2024).
- Rejeb, A.; Keogh, J.G.; Zailani, S.; Treiblmaier, H.; Rejeb, K. Blockchain technology in the food industry: A review of potentials, challenges and future research directions. Logistics 2020, 4, 27. [Google Scholar] [CrossRef]
- Yu, Z.; Jung, D.; Park, S.; Hu, Y.; Huang, K.; Rasco, B.A.; Wang, S.; Ronholm, J.; Lu, X.; Chen, J. Smart traceability for food safety. Crit. Rev. Food Sci. Nutr. 2020, 62, 905–916. [Google Scholar] [CrossRef] [PubMed]
- Kravenkit, S.; So-In, C. Blockchain-Based Traceability System for Product Recall. IEEE Access 2022, 10, 95132–95150. [Google Scholar] [CrossRef]
- Konstantinos, R.; Aggeliki, K.; Dimitris, F.; Thomas, F.; Leonidas, H.; Christina, B. Evaluating the Use of QR Codes on Food Products. Sustainability 2022, 14, 4437. [Google Scholar] [CrossRef]
- Duroc, Y. From Identification to Sensing: RFID Is One of the Key Technologies in the IoT Field. Sensors 2022, 22, 7523. [Google Scholar] [CrossRef]
- Vedat, C.; Busra, O.; Kerem, O. The Survey on Near Field Communication. Sensors 2015, 15, 13348–13405. [Google Scholar] [CrossRef]
- Tang, Q.; Lee, Y.; Jung, H. The Industrial Application of Artificial Intelligence-Based Optical Character Recognition in Modern Manufacturing Innovations. Sustainability 2024, 16, 2161. [Google Scholar] [CrossRef]
- Peng, H.; Yu, J.; Nie, Y. Efficient Neural Network for Text Recognition in Natural Scenes Based on End-to-End Multi-Scale Attention Mechanism. Electronics 2023, 12, 1395. [Google Scholar] [CrossRef]
- Ju, X.; Lo, F.P.W.; Qiu, J.; Shi, P.; Peng, J.; Lo, B. MenuAI: Restaurant Food Recommendation System via a Transformer-based Deep Learning Model. arXiv 2022, arXiv:2210.08266a. [Google Scholar]
- Keren, G.; Schuller, B. Convolutional RNN: An Enhanced Model for Extracting Features from Sequential Data. arXiv 2016, arXiv:1602.05875. [Google Scholar]
- Ahmet, S.; Sangchul, A. A generalized framework for recognition of expiration dates on product packages using fully convolutional networks. Expert Syst. Appl. 2022, 203, 117310. [Google Scholar]
- Jonathan, L.; Evan, S.; Trevor, D. Fully Convolutional Networks for Semantic Segmentation. arXiv 2014, arXiv:1411.4038. [Google Scholar]
- Baoguang, S.; Xiang, B.; Cong, Y. An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition. arXiv 2015, arXiv:1507.05717. [Google Scholar]
- Son, G.-J.; Kwak, D.-H.; Park, M.-K.; Kim, Y.-D.; Jung, H.-C. U-Net-Based Foreign Object Detection Method Using Effective Image Acquisition System: A Case of Almond and Green Onion Flake Food Process. Sustainability 2021, 13, 13834. [Google Scholar] [CrossRef]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional Networks for Biomedical Image Segmentation. In Proceedings of the Medical Image Computing and Computer-Assisted Intervention MICCAI, Munich, Germany, 5–9 October 2015. [Google Scholar]
- Shen, Y.; Zhou, H.; Li, J.; Jian, F.; Jayas, D.S. Detection of storedgrain insects using deep learning. Comput. Electron. Agricult. 2018, 145, 319–325. [Google Scholar] [CrossRef]
- Shaoqing, R.; Kaiming, H.; Ross, G.; Jian, S. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. arXiv 2015, arXiv:1506.01497. [Google Scholar]
- Aymen, Z.; Samer, A. Performance Modeling and Analysis of LTE/Wi-Fi Coexistence. Electronics 2022, 11, 1035. [Google Scholar] [CrossRef]
- Chienyao, W.; Alexey, B.; Hongyuan, L. YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. arXiv 2022, arXiv:2207.02696. [Google Scholar]
- Neelum, N.; Sellapan, P.; Abdul, Q.; Iftikhar, A. A Deep Learning Model Based on Concatenation Approach for the Diagnosis of Brain Tumor. IEEE Access 2020, 8, 55135–55144. [Google Scholar]
- Chen, J. Model Algorithm Research based on Python Fast API. Front. Sci. Eng. 2023, 3, 7–10. [Google Scholar] [CrossRef]
- Raniah, Z.; Humera, S. A study of the optimization algorithms in deep learning. In Proceedings of the 2019 Third International Conference on Inventive Systems and Control (ICISC), Coimbatore, India, 10–11 January 2019; IEEE: New York, NY, USA, 2019; pp. 536–539. [Google Scholar]
- Woo, S.; Debnath, S.; Hu, R.; Chen, X.; Liu, Z.; Kweon, I.S.; Xie, S. Convnext v2: Co-designing and scaling convnets with masked autoencoders. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada, 17–24 June 2023; pp. 16133–16142. [Google Scholar]
- Kalra, D.S.; Barkeshli, M. Why Warmup the Learning Rate? Underlying Mechanisms and Improvements. arXiv 2024, arXiv:2406.09405. [Google Scholar]
- Bangor, A.; Kortum, P.T.; Miller, J.T. An Empirical Evaluation of the System Usability Scale. Int. J. Hum. Comput. Interact. 2008, 24, 574–594. [Google Scholar] [CrossRef]
- Gail, S.; Anthony, A. Analyzing and Interpreting Data From Likert-Type Scales. J. Grad. Med. Educ. 2013, 5, 541–542. [Google Scholar]
- Ahmad, R.; Muhammad, H. Evaluation of a Chair-Mounted Passive Trunk Orthosis: A Pilot Study on Able-Bodied Subjects. Sensors 2021, 21, 8366. [Google Scholar] [CrossRef]
Brand Name | Country of Origin | Brand Name | Country of Origin |
---|---|---|---|
Yellow Tail Shiraz | Australia | Kuri Yoshiwara Youkan | Japan |
Kirkland Signature Dried Plums | USA | Tok Jelly Strawberry | China |
Sunview Organic Raisins | USA | Mini Mentos New Rainbow | Vietnam |
Chaokoh UHT Coconut Milk | Tai | Haribo Worms Sour | Turkey |
Aroy-D Coconut Milk | Tai | Trolli Sour Glowworms | Germany |
Crispconut Coconut Chips | Tai | Trolli Berries | Germany |
Hunt’s Tomato Paste | USA | Trolli Tarantula Glowworms | Germany |
Fitted Black Olive | Spain | Haribo Happy Grapes | Turkey |
Fitted Green Olive | Spain | Snickers Minis | USA |
Starbucks Caffe Verona | USA | M&M’s Fun Size | USA |
Starbucks Breakfast Blend | USA | Lotus Original Belgian Waffle with Chocolate | Belgium |
Nespresso Ispirazione Firenze Arpeggio | Swiss | Kinder Bueno | Italy |
Dukes Blend | Australia | Twix | Netherlands |
Pringles Original | Malaysia | Twix Minis | Germany |
Oatmeal Mini Bite | Vietnam | Stella Artois 5% | Germany |
Gemez Enaak Extra | Indonesia | Ferrero Rocher | Italy |
Purple Sweet Potato Chip | Vietnam | Heineken Original | Netherlands |
Pringles Potato Crisps Sour Cream and Onion | Malaysia | Kirkland Signature Protein Bar Variety Pack | USA |
Original Premium Saltine Crackers | Canada | Tsingtao Beer | China |
Sweetened Banana Chips | Philippines | Guinness Draught | Island |
Savi Chip | Bulgaria | San Miguel Pale Pilsen Beer | Hong Kong |
Lotus Biscoff | Belgium | Hoegaarden | Belgium |
Ricos Round Nacho Chips | USA | Hoegaarden Rose 3% | Belgium |
Potato Chip Sour Cream and Onion | Malaysia | Heineken Non-Alcoholic | Netherlands |
St Michel Palets | France | Mogu Mogu Peach Flavored Drink | Tai |
Pringles Potato Crisps Hot and Spicy | Malaysia | Power O2 Orange Lemon Flavor | Germany |
Kid-o Creamy Butter Cracker Sandwich | Tai | Mogu Mogu Yogurt Flavored Drink | Tai |
Shultz Pretzels Mini Twists | USA | Sponsor | Tai |
Kirkland Signature Ruby Red Grapefruit Cocktail Gery Cheese Crackers | USA | Kirkland Signature Organic Unsweetended Almond Non-Dairy Beverage Vanilla | USA |
Oishi Prawn Crackers Spicy Flavor | Philippines | Mogu Mogu Lychee Juice 25% | Tai |
Uncle Pop Stick Barley Snack | China | Gery Cheese Crackers | Indonesia |
Lago Vanilla Wafers | Italy | Tasco Young Coconut Juice with Pulp | Tai |
Lago Cacao Wafers | Italy | Mogu Mogu Pineapple | Tai |
Vanilla Wafer Roll | Indonesia | Mi Goreng Stir Fry Noodles | Indonesia |
Choco Wafer Roll | Indonesia | Hao Hao Instant Noodles | Vietnam |
Cheese Wafer Roll | Indonesia | Tonkotsu Ramen | Vietnam |
Goldbaren | Germany | Mi Lau Thai | Vietnam |
Mello Big Marshmallow | Philippines | Instant Noodles Shrimp Creamy Tom Yum Flavor | Tai |
Starmix | Germany | Nescafe Dolce Gusto Cold Brew | England |
I Alpha Candy C | China | Alfa Cafe Nutra Signature Blend | USA |
Fruity-bussi | Germany | Coffee G7-3in1 | Vietnam |
Gingerbon | Indonesia | Bios Life C Plus | USA |
Belgian Coffee Sweets | Belgium | Men‘s Energy Pack | USA |
Tok Jelly Peach | China | Healthpak | USA |
Tok Jelly Green Grape | China | Fitline Activize | Germany |
Happy Cola | Germany | Cal Mag D | USA |
Jelly Straws | Taiwan | Double X Refill | USA |
Fruittella Yogurt | China | Yeast B | USA |
Tootsie Pops Miniatures | USA | Nutrikids Protein (Berry) | USA |
Hitokuchi Neri Youkan | Japan | Alive! Once Daily | USA |
Parameter | Value | Description |
---|---|---|
Epoch | 300 | Although a large number of epochs helps the model to learn detailed patterns, too high of an epoch value can cause overfitting. In general, 300 epochs is considered as optimal, balancing learning and overfitting prevention [25,26]. Figure 11 also shows that performance becomes stable as epochs approach 300. |
Learning Rate | 0.01 ~0.2 | Training starts with a low learning rate (0.01) for stable initial learning and to prevent drastic changes in the model. As training progresses, the learning rate gradually increases (0.2) to accelerate convergence. This approach, known as “Learning Rate Scheduling” or “Learning Rate Warm-up” [27], prevents early instability and promotes faster convergence. |
Batch Size | 32 | A batch size of 32 is set to balance memory usage and training speed. Although small batch sizes reduce memory usage and allow the model to update weights more frequently, too small of a value can make the network unstable. In our repeated experiments with 2 RTX 4090 D6X 24GB GPUs, a batch size of 32 is optimal. |
Iteration | 2 | The value of iterations refers to the process where one batch is input into the model and a single weight update occurs. Since the batch size is set to 32 and the dataset is sufficiently large, we set the number of iterations low for fast learning. That is, we made the model learn faster while also learning the characteristics of the data appropriately. |
Image Size | 640 | The 640 × 640 resolution is recommended by YOLOv7, as it can include sufficient detail while maintaining computational efficiency. If a larger resolution is used, more details can be learned. However, the computational cost also increases. Thus, training with 640 × 640 images achieves an optimal balance of memory and computational costs for the proposed system. |
Momentum | 0.937 | Momentum accelerates the speed of gradient descent by reflecting the speed of the previous learning step while helping to converge steadily along the gradient. The optimal momentum simultaneously improves the learning speed and performance of the model. The set value of 0.937 is slightly higher than the commonly used 0.9, which provides an appropriate balance to reduce fluctuations during training and enables faster convergence. This means that information from previous learning steps has a strong influence on the weight update of the current feature. |
Precision | Recall | F1 Score | [email protected] | [email protected]:0.9 |
---|---|---|---|---|
99.23% | 100% | 99.46% | 99.62% | 78.59% |
Category | Question | Score * |
---|---|---|
Convenience | 1. I thought this system was convenient to use. | 1 2 3 4 5 |
2. I found this system took too much time to get response. | 1 2 3 4 5 | |
3. I thought this system was easy to use. | 1 2 3 4 5 | |
4. I think I would need assistance to be able to use this system. | 1 2 3 4 5 | |
Accuracy | 5. I found this system had good integrity. | 1 2 3 4 5 |
6. I found it was difficult to recover from failure in operations. | 1 2 3 4 5 | |
7. I found this system provided consistent contents. | 1 2 3 4 5 | |
8. I found there were too many errors in this system. | 1 2 3 4 5 | |
Usefulness | 9. I think most people would quickly learn how to use this system. | 1 2 3 4 5 |
10. I found this system provided insufficient contents. | 1 2 3 4 5 | |
11. I thought this system could be used without a manual. | 1 2 3 4 5 | |
12. I thought this system was unnecessary for daily life. | 1 2 3 4 5 | |
13. I thought this system was helpful for purchasing imported foods. | 1 2 3 4 5 | |
14. I thought this system was of no use to purchase safe foods. | 1 2 3 4 5 | |
15. I think I would like to use this system frequently. | 1 2 3 4 5 | |
16. I think I would discourage others from using this system. | 1 2 3 4 5 |
Task | Via Internet or QR Code | Via Proposed |
---|---|---|
Check food information (50 trials) | 78% | 97% |
Check for recalls (50 trials) | 68% | 96% |
Task | Via Internet or QR Code | Via Proposed |
---|---|---|
Check food information (50 trials) | 16.4 s | 5.1 s |
Check for recalls (50 trials) | 19.5 s | 4.2 s |
Category | Question | Scores (Frequency n = 71) | Avg | Dev | SUS Score(Norm) | ||||
---|---|---|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | |||||
Convenience | 1 | 0 | 4 | 7 | 30 | 30 | 4.2 | 0.8 | 83 |
2 | 0 | 15 | 24 | 16 | 30 | 3.4 | 1.1 | ||
3 | 0 | 2 | 3 | 24 | 42 | 4.5 | 0.7 | ||
4 | 0 | 0 | 7 | 18 | 46 | 4.5 | 0.7 | ||
Subtotal | 4.15 | 0.82 | |||||||
Accuracy | 5 | 3 | 8 | 18 | 24 | 18 | 3.6 | 1.1 | 77 |
6 | 1 | 4 | 24 | 23 | 19 | 3.8 | 1.0 | ||
7 | 4 | 2 | 12 | 28 | 25 | 4.0 | 1.1 | ||
8 | 1 | 5 | 13 | 25 | 27 | 4.0 | 1.0 | ||
Subtotal | 3.85 | 1.05 | |||||||
Usefulness | 9 | 0 | 8 | 14 | 15 | 24 | 3.9 | 1.0 | 86 |
10 | 0 | 0 | 5 | 19 | 47 | 4.6 | 0.6 | ||
11 | 0 | 0 | 4 | 20 | 47 | 4.6 | 0.6 | ||
12 | 0 | 2 | 9 | 30 | 30 | 4.2 | 0.8 | ||
13 | 0 | 2 | 8 | 23 | 38 | 4.4 | 0.8 | ||
14 | 0 | 3 | 5 | 26 | 37 | 4.4 | 0.8 | ||
15 | 0 | 4 | 10 | 27 | 30 | 4.2 | 0.9 | ||
16 | 0 | 3 | 10 | 26 | 32 | 4.2 | 0.8 | ||
Subtotal | 4.31 | 0.78 |
Metric | Number of Datasets | |||||||
---|---|---|---|---|---|---|---|---|
100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | |
Accuracy | 25% | 55% | 58% | 62% | 68% | 78% | 80% | 90% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Park, J.-W.; Cho, Y.-H.; Park, M.-K.; Kim, Y.-D. Consumer Usability Test of Mobile Food Safety Inquiry Platform Based on Image Recognition. Sustainability 2024, 16, 9538. https://doi.org/10.3390/su16219538
Park J-W, Cho Y-H, Park M-K, Kim Y-D. Consumer Usability Test of Mobile Food Safety Inquiry Platform Based on Image Recognition. Sustainability. 2024; 16(21):9538. https://doi.org/10.3390/su16219538
Chicago/Turabian StylePark, Jun-Woo, Young-Hee Cho, Mi-Kyung Park, and Young-Duk Kim. 2024. "Consumer Usability Test of Mobile Food Safety Inquiry Platform Based on Image Recognition" Sustainability 16, no. 21: 9538. https://doi.org/10.3390/su16219538
APA StylePark, J. -W., Cho, Y. -H., Park, M. -K., & Kim, Y. -D. (2024). Consumer Usability Test of Mobile Food Safety Inquiry Platform Based on Image Recognition. Sustainability, 16(21), 9538. https://doi.org/10.3390/su16219538