robmarkcole / HASS-plate-recognizer

Read number plates with https://platerecognizer.com/
128 stars 25 forks source link

Empty pictures when using nest camera #52

Closed henrikrox closed 2 years ago

henrikrox commented 2 years ago

Hi

I’m using outdoor nest cameras that are 24/7 powered. I have setup the integration correctly but when start the image proccessing the png saved doesn’t have a picture. The file is there in the confit folder but there is no picture, it’s just white

I don’t have a car to test with this evening, does a car need to be in the frame of the camera for the image processing event to generate a picture?

henrikrox commented 2 years ago
image_processing:
  - platform: platerecognizer
    api_token: XXXXXXX
    regions:
      - no
    save_file_folder: /config/www/plates
    save_timestamped_file: True
    always_save_latest_file: True
    source:
      - entity_id: camera.kamera_garasje_hage

error in logs, don't know why it interprets Norway as false in region.

platerecognizer api response: {'regions': ['Region "False" does not exist. List of regions: http://docs.platerecognizer.com/#countries']}

platerecognizer error: 'results'
henrikrox commented 2 years ago

Removed regions, it doesn't throw error and picture is black. I guess that's because the camera hasn't been able to contact Google API to show a picture, it takes 3-4 seconds.

platerecognizer_kamera_garasje_hage_latest

Stealth401 commented 2 years ago

Hi,

I managed to get an image using my Nest Outdoor IQ camera but it's generating loads of images that don't have cars in them.

`# Number plate recognition image_processing:

  • platform: platerecognizer api_token: XXXX regions:
  • gb
  • ie save_file_folder: /config/www/platerecognizer/ save_timestamped_file: True always_save_latest_file: True detection_rule: strict source:
  • entity_id: camera.driveway`
robmarkcole commented 2 years ago

sounds like a camera issue, closing

henrikrox commented 2 years ago

sounds like a camera issue, closing

Not a camera issue but ok.