Skip to main content

A modular QSR Order Verification Python Package

Reason this release was yanked:

Security Reason

Project description

TED_QSRT

A modular, highly accurate computer vision verification system designed for Quick Service Restaurants (QSRs). This package compares a camera image of a packed food tray with OCR text extracted from an order receipt to ensure the order is correct.

Installation

You can install this directly from source:

cd fastfood_verifier_project
pip install -e .

Or build a distribution wheel for deployment on other servers:

# Build the wheel
python setup.py sdist bdist_wheel

# Install the wheel (replace with actual filename in dist/)
pip install dist/TED_QSRT-0.1.0-py3-none-any.whl

Command Line Usage

Once installed, you can trigger the AI verification pipeline directly from the terminal. It accepts two image paths and returns a JSON verification result.

ted-qsrt --item inputs/camera_view.jpg --receipt inputs/order_receipt.jpg

Alternatively, you can run the module directly:

python -m TED_QSRT --item inputs/camera_view.jpg --receipt inputs/order_receipt.jpg

REST API Server Usage

This package also comes with a built-in FastAPI server to immediately work with web interfaces or edge/mobile devices (iOS/Android).

Start the API Server:

uvicorn TED_QSRT.api.server:app --host 0.0.0.0 --port 8000

Endpoints

POST /verify Accepts two multipart image uploads: item_image and receipt_image. Returns a JSON object containing the comparison results.

Example Request:

curl -X POST "http://localhost:8000/verify" \
  -H "accept: application/json" \
  -H "Content-Type: multipart/form-data" \
  -F "item_image=@inputs/camera_view.jpg" \
  -F "receipt_image=@inputs/order_receipt.jpg"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ted_qsrt-0.1.1.tar.gz (40.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ted_qsrt-0.1.1-py3-none-any.whl (40.6 MB view details)

Uploaded Python 3

File details

Details for the file ted_qsrt-0.1.1.tar.gz.

File metadata

  • Download URL: ted_qsrt-0.1.1.tar.gz
  • Upload date:
  • Size: 40.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ted_qsrt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2228bee8f23bf8e8608cac04eb6eecbeb640f1316ee56bf974bea41485b406a5
MD5 67c427873070649b8fe2a3ba726149d5
BLAKE2b-256 50285156bcaecff5c28a81047f689c9c0b7a625af268946fbd1a241576bbbecc

See more details on using hashes here.

File details

Details for the file ted_qsrt-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ted_qsrt-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 40.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ted_qsrt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1bb7dd62b25a2e05d7290c470857ff4a828d214a82a38c63e691892cdc500c
MD5 783c4c9596f483eba25264e62134cc53
BLAKE2b-256 f7390bd682cac200e6d7a5c3332a0737acba8969cb81156ec8ef630af4e93f72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page