Inspiration

As a vegetarian, I have often struggled to determine whether restaurant meals contain ingredients that conflict with my dietary restrictions. After seeing similar concerns experienced by a friend regarding potential peanut allergens, I realized much more difficult this uncertainty can be for people with food allergies.

Restaurant menus often provide incomplete ingredient information, and finding reliable answers can be time-consuming. I created MenuShield to help bridge this information gap and make dining more accessible and informed.

The goal of the application is to know what to ask before you eat.

What it does

MenuShield is an AI-powered web application that helps individuals with food allergies and dietary restrictions make more informed dining decisions.

The main features include:

  1. Personalized dietary profiles - Users can specify allergies, dietary restrictions, and optional taste preferences.
  2. Restaurant discovery - Users can explore nearby restaurants and analyze menu items based on their individual dietary profiles.
  3. AI-powered menu scanning - Users can upload images of physical menus, extract text using optical character recognition(OCR), and analyze potential ingredient conflicts.
  4. School menu analysis - Students and families can review school meals based on their dietary needs.
  5. Ask the Chef - Users can communicate dietary questions to participating restaurants, helping address uncertainty through direct communication.
  6. Restaurant dashboard - Restaurants can manage menu information, provide ingredient details, and respond to customer questions.

Rather than simply labeling food as safe or unsafe, MenuShield uses three assessment categories, Conflict, Ask First, and No Conflict Found.

How we built it

I developed MenuShield as a full-stack web application using Python, Flask, JavaScript, HTML, CSS, and PostgreSQL through Supabase. The application is deployed through Render and is accessible through desktop and mobile browsers.

I integrated several technologies to support the functionality of the application:

  1. Claude through OpenRouter for AI-powered menu analysis and classification.
  2. AWS Textract and Tesseract for extracting text from menu images.
  3. Google Places and other menu-data services for restaurant discovery and menu information.
  4. Supabase for database management, authentication, and access controls.
  5. Python and Pandas for processing, organizing, and cleaning menu data.

I also used some AI development tools to help completely implement the project with testing. I wrote the code, designed the application/project, and deployed the project myself.

Challenges we ran into

One of the biggest challenges was dealing with incomplete and inconsistent menu information. AI cannot reliably determine every ingredient in a meal based solely on its name or descriptions.

To address this, I designed MenuShield to communicate uncertainty rather than present AI-generated assessments as confirmed facts.

Other technical challenges included integrating multiple external APIs, processing menu images, managing database permissions, handling inconsistent restaurant data, and maintaining reliable cloud deployment.

Building these interconnected features has taught me the importance of error handling, data validation, and proper/responsible AI integration.

Accomplishments that we're proud of

  1. Developing MenuShield independently as a high school student.
  2. Building a functional, deployed full-stack application rather than a conceptual prototype.
  3. Combining AI analysis, image recognition, restaurant discovery, school menus, and direct restaurant communication into a single platform.
  4. Creating a personalized dietary assessment system that explicitly accounts for uncertainty.
  5. Developing automated tests to evaluate application functionality and prevent regressions.

What we learned

Through MenuShield, I gained practical experience in full stack development, API integration, database management, artificial intelligence, software testing, and cloud deployment.

Most importantly, I learned that building an effective AI application requires more than generating predictions. It requires understanding the limitation of the available information, communicating uncertainty, and designing systems that are made for the people who will actually use them.

This project has also motivated me to continue study machine learning, linear algebra, and calculus to develop a deeper mathematical understanding of artificial intelligence.

What's next for MenuShield

I hope to continue developing MenuShield by:

  1. Expanding restaurant and school menu coverage.
  2. Improving the accuracy and consistency of AI-generated assessments.
  3. Increasing restaurant participation and access to confirmed ingredient information.
  4. Conducting more systematic evaluations of AI classification and uncertainty detection.
  5. Improving accessibility, performance, and the overall user experience.

My long term goal is to make dietary information more accessible while encouraging responsible communication between individuals, restaurants, and schools.

Built With

Share this project:

Updates

Submission history