Deevoluation / ALPR

Automatic License Plate Recognition
156 stars 62 forks source link

Not working for other videos #14

Closed suhas-goutham closed 5 years ago

suhas-goutham commented 5 years ago

Hi, I have used another video to see if it is working.Unfortunately it comes as "no license plates were detected". In the video, we can clearly see the number plate. The video I have used is for 4 min. Should i make any changes in the code

Is there any solution for this?

Saqhas commented 5 years ago

No, you don't need to make any changes to the code. The video might be a bit difficult for the detector. Can you please mail the video to me. I will check it. Mail id: saquibnadeemhashmi@gmail.com

suhas-goutham commented 5 years ago

Sure i can mail it. Thanks a lot !

Saqhas commented 5 years ago

The error seems to be with opencv. It is generating the frames from the video but they are automatically rotated 90. We are looking into this problem. Will get back to you soon.

suhas-goutham commented 5 years ago

Thank you. Can you also check why only 10 frames are generated for each video? I have tried the code with different images and videos I don't get the correct output.

suhas-goutham commented 5 years ago

You can comment two lines in videosplit.py There it rotates the image. But even after solving this problem.The accuracy is very low.

Siddhant96 commented 5 years ago

Hey suhas201227, I have uploaded a new file videosplit_sklearn.py . Also, changed the code in Start.py file to use the functionality of this new file rather than videosplit.py file. Now, there will be no problem of rotation.

Siddhant96 commented 5 years ago

@suhas201227 , You can change the numerical value of variable "framesWeNeed" to get desired number of frames.(It will generate frames near to the value given and not exact.) The code for video splitting is not robust. We designed it for videos of length upto 10 seconds. It is recommended to use short length videos which are in seconds.

suhas-goutham commented 5 years ago

Thanks a lot. I will check it out

Siddhant96 commented 5 years ago

Feel free to contact further. We will try to get back to you as soon as we can.