mirror of
https://github.com/home-assistant/core.git
synced 2026-09-24 02:34:36 +01:00
27 lines
521 B
Python
27 lines
521 B
Python
"""Constants for the image_processing component."""
|
|
|
|
from enum import StrEnum
|
|
from typing import Final
|
|
|
|
DOMAIN: Final = "image_processing"
|
|
|
|
|
|
class ImageProcessingEntityStateAttribute(StrEnum):
|
|
"""State attributes for image processing entities."""
|
|
|
|
FACES = "faces"
|
|
TOTAL_FACES = "total_faces"
|
|
|
|
|
|
class ImageProcessingDeviceClass(StrEnum):
|
|
"""Device class for image processing entities."""
|
|
|
|
# Automatic license plate recognition
|
|
ALPR = "alpr"
|
|
|
|
# Face
|
|
FACE = "face"
|
|
|
|
# OCR
|
|
OCR = "ocr"
|