Sarvamangalak commited on
Commit
e445b3b
·
verified ·
1 Parent(s): f308121

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,8 +58,8 @@ def process_image(img):
58
  plate = image.crop((x1, y1, x2, y2))
59
  vehicle_type = classify_plate_color(plate)
60
 
61
- draw.rectangle([x1, y1, x2, y2], outline="red", width=3)
62
- draw.text((x1, y1 - 10), vehicle_type, fill="red")
63
 
64
  return image, vehicle_type
65
 
 
58
  plate = image.crop((x1, y1, x2, y2))
59
  vehicle_type = classify_plate_color(plate)
60
 
61
+ draw.rectangle([x1, y1, x2, y2], outline="yellow", width=3)
62
+ draw.text((x1, y1 - 10), vehicle_type, fill="black")
63
 
64
  return image, vehicle_type
65