Skip to main content

Support for direct camera ALPR data without CodeProject.AI dependency

Problem:
I have a Hikvision ANPR camera that already does plate recognition and sends data to Home Assistant. The current API requires CodeProject.AI format, but I already have the processed data.

Requested Feature:
Add a simple REST endpoint for direct ALPR data submission:

POST /api/plate-reads/direct Headers: x-api-key: YOUR_API_KEY { "plate_number": "ABC1234", "timestamp": "2025-01-15T10:30:00Z", "camera": "entrance_gate", "direction": "FORWARD", // or "REVERSE" "image_base64": "data:image/jpeg;base64,..." }
Status: Completed1 comment

Log in to comment and vote

Comments1

  • VideoDad

    •

    Aug 7, 2025

    Apart from the direction, you can already use the “plate_number" form of the call to add a plate to the database.

    For direction, maybe you could think of the single physical camera as two logical cameras (e.g. “entrance_gate_in" and “entrance_gate_out") depending on the direction?

    Here’s the link to the API reference:

    https://www.alprdatabase.org/docs/api-reference