Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96121

Tensorflow HassIO using different labels

$
0
0

@finish06 wrote:

I am attempting to identify objects with Tensorflow on HassIO 103.4 with a non default label. I have attached my YAML below. This does not throw an error, however it does not identify anything either. Has anyone else used a non-default label within the Tensorflow component?

- platform: tensorflow
  source:
    - entity_id: camera.backyard_stream
      name: backyard_camera_animals
  file_out:
    - "/config/www/{{ camera_entity.split('.')[1] }}_animal_latest.jpg"
    - "/config/tensorflow/images/backyard/{{ camera_entity.split('.')[1] }}_animal_{{ now().strftime('%Y%m%d_%H%M%S') }}.jpg"
  scan_interval: 604800
  model:
    graph: "/config/tensorflow/model/frozen_inference_graph.pb"
    labels: "/config/tensorflow/object_detection/data/oid_bbox_trainable_label_map.pbtxt"
    categories:
      - category: deer
        area:
          top: 0.01
      - category: dog
        area:
          top: 0.01
      - category: cat
        area:
          top: 0.01

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>