ljmerza / frigate_plate_recognizer

Identify license plates via Plate Recognizer and add them as sublabels to Frigate
120 stars 15 forks source link

Watched plates returns None ? #51

Open atv2016 opened 6 months ago

atv2016 commented 6 months ago

https://github.com/ljmerza/frigate_plate_recognizer/blob/4149b315d77310b6045a8dc6f0451e788422c46f/index.py#L150C1-L154C34

    #Step 1 - test if top plate is a watched plate
    matching_plate = str(plate_number).lower() in config_watched_plates 
    if matching_plate:
        _LOGGER.info(f"Recognised plate is a Watched Plate: {plate_number}")
        return None, None, None  

Should that not return plate_number ?