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

Classes

class  ImageProcessingAlprEntity
 
class  OpenAlprCloudEntity
 

Functions

None async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_PLATE = "plate"
 
string ATTR_PLATES = "plates"
 
string ATTR_VEHICLES = "vehicles"
 
string EVENT_FOUND_PLATE = "image_processing.found_plate"
 
string OPENALPR_API_URL = "https://api.openalpr.com/v1/recognize"
 
list OPENALPR_REGIONS
 
 PLATFORM_SCHEMA
 

Detailed Description

Component that will help set the OpenALPR cloud for ALPR processing.

Function Documentation

◆ async_setup_platform()

None homeassistant.components.openalpr_cloud.image_processing.async_setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  async_add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the OpenALPR cloud API platform.

Definition at line 68 of file image_processing.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 35 of file image_processing.py.

◆ ATTR_PLATE

string homeassistant.components.openalpr_cloud.image_processing.ATTR_PLATE = "plate"

Definition at line 37 of file image_processing.py.

◆ ATTR_PLATES

string homeassistant.components.openalpr_cloud.image_processing.ATTR_PLATES = "plates"

Definition at line 38 of file image_processing.py.

◆ ATTR_VEHICLES

string homeassistant.components.openalpr_cloud.image_processing.ATTR_VEHICLES = "vehicles"

Definition at line 39 of file image_processing.py.

◆ EVENT_FOUND_PLATE

string homeassistant.components.openalpr_cloud.image_processing.EVENT_FOUND_PLATE = "image_processing.found_plate"

Definition at line 41 of file image_processing.py.

◆ OPENALPR_API_URL

string homeassistant.components.openalpr_cloud.image_processing.OPENALPR_API_URL = "https://api.openalpr.com/v1/recognize"

Definition at line 43 of file image_processing.py.

◆ OPENALPR_REGIONS

list homeassistant.components.openalpr_cloud.image_processing.OPENALPR_REGIONS
Initial value:
1 = [
2  "au",
3  "auwide",
4  "br",
5  "eu",
6  "fr",
7  "gb",
8  "kr",
9  "kr2",
10  "mx",
11  "sg",
12  "us",
13  "vn2",
14 ]

Definition at line 45 of file image_processing.py.

◆ PLATFORM_SCHEMA

homeassistant.components.openalpr_cloud.image_processing.PLATFORM_SCHEMA
Initial value:
1 = IMAGE_PROCESSING_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_API_KEY): cv.string,
4  vol.Required(CONF_REGION): vol.All(vol.Lower, vol.In(OPENALPR_REGIONS)),
5  }
6 )

Definition at line 60 of file image_processing.py.