Skip to content

Backend Support for QR and Barcode Scanning #2

@Th0rgal

Description

@Th0rgal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions