Closed ChillyGuy closed 8 years ago
Ok if anyone else banging hes head against the wall with the similar problem. 1st as readme instructs gather 3000+ plate images. in my case problem was after every stage opencv adds to the positive number which is provided from ./prep.py train to resolve this issue i prepared 3198 plates and reduced the number after train command to 3000 and it worked like a charm.
Hello, Can you tell me please where I can find the prep.py script? I installed openalpr and it works fine but when i try to do the training I couldn't find this script. Thank you in advance
Hi, Try these two links you can find everything needed to train ocr or detector. http://doc.openalpr.com/opensource.html#training-ocr http://doc.openalpr.com/opensource.html#training-the-detector
Hello,
I have been messing around with openalpr project for somedays now and been reading about it as much as i could however theres a problem which remains unanswered.
Im trying to train openalpr plate detector for certain angles, i gathered around 1000 plates as positive image changed the prep script regarding to my needs and executed the script, for some reason i ran into the problem which is written below :
somehow after executing /prep.py train command variable "num_neg_samples" can not be located in python, after a quick look i added num_neg_samples = file_len(NEGATIVE_INFO_FILE) below " num_pos_samples = file_len(POSITIVE_INFO_FILE)" to the line 173 this took care of my variable problem but after executing train command process stops in stage 2
thanks in advance :)