home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.13k stars 29.8k forks source link

License Plate detections not detecting plates #108754

Closed wkrglwfglwsfjfs closed 7 months ago

wkrglwfglwsfjfs commented 7 months ago

The problem

I am using an AI Pro camera to capture license plates through UniFi Protect. The license plate recognition works as expected in the UniFi Protect application, however I have experienced multiple instances of plates either not being recognized, or the characters being incorrectly transcribed, though the UniFi Protect plugin in Home Assistant. I'm guessing there's some logic that tries to identify plates on the Protect feed and runs OCR on the image, but however it works in my experience it's hit and miss.

What version of Home Assistant Core has the issue?

2024.1.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

UniFi Protect

Link to integration documentation on our website

https://www.home-assistant.io/integrations/unifiprotect

Diagnostics information

config_entry-unifiprotect-3f6ecad10e2b73e06c85ad24be686f9c.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 7 months ago

Hey there @angellusmortis, @bdraco, mind taking a look at this issue as it has been labeled with an integration (unifiprotect) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `unifiprotect` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign unifiprotect` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


unifiprotect documentation unifiprotect source (message by IssueLinks)

AngellusMortis commented 7 months ago

@home-assistant add-label needs-more-information

ba-johnson commented 7 months ago

This is also affecting me. I have the Unifi Protect License Notifications blueprint added as a workload and this was giving me pretty good push notifications with a small thumbnail too. However the entity hasn't changed state for a few weeks now and is simply showing as clear despite the Protect app successfully detecting and logging plates for vehicles. I'm happy to assist further if more information is required.

AngellusMortis commented 7 months ago

Missing debug logs from the original issue form were never added. Not reproducible. Please feel free to make a new issue and fill out the issue template correctly this time.

AngellusMortis commented 7 months ago

@home-assistant remove-label needs-more-information

AngellusMortis commented 7 months ago

@home-assistant close

davey400 commented 7 months ago

Same issue here. What info do you need to resolve this?

JohnGalt1717 commented 6 months ago

Mine returns the date/time as the plate for real detections, and if you run it in test/debug mode it returns the test/debug plate that you passed.