samariddin commited on
Commit
be54c3d
1 Parent(s): 908e980
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -38,16 +38,16 @@ def predict(video_path):
38
  for image in images:
39
  os.remove(image)
40
  problem, good, result = process(video_path)
41
- images = glob.glob(f'{_path}/*.jpg')
42
-
43
  get_car_numbers(result)
 
44
  # # selected_images = [images[0],images[len(images)//2],images[-1]]
45
  return problem+good, problem, good,images
46
  # return 0, 0, 0, images
47
 
48
 
49
  my_example = [
50
- # ['video/vid_39_1284-2_1202.mp4']
51
  # ['video/vid_39_1284-2_1174.mp4']
52
  ]
53
 
 
38
  for image in images:
39
  os.remove(image)
40
  problem, good, result = process(video_path)
41
+
 
42
  get_car_numbers(result)
43
+ images = glob.glob(f'{_path}/*.jpg')
44
  # # selected_images = [images[0],images[len(images)//2],images[-1]]
45
  return problem+good, problem, good,images
46
  # return 0, 0, 0, images
47
 
48
 
49
  my_example = [
50
+ ['video/vid_39_1284-2_1202.mp4']
51
  # ['video/vid_39_1284-2_1174.mp4']
52
  ]
53