lfglabs-dev / lfglabs-dev/api.calorily.com
Backend Support for QR and Barcode Scanning
Nobody has claimed this yet.
- 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
-
Code Detection:
- Adapt prompt to tell GPT-4 to inform us if the detected meal is a qr code.
-
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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