This is aspect is working, the image in Zoneminder for the Object Detection shows my car labelled as 'car'.
The call is being made to PlateRecognizer and the same image is analysed and my number plate is identified.
What I don't seem to be able to get, is the alpr result displayed on the image in Zoneminder.
from my objectconfig.ini (some of the commented lines removed to reduce the noise)
Code: Select all
[monitor-23]
# front door left
match_past_detections=yes
# car_past_det_max_diff_area=5000px
#wait=5
object_detection_pattern=(person|car)
# object_detection_pattern=^(?!potted plant|pottedplant|bench|broccoli)
#alpr_detection_pattern=^(.*x11)
#delete_after_analyze=no
#detection_pattern=.*
import_zm_zones=no
# polygon areas where object detection will be done.
my_front_door_left=2,447 475,426 475,579 4,594
my_front_door_left2=105,359 283,359 278,530 106,541
#my_front_door_left_alpr=186,576 299,578 302,612 188,610
# You are now allowed to specify detection pattern per zone
my_front_door_left_zone_detection_pattern=(person)
my_front_door_left2_zone_detection_pattern=(car)
#my_front_door_left_alpr_zone_detection_pattern=(car)
# use license plate recognition for my driveway
# see alpr section later for more data needed
resize=no
my_model_sequence=object,alpr
detection_mode=all
camera_id=front_door
Code: Select all
[alpr]
alpr_detection_pattern=.*
alpr_use_after_detection_only=yes
alpr_api_type=cloud
# -----| If you are using plate recognizer | ------
alpr_service=plate_recognizer
#alpr_service=open_alpr_cmdline
# If you want to host a local SDK https://app.platerecognizer.com/sdk/
#alpr_url=http://192.168.1.21:8080/alpr
# Plate recog replace with your api key
alpr_key=!PLATEREC_ALPR_KEY
# if yes, then it will log usage statistics of the ALPR service
platerec_stats=yes
# If you want to specify regions. See http://docs.platerecognizer.com/#regions-supported
#platerec_regions=['us','cn','kr']
# minimal confidence for actually detecting a plate
platerec_min_dscore=0.1
# minimal confidence for the translated text
platerec_min_score=0.2