DOODS - Dedicated Open Object Detection Service
The doods
image processing integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] allows you to detect and recognize objects in a camera image using DOODSsummary
attribute along with quantity. The matches
attribute provides the confidence score
for recognition and the bounding box
of the object for each detection category.
Setup
The DOODS software needs to be running before this integration can be used. Options to run the DOODS software:
- Run as Home Assistant add-on
- Run as a Docker container
Configuration
To enable this integration in your installation, add the following to your configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file.
After changing the configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, restart Home Assistant to apply the changes.
Configuration Variables
The list of image sources.
The authentication key as set in the DOODS configuration file or as a Docker environment variable (DOODS_AUTH_KEY)
The default confidence for any detected objects where not explicitly set.
Global detection area. Objects in this box will be reported. Top of image is 0, bottom is 1. Same left to right.
A template for the integration to save processed images including bounding boxes. camera_entity
is available as the entity_id
string of the triggered source camera.
Information about the selected labels model.
Custom detection area. Only objects fully in this box will be reported. Top of image is 0, bottom is 1. Same left to right.
Supported labels
Both detectors default
and tensorflow
use the labels in this file
Sample configuration
Optimizing resources
The Image processing integration processes the image from a camera at a fixed period given by the scan_interval
. This leads to excessive processing if the image on the camera hasn’t changed, as the default scan_interval
is 10 seconds. You can override this by adding to your configuration scan_interval: 10000
(setting the interval to 10,000 seconds) and then call the image_processing.scan
action when you actually want to perform processing.