apoorva-dave / LicensePlateDetector

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

List index out of range #23

Open Avant-Gardiste opened 3 years ago

Avant-Gardiste commented 3 years ago

why am i getting list index out of range please ??

apoorva-dave commented 3 years ago

Where are you getting this error?

Avant-Gardiste commented 3 years ago

Whenever i change the image ! is that normal ?

sambhuajay commented 3 years ago

Where are you getting this error?

In segmentation.py

starosek commented 2 years ago

Unfortunately I also get that error when trying to use my own images

Traceback (most recent call last): File ".../LicensePlateDetector/PredictCharacters.py", line 1, in import SegmentCharacters File ".../LicensePlateDetector/SegmentCharacters.py", line 10, in license_plate = np.invert(DetectPlate.plate_like_objects[0]) IndexError: list index out of range

spinxi commented 1 year ago

I think that's because program doesn't catch plate numbers

jarulraj commented 1 year ago

To resolve this indexing error, please consider using this notebook that also supports license plate detection:

https://github.com/georgia-tech-db/eva https://github.com/georgia-tech-db/license-plate-recognition/blob/main/README.ipynb

README_15_0