PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
December 8, 2025PeerJ Computer Science4 citationsOpen Access

Real-time food allergen detection using OCR-enhanced machine learning techniques

View Full Paper
EKErol Kına

Key Points

  • The system achieved 90% accuracy in real-time allergen detection, enhancing food safety measures.
  • Logistic Regression model was highlighted for its efficiency, running at 13 milliseconds in offline testing.
  • This work focuses on the integration of Optical Character Recognition and machine learning for improved allergen detection.
  • The capability to analyze real-time product images can significantly assist in preventing allergic reactions.

Abstract

Food allergies are a significant public health concern, emphasizing the need for precise and comprehensive allergen identification in food products. Despite the critical importance of allergen detection, existing allergen food datasets and detection approaches exhibit several limitations. These include small dataset sizes and low accuracy, particularly in real-time scenarios. To address these challenges, this study proposes a novel machine learning-based system evaluated in both real-time and offline environments. The proposed system is designed to analyze ingredient lists extracted from scanned product labels. By leveraging Optical Character Recognition (OCR) technology, the system efficiently retrieves ingredient information in real-time, enabling accurate identification of allergenic components. Once the ingredient information is extracted using OCR, feature extraction techniques such as Bag of Words (BoW), Term Frequency-Inverse Document Frequency (TF-IDF), and Global Vectors for Word Representation (GloVe) are applied. These features play a critical role in training various machine learning and deep learning models. Among the tested models, Logistic Regression (LR) outperformed others, achieving an impressive accuracy of 0.99 with a low computational cost of 13 milliseconds in offline testing. In real-time testing, where product images are captured and processed through the pipeline, the system demonstrated robust performance with a 0.90 accuracy score.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Erol Kına (2025) studied this question.

synapsesocial.com/papers/69401f002d562116f28f9cddhttps://doi.org/10.7717/peerj-cs.3338
Ask AI
Helpful
Bookmark
Share
View Full Paper