Giter Club home page Giter Club logo

hass-tensorflow-lite-rest-server's Introduction

HASS-tensorflow-lite-rest-server

Home Assistant integration for the tensorflow-lite-rest-server. Make sure the tflite server is running then configure this integration as below. This integration adds an image_processing entity whose state is the number of target objects identified, which defaults to person detection. This integration does not automatically scan an image, you must call the image_processing scan service to process an image

Home Assistant setup

Place the custom_components folder in your configuration directory (or add its contents to an existing custom_components folder). Then configure object detection. Important: It is necessary to configure only a single camera per tflite_server entity. If you want to process multiple cameras, you will therefore need multiple tflite_server image_processing entities.

Add to your Home-Assistant config:

image_processing:
  - platform: tflite_server
    ip_address: localhost
    port: 5000
    # scan_interval: 30 # Optional, in seconds
    save_file_folder: /config/www/
    source:
      - entity_id: camera.local_file

Configuration variables:

  • ip_address: the ip address of your tflite server.
  • port: (Optional, default 5000 )the port of your tflite server.
  • save_file_folder: (Optional) The folder to save processed images to. Note that folder path should be added to whitelist_external_dirs
  • source: Must be a camera.
  • target: (Optional, default person) The target object class.
  • confidence: (Optional) The confidence (in %) above which detected targets are counted in the sensor state. Default value: 80
  • name: (Optional) A custom name for the the entity.

hass-tensorflow-lite-rest-server's People

Contributors

robmarkcole avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.