Person and face detection using image_processing with Sighthound

Hello Robin, thanks for everything! Now I’m able to detect my car when is on garage. I’ve got a question, how can I read PLATE data from event and display in a card?

Thank for your patiente.
Regards
Enrico

@enricozocca you can use the event to trigger an automation that updates the state of a sensor which displays the plate

1 Like

Hi Robin. I have the same question like enricozocca. I’m new at home assistant and I’m not able to get your suggestion to work. Can you give me a shot examle how I get the plate information to a sensor entity or something else that i can use it for examle in my node red flowes. Thanks alot.

Hi, this is really cool, thanks for making it.

But how can I create a sensor with the license plate info? Has anyone done this?

I just published a release which lists detected plates as an attribute. Generally I advise to use the events for triggering automations however.

image

Works perfect. Thank you. I tested the eventsensor integration from the hacs repository (https://github.com/azogue/eventsensor). With this integration it’s also very easy to create a sensor from event state dataimage

1 Like

Thank you for this. I’ve been trying to do License plate recognition for a long time. I also saw that you made https://github.com/robmarkcole/HASS-plate-recognizer, ill make sure to try both.

1 Like

HACS is saying this repo is blacklisted. Any ideas?

Ask the HACS guy please

Well I’m stupid and posted the api key oops.
Anyway this has been working great so far, but I can’t get sighthound_latest.jpg to show in my www folder. This is my config:

image_processing:
  - platform: sighthound
    api_key: XXXXXXXXXXXXXXXXXXX
    save_file_folder: /config/www/
    save_timestamped_file: False
    always_save_latest_jpg: True
    source:
      - entity_id: camera.garages_camera

HI, check if your camera entity ist the right on. Check if your save_file_folder path exists. I think the picture is only created when sighthound really recognized something. You can test this with a local camera entity with a snaphot file from f.e. with a car. If sighthound detects something you can also see it in your image_processing.sighthound_vehicle_garage_camera entity under developer tools, states

Thanks, but actually i realized the files it creates are sighthound_person/vehicle_(camera name)_latest.jpg and now i have everything working.

1 Like

Hello @robmarkcole any plans to adjust non official version to latest HA requirements ie. manifest file?

2021-05-27 10:01:30 ERROR (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'sighthound'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'sighthound'

Please create a PR

Include “version 1.0”, as below.

{
“domain”: “sighthound”,
“name”: “Sighthound custom component”,
“version”: “1.0”,
“documentation”: “GitHub - robmarkcole/HASS-Sighthound: Beta features for Home Assistant Sighthound integration”,
“requirements”: [
“simplehound==0.2”
],
“dependencies”: [],
“codeowners”: [
@robmarkcole
]
}

1 Like

In HA 2012.21 I get this in log:

2021-12-15 08:40:36 WARNING (MainThread) [homeassistant.helpers.entity] Entity image_processing.sighthound_person_XXX (<class 'custom_components.sighthound.image_processing.SighthoundPersonEntity'>) implements device_state_attributes. Please report it to the custom component author.