FastALPR
Python template · sinapsis_fast_alpr.templates.fast_alpr
Overview
Template to run automatic license plate recognition with Fast ALPR and save the best prediction
Example agent:
agent: name: my_test_agent templates: - template_name: InputTemplate class_name: InputTemplate attributes: {} - template_name: FastALPR class_name: FastALPR template_input: InputTemplate attributes: detector_model: yolo-v9-s-608-license-plate-end2end ocr_model: cct-xs-v1-global-model detection_threshold: 0.5 ocr_threshold: 0.5 alpr_y_threshold: 0.7
Capabilities
Capabilities: not setInstallation
Install the published package using pip or uv.
pip install sinapsis-fast-alpr==1.0.0uv pip install sinapsis-fast-alpr==1.0.0uv add sinapsis-fast-alpr==1.0.0Configuration
Effective fields from the inspector schema, including nested Pydantic model fields.
Optional
Default: null
ocr_model name for fast-alpr
Optional
Default: "cct-xs-v1-global-model"
threshold for ocr scores
Optional
Default: 0.5
license plate detector model name for fast-alpr
Optional
Default: "yolo-v9-s-608-license-plate-end2end"
threshold for starting license plate recognition where 0.0 represents top of the image and 1.0, the bottom
Optional
Default: 0.7
threshold for detection scores
Optional
Default: 0.5
Configuration example
Generated from documented defaults. Replace any placeholders and complete required nested settings before running.
templates:
- template_name: "FastALPR"
class_name: "FastALPR"
attributes:
ocr_model: "cct-xs-v1-global-model"
ocr_threshold: 0.5
detector_model: "yolo-v9-s-608-license-plate-end2end"
alpr_y_threshold: 0.7
detection_threshold: 0.5
Inheritance
sinapsis_core.template_base.template.TemplateEnvironment variables
Environment definitions belong to their canonical Python modules.
No directly related environment variables listed.