connervieira / Predator

A multi-purpose camera system focused on offline license plate and object recognition
https://v0lttech.com/predator.php
GNU Affero General Public License v3.0
104 stars 14 forks source link

Multiple license plate formats #7

Closed larmicfre closed 1 year ago

larmicfre commented 1 year ago

As per feature request issue #6 these changes extends the validation system to support multiple license plate formats. Now users can input a comma-separated list of desired plate formats which the ALPR will validate against. Instead of checking against a single format, the system now iterates over multiple provided formats.

Improved user prompt for entering plate formats. Now, users will see all current formats as a comma-separated list, enhancing clarity and ease of modification.

This implementation has only been tested on pre-recorded video so far. It assumes that the user provides valid formats when prompted and does not input conflicting or erroneous formats. Future enhancements could add more in-depth user input validation.

connervieira commented 1 year ago

Reviewed and merged. Thanks for the help!

I verified that the changes work with pre-recorded video, but I don't have the supplies to check real-time functionality currently. However, I didn't see any glaring issues in the code. I'll test more thoroughly before the next stable release.