This repository contains the backend component for the ticket validation system, including OCR processing and validation logic.
- Clone the repository
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- On Unix or MacOS:
source venv/bin/activate
- On Windows:
venv\Scripts\activate
- On Unix or MacOS:
- Install dependencies:
pip install -r requirements.txt
- Ensure you're in the project root directory
- Run
python src/main.py
(More instructions for running tests will be added once we've set them up)
/validate
(POST): Submit a ticket image for validation- Request: Multipart form data with 'image' field
- Response: JSON with validation results
(More endpoints will be added as they're developed)