ljmerza/frigate_plate_recognizer

Snapshot Size Exceeds platerecognizer.com Upload Limit

Opened this issue · 0 comments

I have a 2K Camera that produces 3.9mb snapshots. This exceeds the 3mb upload limit. Is there a way to tune this? I don't want to reduce the quality of the image captured by frigate, only reduce the size before uploading to platerecognizer.

Logs

10:56:56,372 - __main__ - DEBUG - Getting snapshot for event: 1722520611.167738-2l2rna, Crop: True
2024-08-01 10:56:56,372 - __main__ - DEBUG - event URL: http://frigate:5000/api/events/1722520611.167738-2l2rna/snapshot.jpg
2024-08-01 10:56:56,406 - __main__ - DEBUG - Getting plate for event: 1722520611.167738-2l2rna
2024-08-01 10:56:57,747 - __main__ - DEBUG - response: {'error': 'Invalid file. See https://app.platerecognizer.com/upload-limit/'}
2024-08-01 10:56:57,747 - __main__ - ERROR - Failed to get plate number. Response: {'error': 'Invalid file. See https://app.platerecognizer.com/upload-limit/'}