Team Status Report for 4/12/25

Risks & Management

  • Risk: Allergen info and ingredient lists are published to different MQTT topics at different times, which could cause missing context during processing.
  • Management: We cache the most recent allergen profile for each user/session so the grocery generation logic always has access to it regardless of message timing.

Design Changes & Justification:

  • Bought a magnetic clip-on attachment and magnets to attach to the device. This is to make the device stronger overall and more robust during the shopping experience

Progress:

  • Attached portable power supply to device
  • Finalizing dynamic frontend integration to reflect real product recommendations.

  • Improving fallback substitution mappings using external APIs and filtering logic.

  • Adding unique user_id tags to tie session-specific data (e.g., allergens to product input).

Team Status Report for 03/22/2025


Risks & Management:

NLP Integration Delay

  • Risk: The integration of the NLP-based allergen filtering is still in progress. While initial development has started, coordination is needed between team members to complete the logic and begin testing.
  • Management: Our team meeting is scheduled to align on integration tasks and finalize implementation. Progress is being tracked to ensure real-time testing can begin as soon as integration is complete.

Design Changes & Justification:

  • No design changes have been made

Progress:

    • Partially completed UI optimizations
    • Debugged and stabilized preference/allergen comparison logic in the product card UI.
    • Initial work on NLP-based filtering has started, focusing on extracting keywords from user inputs.

 

Team Status Report for 03/15/2025


Risks & Management:

  • NLP-based Allergy Detection Accuracy
    • Risk
      • The NLP-based allergy detection may fail to accurately flag allergens due to variations in ingredient names, formatting inconsistencies, or missing data in product ingredient lists.
    • Risk management
      • Implement keyword based filtering as a baseline before integrating AI-driven NLP
      • Cross-check allergens with multiple data sources (Spoonacular, Open Food Facts API)
      • Display AI-identified allergens and preferences on the User Settings page, beneath the profile text input, where users describe their allergens and dietary habits in natural language, allowing users to review and confirm which items are correctly flagged as allergens or preferred products.
    • Contingency Plan
      • Allow users to manually confirm flagged items
      • Implement a highlighting feature for uncertain matches for additional user validation

Design Changes & Justification:

  • UI Enhancement for Allergy & Preference Filtering for clarification of product selection and improvements in user accessibility of managing allergens
    – Allergen flagged items now appear in red highlighted boxes for visibility
    – User preferred products based on dietary preferences are displayed in green highlighted boxes

Progress:

  • MQTT connection & data transmission
  • Ingredient Substitution & allergy filtering UI
  • Obtain product UPC value
  • Spoonacular API requests

Team’s Status Report for 03/08/2025


Risks & Management:

    • Risk
      • We are a bit worried that the case and hardware components will be too heavy to be equipped to the case
    • Risk Mitigation
      • Start creating prototypes of the case before the final 3D printed design
      • Test it on the shopping cart attachment clip

Design Changes & Justification:

    • No design changes have been made

Progress:

      • Since we were unable to test MQTT communication due to hardware availability, the timeline for testing real-time cart updates has been slightly pushed back. However, this is planned to be done on the following week, along with developing the allergy filtering. This will allow us to stay on track.
    • Updated Schedule:
    • So far, we have made progress on
      • Developed UI for all main pages
      • Retrieving UPC code from barcode scanner and rasberry pi connection
      • CAD design for 3D printed case

A: Consideration of Global Factors

The smart cart attachment has consideration for global factors as it makes grocery shopping more efficient and accessible for people from all backgrounds. By accommodating diverse dietary needs, preferences, and shopping habits, it ensures that every shopper can quickly find products that align with their lifestyle. Features like barcode scanning, automated list creation, and real-time price comparisons help reduce time spent in stores and prevent unnecessary purchases. Whether someone is looking for healthier options, managing a strict diet, or simply trying to shop more efficiently, the smart cart provides a seamless and intuitive solution that adapts to individual needs and is not limited to any specific area or group of people.

 


B: Consideration of Cultural Factors

SmartCart has consideration for cultural factors as it enhances the grocery shopping experience by accommodating a wide range of dietary needs and nutritional preferences. By integrating databases of religious, cultural, and health-based dietary restrictions, the device can help users make informed choices aligned with their personal or religious beliefs. For instance, it can flag non-halal or non-kosher items, suggest vegetarian or vegan alternatives, or highlight gluten-free products. This functionality ensures that users not only shop efficiently but also make choices that align with their dietary restrictions, health goals, and cultural preferences, making the shopping experience more personalized and culturally inclusive.


C: Consideration of Environmental Factors

SmartCart contributes to reducing food waste through smart meal planning and ingredient substation features, enabling users to maximize existing resources rather than discard usable items. Additionally, by providing real-time inventory tracking and budget management, SmartCart eliminates unnecessary purchases and excessive consumption that typically lead to waste generation.

From a sustainability perspective, SmartCart reduces paper waste by replacing traditional receipts with digital purchase tracking. While our current model includes budget tracking with price estimates accurate within ±5% (due to variations for weight-based produce), future improvements could enable completely paperless checkout, eliminating receipt waste and further enhancing eco-friendly shopping experience.


A was written by Aanya Rustogi, B was written by Lekha Punya, and C was written by Lois Yun.

Team Status Report for 2/22/25


Risks & Management:

Feature Prioritization

    • Risk
      • We may not be able to implement our full list of features such as AI meal recommendations or allergen substitutions
    • Contingency Plan
      • We are prioritizing our different features. The main functionality is cart tracking and item scanning. Then, we will prioritize allergen substitutions.

MQTT Connection & Network Issues

    • Risk
      • Network instability may cause message loss / delays in product updates.
    • Contingency Plan
      • Implement retry mechanisms to resend messages in case of failures.
      • If the network is unstable, store scanned product data locally on the mobile app & sync when online.

Design Changes & Justification:

  • Transition from Database to Open Food Facts API and Cache
    • Originally we planned to build our own database of aldi foods and information. However, we recently found an API online that is able to access the aldi inventory and return a product through its UPC, which is the output of the barcode scanner. Therefore, instead of using memory and time to build this database, we will query for it during the shopping
    • A concern of this is latency. Therefore, we want to use a cache to retrieve frequently used item in order to still meet our quantitative requirements.

Progress:

    • Started integrating LangChain to process scanned grocery items, cross-check them with planned meals, and request substitutions when needed
    • Created a schema to store scanned products, user dietary preferences, and updated meal plans, with basic CRUD for efficient data retrieval
    • Implemented MQTT client in the mobile app

 

Team Status Report for 02/15/25


Risks & Management:

Product Recognition

    • Risk
      • The barcode scanner may fail to recognize some products or barcodes
    • Risk management
      • The app should indicate when it is unable to read the barcode or unable to find the product through alerts to the customer.
    • Contingency Plan
      • The app should allow a customer to manually enter in a product if the barcode scanner and database system is unable to recognize a product.

Design Changes & Justification:

  • Transition from Computer Vision to Barcode Scanning
    • Why: Our visit to Aldi revealed that CV might struggle with detecting stacked or partially visible items, leading to missed detection. Additionally, almost all products except some produce had barcodes, making barcode scanning a more reliable and deterministic approach. This ensures users can confidently scan each item without worrying about recognition errors. Barcode scanning also provides instant confirmation, unlike CV, which may silently fail.
    • Impact:
      • Remove YOLOv8-based object detection, eliminating the need for an RGB camera.
      • Reduced computational complexity -> Moved from Jetson Nano to Raspberry Pi for better efficiency
      • Improved reliability, as barcode scanning is more accurate for grocery identification.
    • Cost considerations:
      • Reduced cost by eliminating the need for high-powered GPU-based system.
      • Incurred new costs for barcode scanners
    • Mitigation:
      • The UI will guide users through manual product entry in case a product is unscannable.

Progress:

  • Since we removed CV-based object detection, the focus has shifted to barcode scanning, AI_driven recommendations, and dietary filtering.
  • The revised schedule is:
    • GNATT chart
  • So far, we have made progress on:
    • UI app development
    • Hardware Design
    • Database Setup

Part A: Public Health, Safety, and Welfare Considerations

With respect to public health: SmartCart promotes both physical and mental wellbeing. On the physical side, it encourages balanced nutrition through its meal planning features. The psychological benefit comes from reducing the stress associated with meal planning and grocery shopping decisions.

With respect to safety: The system’s primary safety feature is its allergen detection and filtering capability. By automatically identifying and flagging products containing specific allergens, it helps prevent potentially dangerous allergic reactions. This creates a safety barrier for individuals with food allergies.

With respect to welfare: Smart cart helps food security by optimizing how suers spend their grocery budget and preventing food from going to waste. It makes nutritious food more accessible by providing smart recommendations tailored to each person’s needs and resources.


Part B: Social Considerations

With consideration of social factors: SmartCart promotes accessibility and inclusivity through its consideration of different dietary preferences. Through accommodating different restrictions such as vegan, gluten-free or allergy alternatives, it allows users to automatically gear their meal planning towards this goal without too much overhead. 

Unlike many apps, a dietary normal is not expected of its users and instead allows considerable personalization through their preferences. Product recommendations are built upon this profile information.

In addition, for users with busy personal lives would not need as intensive planning for grocery trips due to SmartCart. In combination with the dietary preferences, SmartCart allows users to automatically populate grocery lists and focus on demanding parts of their lives.


Part C: Economic Considerations

With consideration of economic factors: SmartCart helps users optimize their budget allowing for smart consumption of food and minimal food waste. Transparent cart price checking allows users to think strongly about their consumption before they head to checkout. This aspect of the product is especially useful for college students and budget-focused individuals. 

In addition, meal planning through automated recipes also optimizes for food waste as the user has rationale for each item beforehand.  Overall, this reduces unnecessary purchases as users are recommended products to fulfill their planned meals.


A was written by Lois Yun, B was written by Aanya Rustogi, and C was written by Lekha Punya.

Team Status Report for 02/08/2025


Risks & Management:

  • Object Detection Confusion
    • Risk
      • The camera may struggle to differentiate between similar looking items (e.g. Fiji apples vs Honeycrisp apples) or misidentify certain products.
    • Risk management
      • Collect & train the YOLOv8 model with wider variety of grocery products to improve detection accuracy. Optimize confidence thresholds in detection.
    • Contingency Plan
      • Implement a User Confirmation Step: When the app detects similar items, prompt the user with a choice selection (e.g. “Was the item you just put in A, B, or C?”) for quick correction.

Design Changes & Justification:

  • Initially, we planned to populate our own dataset of Aldi grocery items to account for environmental and lighting discrepancies. However, we plan to limit our scope of the dataset to use the online Aldi database of products to prioritize functionality of our prototype. Now, it should be able to recognize a standard set of grocery items without hindering our progress if we were to spend too much time creating a brand new custom dataset.

Progress:

  • App setup & design
  • Yolov8 and Open CV pipeline finalization
  • Aldi’s dataset collection started
  • Finalized  to-be-purchased hardware devices
  • Designed device shell