lfglabs-dev / lfglabs-dev/api.calorily.com

Backend Support for QR and Barcode Scanning

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🍒 Nice to have
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the backend entry point for scanned images and the existing GPT-4 prompt, then trace how results are sent to the app. Done should cover distinguishing meal-related QR or barcodes from other codes and obtaining food data for barcode images through an API or database.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.