apoorva-dave / LicensePlateDetector

Detects license plate of car and recognizes its characters
345 stars 113 forks source link

how to work on image..... it only take videos #22

Closed whodanyalahmed closed 3 years ago

whodanyalahmed commented 3 years ago

filename = './car.png' when I change this to image it shows this error:

FileNotFoundError: No such file: 'I:\clients\NumperPlateExtractor\output\frame-1.jpg'

apoorva-dave commented 3 years ago

If you want to work with images, you can comment out the part where we are taking videos as input and then detecting plate. And uncomment below line - car_image = imread("car.png", as_gray=True) Also, if you want you can raise a PR to provide user an option whether to upload car or videos.