Download the weights for Yolov5 and Low-Light Image Enhancement model from here.
and create a folder “weights” and put them inside.
git clone https://github.com/amish1706/license_plate_recognition
python pipeline.py <image_path>
<image_path>
--save
: Save the annotated image in output directory, i.e. outputs--show
: View the annotated image--llie
: Apply low-light image enhancement (if your image is shot in low light, set this to True)--out_dir
: Output directory for saving results--model
: TrOCR model used for OCR (default : trocr-small-printed) Check available models
python deploy.py