alpr-unconstrained icon indicating copy to clipboard operation
alpr-unconstrained copied to clipboard

run only the code license-plate-ocr.py not working

Open roysG opened this issue 5 years ago • 1 comments

Hi, i am trying to run just the code for detect the ocr of plate.

but i get error or no result

roysG avatar Mar 20 '20 15:03 roysG

Can you be specific about error Comment

  • https://github.com/sergiomsilva/alpr-unconstrained/blob/1cf77f16d84d5f6e407cd15afd6bdd76ad4deca4/run.sh#L90
  • https://github.com/sergiomsilva/alpr-unconstrained/blob/1cf77f16d84d5f6e407cd15afd6bdd76ad4deca4/run.sh#L93 in run.sh

Change this line in license-plate-ocr.py to

imgs_paths = sorted(glob('%s/*' % input_dir))

input_dir should contain images of license plates then run

bash run.sh -i input_dir -o output_dir -c output_dir/results.csv

saharshleo avatar Nov 02 '20 09:11 saharshleo