Tag: status report

Kelly’s Status Report for 4/27/24

Kelly’s Status Report for 4/27/24

Work Accomplished: Camera streaming works Scheduled notifications work Helped Sebastian with implementing database functions on flutter Conducted user experience surveys and collected data Progress: Almost done! (on track) Things to complete next week: Work with Sebastian and Michael to finish getting everything working together (scanner, 

Kelly’s Status Report for 4/20/24

Kelly’s Status Report for 4/20/24

Work Accomplished: Custom/ Edit Input popup Added option to edit the inventory items by tapping on the item card. Information automatically populates. Changes to the quantity, picture, etc. will update instantly to view changes Will also save to database, but showing the change instantly at 

Team Status Report for 4/6/24

Team Status Report for 4/6/24

Risks:

  • 2GB Jetson Nano lost support in 2023, and so some of the software is fairly out of date (For example, Python 3.6 was the latest version available to be installed through apt, however Python 3.10 is the minimum version for YOLOv8)

Changes:

  • Switched back from classification model to object detection YOLO model because the classification model was buggy and so we switched to a smaller, custom dataset
  • Switched from Xilinx Kria KV260 to Nvidia Jetson Nano as server hardware because we weren’t able to accelerate the YOLO model like originally planned. Instead we will be relying on the CUDA cores (which the YOLO model already has acceleration for).

Progress:

  • Finished with main App UI
    • Recipe confirmation pop up
    • Recipe card
    • Upload Picture widget
    • Custom inventory input
    • Custom recipe input
    • LLM Integration, using filters
  • Created working Server for Demo
    • MySQL Database installed
    • Backend API program runs on local machine
      • Connects clients to the MySQL DB

Verification & Validation:

  • Validate CV code makes proper API calls
    • Test that objects being entered send an “Put Item” call
    • Test that objects being removed sends a “Delete Item” call
  • Validate WebApp makes proper API calls
    • Test that requesting a recipes sends a “Get All Items” call
    • Test that inventory pages send “Get Items {Location}” call
  • Validate API calls update the database
    • Test relevant calls perform relevant actions to database

 

Kelly’s Status Report for 4/6/24

Kelly’s Status Report for 4/6/24

Work Accomplished: Integrated OpenAI API to get recipe using current inventory Connected the results from the filter options (Dietary Restrictions & Cuisine) Prompted the LLM and asked to end the recipe with !!! since there was a problem earlier where some long recipes are cut 

Sebastian’s Status Report for 3/30/24

Sebastian’s Status Report for 3/30/24

Weekly Accomplishments Figured out how to make POST Requests work Adding and Removing from SQL Database now functional Execute Post Request from Client: Post Request Processed in backend program Database Commits changes pushed by backend program Added Recipe Database Table and all functions related to 

Kelly’s Status Report for 3/30/24

Kelly’s Status Report for 3/30/24


Work Accomplished:

  • Made the video button direct to a page that will stream the video feed from the scanners.
    • Added a back button that goes back to the inventory page.
    • For now UI displays “Camera is not active” but once the server is set up, I’ll put the video stream when the camera is active.
  • Made the filter button open up a pop up with options for dietary restrictions and cuisines.
    • This widget is reused between the saved tab and the generate tab.
    • Made the UI look better by having the buttons colored in when selected, as opposed to the default multiple select check boxes.
    • When clicking “Apply Changes” it will return a list of the selected options that we can use to sort saved recipes or ask the LLM for specific recipes.
  • Displayed a warning label before clicking the “Generate Recipe” button.
    • This will warn users to check if their ingredients have gone bad before using them since our app does not have a way to know exactly if ingredients have gone bad besides getting an estimated number of days the produce usually lasts.
    • The animation starts playing after the button is pressed.
  • Implemented a Swipe-to-delete feature for the inventory items and recipes.
    • This will be used if the user accidentally forgets to scan out items or would like to delete saved recipes
    • Might need to implement it to allow users to delete some quantity and not the entire ingredient (not as urgent since main use will be through scanning out)
    • This action will need to update the database.

Here is a video demo for the new UI changes in action

 

  • LLM prompt engineering: made a prompting flow for recipe generation

  • Tested Meta’s Llama2 7b and 13b and Google’s Gemma using this prompting flow
    • Llama2: the only recipes that it knows are different varieties of stir fry, but it includes questionable ingredients in it, like bananas. When I ask for a specific cuisine, it still gives me stir fry and claim it is Italian or Korean when they are the exact same recipe.

    • Gemma: the only recipe that it knows is tomato and garlic soup. It uses ingredients that are not in the inventory. It does not give any other recipe even when I ask for a different one or change the cuisine.

    • Deduced that these LLM Models are very limited for our use case and we do not have enough time to fine-tune/train the models (learning how to and actually doing it)

 

  • Tested the prompts on ChatGPT
    • Worked a lot better
      • Gave a good variety of answers
      • Would change the recipes according to dietary restrictions and cuisine
      • Fixes itself if it uses an incorrect ingredient and I ask it to try again
    • Given the success rate of ChatGPT in creating recipes, our intended use, it significantly outweighs the pros of local LLM models, which are that they are more secure and can be faster.
    • Decided to use ChatGPT for our recipe generation although it is a cloud-based LLM and we originally said we would use a local LLM.

 

  • Set up OpenAI API on Flutter app
    • Tried making a sample app and it should work but we do not have credits so it just gives me “429” rate limit errors.
    • Waiting to purchase credits using our budget
      • I asked on Wednesday. They told me that on Monday someone in ECE purchasing should reach out to me.
      • My plan was to finish it for the interim demo, but now I cannot.
      • Might need to pay out of pocket if this takes too long.

 


Progress:

  • On track with the updated gantt chart.

 


Things to complete next week:

  • Get OpenAI credits
    • Implement prompting flow in the app to generate recipes
    • Display recipes on new UI elements (pop up with recipe name and recipe page with instructions)
  • Create custom item & custom recipe input pop up when clicking + button
  • Cookable toggle on saved recipes page

 

Team Status Report for 3/30/24

Team Status Report for 3/30/24

Risks: Kria KV260 acceleration documentation doesn’t seem the most up to date Changes: Using ChatGPT instead of Llama2 or Gemma ChatGPT has more variety of recipes while Llama2 and Gemma do not work as intended, and we do not have enough time to fine-tune and 

Team Status Report for 3/23/2024

Team Status Report for 3/23/2024

Risks: Video streaming is still too slow. We may want to change to a better processor like RPi 4. Changes: Switching to single item classification because new database is too large to manually label. Progress: YOLOv8 model training started. Recipes page app UI completed. Researched 

Sebastian’s Status Report for 23/03/2024

Sebastian’s Status Report for 23/03/2024

Weekly Accomplishments:

  • GET Requests for FastAPI up and running
  • Able to query all tables in Sous-Chef DB
  • Added Recipes Table
    • Need to figure out what to do with Image types (if we will have images on separate BLOB storage)
  • API performs:
    • GET /info/ – pulls all info in the food_info table
    • GET /inventory/ – pulls all info in the food_inventory table

  • I almost have POST requests up and running, currently need to type check some stuff to make it seamless

Next Weeks Goals:

  • Get POST Requests working to add to DB
  • Finish Add/Remove Ingredient functionality
  • Finish Add/Remove Recipe functionality
    • Figure out how to handle and store images for Recipes
Michael’s Status Report for 3/23/2024

Michael’s Status Report for 3/23/2024

Weekly Accomplishments Conducted research into libraries that allow for video streaming over wifi. Implemented a new stream that has improvement (6s/frame) over last week’s implementation (10s/frame), but still is quite slow. There’s one last hope with a library that uses FFMPEG that may allow for hardware