Eczema, also known as dermatitis, is a chronic skin condition that causes recurring episodes of dry and itchy skin. It can be managed through medication and by avoiding triggers like stress and certain foods. To help patients avoid food-related triggers, researchers conducted a study to detect allergenic food compositions in packaged products using optical character recognition (OCR) techniques, specifically open computer vision (OpenCV) and Tesseract. The study involved analyzing 120 images of food labels. The process included several steps: preprocessing the images by converting them to a text-friendly format (gray scaling, denoising, and thresholding), using Tesseract for text detection, followed by case folding and tokenization. The results showed that the system achieved an average text detection accuracy of 61.88% and an average allergen detection accuracy of 83.06%. The highest accuracy for text detection was 78.52%, and the highest accuracy for allergen detection was 100%. These findings suggest that OCR techniques can be a useful tool for helping eczema patients manage their diet and minimize flare-ups.
Copyrights © 2026