Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing an API 200 error when running Plate Recognizer locally, what does this mean ? #76

Open
Wildcat1 opened this issue Jan 31, 2025 · 5 comments

Comments

@Wildcat1
Copy link

Wildcat1 commented Jan 31, 2025

Seeing this error when running SnapShot SDK locally:

2025-01-31 09:54:50,814 - main - ERROR - API error: 200, {"filename": "upload", "timestamp": "2025-01-31 09:54:50.792060", "camera_id": null, "results": [], "usage": {"calls": 2, "max_calls": 2500}, "processing_time": 14.445}

Any ideas on what this means and how to fix ?

For clarity this is from the Frigate Plate Recognizer logs docker

Thanks

@Wildcat1
Copy link
Author

@ljmerza any thoughts on this error and how to resolve ? I see the 'calls' continue to increase as if its trying to process something but not sure why I see that error

@Wildcat1
Copy link
Author

Wildcat1 commented Feb 1, 2025

Crazy part is that I can see a plate is being found by Plate Organizer but not sure what this API 200 error is that Frigate Plate Recognizer (this code) is hitting:

2025-01-31 17:44:30,813 - main - ERROR - API error: 200, {"filename": "upload", "timestamp": "2025-01-31 17:44:30.793033", "camera_id": null, "results": [{"box": {"xmin": 789, "ymin": 124, "xmax": 840, "ymax": 157}, "plate": "dla232", "region": {"code": "us", "score": 0.561}, "score": 0.84, "candidates": [{"score": 0.84, "plate": "dlz032"}], "dscore": 0.79, "vehicle": {"score": 0.893, "type": "Sedan", "box": {"xmin": 287, "ymin": 6, "xmax": 907, "ymax": 253}}}], "usage": {"calls": 94, "max_calls": 2500}, "processing_time": 14.073}

Any assistance you can offer @ljmerza or others is greatly appreciated. Been working this all day and still cannot get past this APO error: 200. Thanks

@ljmerza
Copy link
Owner

ljmerza commented Feb 1, 2025

just pushed v2.2.1 may take a few mintutes to build and deploy

@Wildcat1
Copy link
Author

Wildcat1 commented Feb 1, 2025

Yes I have Debug enabled @ljmerza. Anything you want me to send or just want me to try the new build ?

Thanks

@Wildcat1
Copy link
Author

Wildcat1 commented Feb 1, 2025

@ljmerza just confirming, this DOES appear to have fixed the issue, THANK YOU !!!!

For future reference, what was the API Error 200 referencing ?

Thanks again !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants