Opencv#2208
Conversation
Landrash
left a comment
There was a problem hiding this comment.
Looks good with some minor feedback.
| logo: OpenCV_Logo.png | ||
| ha_category: Image Processing | ||
| featured: false | ||
| ha_release: 0.38 |
There was a problem hiding this comment.
Needs a bump before merging.
| ### {% linkable_title Configuration Home Assistant %} | ||
|
|
||
| ```yaml | ||
| opencv: |
There was a problem hiding this comment.
Add in
# Example configuration.yaml entry
in the top of this example config.
Landrash
left a comment
There was a problem hiding this comment.
Some minor feedback but looks good.
| title: "OpenCV" | ||
| description: "Instructions how to setup OpenCV within Home Assistant." | ||
| date: 2017-03-05 22:36 | ||
| date: 2017-04-01 22:36 |
There was a problem hiding this comment.
Don't update the date since this is the creation date.
| To setup OpenCV with Home Assistant, add the following section to your `configuration.yaml` file: | ||
|
|
||
| ```yaml | ||
| opencv: |
There was a problem hiding this comment.
Add in
# Example configuration.yaml entry
in the top of this example config.
| There is a special camera, specifically for this: | ||
|
|
||
| ```yaml | ||
| camera: |
There was a problem hiding this comment.
Add in
# Example configuration.yaml entry
in the top of this example config.
|
Component is not ready enough apparently. |
|
Will bump version closer to when the main PR is approved. |
| classifier: | ||
| - file_path: /path/to/classifier/face.xml | ||
| name: face | ||
| - file_path: /path/to/classifier/face_profile.xml |
There was a problem hiding this comment.
There are two file_path? Can you clarify how/why they should be used?
There was a problem hiding this comment.
Let's say you want to match "Family" and you have a classifier for "Alok" (alok_face.xml), "Wife" (alok_wife_face.xml), "Kiddo" (alok_kiddo_face.xml).
This allows you to have:
classifier_group:
name: 'Family'
classifier:
- name: 'Alok'
file_path: 'alok_face.xml'
- name: 'Wife'
file_path: 'alok_wife_face.xml'
- name: 'Kiddo'
file_path: 'alok_kiddo_face.xml'
The matches would be:
Family: {
Alok: {
(region)
},
Wife: {
(region)
},
Kiddo: {
(region)
}
}
There was a problem hiding this comment.
I will update docs tonight
|
Cherry-picked for 0.44 |
* Image processing opencv doc * OpenCV doc * OpenCV logo * Doc updates * Change docs to match opencv component * Update docs * Add comment to example * Add camera config * Add comment to example yaml * Update docs to reflect the camera not being there * Better documentation on configuration and attributes * Reference hub * Set release
Description:
Documentation around OpenCV image processing
Pull request in home-assistant (if applicable): home-assistant/core#7261