International Journal on Science and Technology

E-ISSN: 2229-7677     Impact Factor: 9.88

A Widely Indexed Open Access Peer Reviewed Multidisciplinary Bi-monthly Scholarly International Journal

Call for Paper Volume 17 Issue 2 April-June 2026 Submit your research before last 3 days of June to publish your research paper in the issue of April-June.

Leveraging Large Language Models (LLMs) and OCR for Real-Time Nutritional Risk Assessment in Specialized Diets

Author(s) Ms. Apoorva Pandey, Prof. Anusha Marada
Country India
Abstract When it comes to managing long-term health issue like diabetes or hypertension, people always check what are they consuming, and food labels make it worse. During the course of this research, it became clear that how confusing packaged food labels actually are. Tiny fonts. Reflective plastic. Ingredient names that are rarely recognizable to the customer. It becomes very difficult for patients as they are already managing their complex medical schedules, understanding packaged food label in a market is not feasible and is unreasonable. This gap is addressed by the present study. Existing apps fall short. Most rely on static food databases that miss the regional Indian products entirely, or they demand manual entry that leads to its own individual errors. They also treat every user the same. Which is the real problem when someone has both diabetes and hypertension simultaneously, because the risks of certain ingredients compound in ways no simple calorie tracker accounts for. The proposed system takes a different approach. EasyOCR extracts text directly from food packaging images, which is then passed to Gemini 1.5 Pro for contextual medical reasoning. Rather than simply listing ingredients, the model interprets them against the user’s individual health profile. Testing was done on eight packaged food products taken from the Indian consumer market – including instant noodles, savoury snacks, and processed desserts – reflecting real supermarket conditions rather than controlled laboratory samples. A noteworthy observation was recorded during testing, the model demonstrated the ability to self-correct character level OCR errors prior to analysis. For example, mapping the jumbled output “Soclum” to “Sodium” without explicit instruction. This proved the integrity of medical reasoning. The result showed that the system successfully identifies compounding risks that the other tools missed entirely– like how sodium and refined carbohydrates together create a far more serious vascular threat for someone with both hypertension and diabetes than either ingredient does alone. This research demonstrates that the integration of LLMs into food safety systems can significantly enhance dietary protection and personalized healthcare systems.
Keywords Optical Character Recognition (OCR), Large Language Models (LLMs), Gemini 1.5 Pro, Specialized Diets, Comorbidity Reasoning
Field Computer > Artificial Intelligence / Simulation / Virtual Reality
Published In Volume 17, Issue 2, April-June 2026
Published On 2026-04-08

Share this