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.4.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.4-py3-none-any.whl (40.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ted_qsrt-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 dddbaea921e3351e7885e2fedf969b64f623faa15ef8de7fcc9728f411d9c51d
MD5 333021c14c860e85f2ba439f231600fd
BLAKE2b-256 86490cbecfc43b925ca65ee76b9040b9daa4fba21752de80be7bbf7ff8e57456

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ted_qsrt-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 17e617f6379705ef737b207cd259f6bd82310f6099c2166f736e1beabcafd57e
MD5 951dde2aa56ce40b91c47fee9dc8b2c1
BLAKE2b-256 1a91f4388e632e825b20bbc16b7b42b94fa606b13b6efde0ab138a79d0d9884e

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