Skip to content

Commit

Permalink
Merge pull request #232 from ria-com/v3.2
Browse files Browse the repository at this point in the history
Update number-plate-filling-demo.py
  • Loading branch information
dimabendera authored Jul 21, 2022
2 parents 2040a5c + 7b3ba50 commit ca64983
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/py/inference/number-plate-filling-demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ def parse_args():
kwargs = parse_args()
is_show = kwargs["show"]

number_plate_short_detection_and_reading = pipeline("number_plate_short_detection_and_reading",
number_plate_short_detection_and_reading = pipeline("number_plate_key_points_filling",
image_loader="opencv")

root_dir = os.path.join(nomeroff_net_dir, './data/examples/oneline_images/example1.jpeg')
images = number_plate_short_detection_and_reading(glob.glob(root_dir))

if is_show:
for img in images:
cv2.imshow("Display window", img)
Expand Down

0 comments on commit ca64983

Please sign in to comment.