Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend Support for QR and Barcode Scanning #2

Open
Th0rgal opened this issue Jan 28, 2024 · 0 comments
Open

Backend Support for QR and Barcode Scanning #2

Th0rgal opened this issue Jan 28, 2024 · 0 comments
Labels
🍒 Nice to have Nice to have but not a priority

Comments

@Th0rgal
Copy link
Member

Th0rgal commented Jan 28, 2024

Enhance the backend to support the detection and processing of QR and barcodes scanned by the app. The system should differentiate between codes associated with meals and other types of codes, redirecting to an external API for non-meal codes.

Implementation Details

  • Functionality: Detect whether a scanned code is a QR or barcode via GPT-4 API and if it is, use another API to get data.

Tasks

  1. Code Detection:

    • Adapt prompt to tell GPT-4 to inform us if the detected meal is a qr code.
  2. Call an API or use our own DB:

    • Find a way to get food data from the bar code image, refine it and send it to the app.
@Th0rgal Th0rgal added the 🍒 Nice to have Nice to have but not a priority label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 Nice to have Nice to have but not a priority
Projects
None yet
Development

No branches or pull requests

1 participant