Description
We have used openALPR to locate the license plate in each frame and to detect the moving vehicle license plate number. The GMM background subtraction followed by some morphological operations algorithm detects the moving vehicle and feed that cropped part to openALPR with some tweaking in its configuration to improve the accuracy.
How to Run
We consider that you have already installed openALPR in windows.
Here is the instruction to run the script followed by an example.
step1: go to the directory where code exists
step2: use it as
main.py <-c><country code> <–config><C:/openALPR_1/openalpr_64/openalpr.conf> <–runtime_data><C:/openALPR_1/openalpr_64/runtime_data> <video file> <threshold value to detect vehicle>
default config and runtime is saved in code as per my system path as
config-C:/openALPR_1/openalpr_64/openalpr.conf
runtime path-C:/openALPR_1/openalpr_64/runtime_data
* you can change the default settings
step3: example
F:\odesk\Francisco-2\alpr_2>python main.py -c mx F:/odesk/Francisco-2/OneDrive-2018-02-01/15ene2018.avi 100000
Install openALPR
This link helps for it https://stackoverflow.com/questions/39092992/install-openalpr-in-windows-python
Reviews
There are no reviews yet.