Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.dlib_face_identify.image_processing Namespace Reference

Classes

class  DlibFaceIdentifyEntity
 

Functions

None setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_FACES = "faces"
 
 PLATFORM_SCHEMA
 

Detailed Description

Component that will help set the Dlib face detect processing.

Function Documentation

◆ setup_platform()

None homeassistant.components.dlib_face_identify.image_processing.setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the Dlib Face detection platform.

Definition at line 34 of file image_processing.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.dlib_face_identify.image_processing._LOGGER = logging.getLogger(__name__)
private

Definition at line 22 of file image_processing.py.

◆ CONF_FACES

string homeassistant.components.dlib_face_identify.image_processing.CONF_FACES = "faces"

Definition at line 24 of file image_processing.py.

◆ PLATFORM_SCHEMA

homeassistant.components.dlib_face_identify.image_processing.PLATFORM_SCHEMA
Initial value:
1 = IMAGE_PROCESSING_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_FACES): {cv.string: cv.isfile},
4  vol.Optional(CONF_CONFIDENCE, default=0.6): vol.Coerce(float),
5  }
6 )

Definition at line 26 of file image_processing.py.