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

get_orientations error: 'orientation' #36

Closed
greberg opened this issue May 11, 2021 · 4 comments
Closed

get_orientations error: 'orientation' #36

greberg opened this issue May 11, 2021 · 4 comments

Comments

@greberg
Copy link

greberg commented May 11, 2021

Getting following error get_orientations error: 'orientation'. Getting this everytime a platrecognizer is triggered

Source: custom_components/platerecognizer/image_processing.py:94

Running release 1.1.0 of Plate and HA 2021.5.2

@greberg
Copy link
Author

greberg commented May 19, 2021

It seems like it is due to mmc=false. Orientation is only possible to get if you have set mmc = true. API says // Make Model, Orientation and Color are only available if you set mmc=true. The custom_component is firing def get_orientations(results : List[Dict]) -> List[str]: every time it run a platerecognizer. Should probably be a if-statement here

@robmarkcole
Copy link
Owner

Can someone create a PR?

supajason added a commit to supajason/HASS-plate-recognizer that referenced this issue Sep 1, 2021
@supajason
Copy link
Contributor

supajason commented Sep 1, 2021

PR created @robmarkcole

@Marco2205
Copy link

Dear @robmarkcole congratulations for the project, can you confirm that orientation can only be used with the paid subscription? it's really a shame!

@pilot1981 pilot1981 mentioned this issue Oct 8, 2023
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

4 participants