RivianG commited on
Commit
01b1803
1 Parent(s): c32f067

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ if submit:
34
  model.conf = 0.5
35
  license = DetectLicensePlate()
36
  counter = dict()
37
- frame = np.array(image_file)
38
  try:
39
  plate_img = alpr(frame,license)
40
  #plate_img = cv2.resize(plate_img,(200,50))
 
34
  model.conf = 0.5
35
  license = DetectLicensePlate()
36
  counter = dict()
37
+ frame = np.array(image_file)[...,::-1]
38
  try:
39
  plate_img = alpr(frame,license)
40
  #plate_img = cv2.resize(plate_img,(200,50))