Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move facebox service to facebox domain (#29151)
- Loading branch information
Showing
5 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
"""Constants for the Facebox component.""" | ||
|
||
DOMAIN = "facebox" | ||
SERVICE_TEACH_FACE = "teach_face" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
teach_face: | ||
description: Teach facebox a face using a file. | ||
fields: | ||
entity_id: | ||
description: The facebox entity to teach. | ||
example: 'image_processing.facebox' | ||
name: | ||
description: The name of the face to teach. | ||
example: 'my_name' | ||
file_path: | ||
description: The path to the image file. | ||
example: '/images/my_image.jpg' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters