Classes | |
| class | TensorFlowImageProcessor |
Functions | |
| def | get_model_detection_function (model) |
| None | setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| AREA_SCHEMA | |
| string | ATTR_MATCHES = "matches" |
| string | ATTR_PROCESS_TIME = "process_time" |
| string | ATTR_SUMMARY = "summary" |
| string | ATTR_TOTAL_MATCHES = "total_matches" |
| CATEGORY_SCHEMA | |
| string | CONF_AREA = "area" |
| string | CONF_BOTTOM = "bottom" |
| string | CONF_CATEGORIES = "categories" |
| string | CONF_CATEGORY = "category" |
| string | CONF_FILE_OUT = "file_out" |
| string | CONF_GRAPH = "graph" |
| string | CONF_LABEL_OFFSET = "label_offset" |
| string | CONF_LABELS = "labels" |
| string | CONF_LEFT = "left" |
| string | CONF_MODEL_DIR = "model_dir" |
| string | CONF_RIGHT = "right" |
| string | CONF_TOP = "top" |
| string | DOMAIN = "tensorflow" |
| PLATFORM_SCHEMA | |
Support for performing TensorFlow classification on images.
| def homeassistant.components.tensorflow.image_processing.get_model_detection_function | ( | model | ) |
Get a tf.function for detection.
Definition at line 90 of file image_processing.py.
| None homeassistant.components.tensorflow.image_processing.setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
Set up the TensorFlow image processing platform.
Definition at line 104 of file image_processing.py.
|
private |
Definition at line 38 of file image_processing.py.
| homeassistant.components.tensorflow.image_processing.AREA_SCHEMA |
Definition at line 58 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.ATTR_MATCHES = "matches" |
Definition at line 40 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.ATTR_PROCESS_TIME = "process_time" |
Definition at line 43 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.ATTR_SUMMARY = "summary" |
Definition at line 41 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.ATTR_TOTAL_MATCHES = "total_matches" |
Definition at line 42 of file image_processing.py.
| homeassistant.components.tensorflow.image_processing.CATEGORY_SCHEMA |
Definition at line 67 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_AREA = "area" |
Definition at line 45 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_BOTTOM = "bottom" |
Definition at line 46 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_CATEGORIES = "categories" |
Definition at line 47 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_CATEGORY = "category" |
Definition at line 48 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_FILE_OUT = "file_out" |
Definition at line 49 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_GRAPH = "graph" |
Definition at line 50 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_LABEL_OFFSET = "label_offset" |
Definition at line 52 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_LABELS = "labels" |
Definition at line 51 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_LEFT = "left" |
Definition at line 53 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_MODEL_DIR = "model_dir" |
Definition at line 54 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_RIGHT = "right" |
Definition at line 55 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.CONF_TOP = "top" |
Definition at line 56 of file image_processing.py.
| string homeassistant.components.tensorflow.image_processing.DOMAIN = "tensorflow" |
Definition at line 37 of file image_processing.py.
| homeassistant.components.tensorflow.image_processing.PLATFORM_SCHEMA |
Definition at line 71 of file image_processing.py.