To extract the registration number of a car entering inside a parking lot.
python Launch.py -i <path to the image> -s <specify if to save the intermediate results, True or False> -o <if want to save the intermediate results then specify the path to the folder where to keep them> -sh <Speficy if to see the intemediate results, True or False>
pip install pipenv
(then try typing pipenv in the terminal. If you get a list of options then it is successful)sudo pip install pipenv
pipenv shell
pipenv install
Set up is complete
python Start.py
Then specify the path to the video file``
(This requires FFMPEG installed, if you don’t have then don’t worry another version for this functionality will be uploaded soon)
python Launch.py -i <image_name> -s <True or False> -o <folder_name> -sh <True or False>
Run python Launch.py -h
to get this:
optional arguments:
Let ‘correct’ = (number of license plates correctly detected) Let ‘total images’ = total number of license plates.
Total images = 480
Accuracy = (correct * 100) / Total images
In this project we start with the process.py file that asks to input the name of the video file for which we want the prediction. This then breaks the video into frames and stores them in a folder name ‘data’. The we run our send each frame to the main.py which will return the predicted image and the cropped license plate from the frame. We have displayed a test run on a car image shown below.