Shivdutta commited on
Commit
a89aba1
·
verified ·
1 Parent(s): 628350e

Upload 5 files

Browse files
Files changed (6) hide show
  1. .gitattributes +1 -0
  2. app.ipynb +0 -0
  3. app.py +9 -7
  4. rohan.jpg +0 -0
  5. tresa.mp4 +3 -0
  6. truck.jpg +0 -0
.gitattributes CHANGED
@@ -48,3 +48,4 @@ a.mp4 filter=lfs diff=lfs merge=lfs -text
48
  b.mp4 filter=lfs diff=lfs merge=lfs -text
49
  cut_a_2.mp4 filter=lfs diff=lfs merge=lfs -text
50
  cut_b_1.mp4 filter=lfs diff=lfs merge=lfs -text
 
 
48
  b.mp4 filter=lfs diff=lfs merge=lfs -text
49
  cut_a_2.mp4 filter=lfs diff=lfs merge=lfs -text
50
  cut_b_1.mp4 filter=lfs diff=lfs merge=lfs -text
51
+ tresa.mp4 filter=lfs diff=lfs merge=lfs -text
app.ipynb CHANGED
The diff for this file is too large to render. See raw diff
 
app.py CHANGED
@@ -25,7 +25,8 @@ with gr.Blocks() as demo:
25
  with gr.Tab("Video"):
26
  gr.Markdown(
27
  """
28
- Upload image file and detect vehicles present in the image
 
29
  """
30
  )
31
  with gr.Row():
@@ -36,7 +37,8 @@ with gr.Blocks() as demo:
36
 
37
  with gr.Row():
38
  gr.Examples([ 'cut_a_2.mp4',
39
- 'cut_b_1.mp4'
 
40
  ],
41
  inputs=img_input, fn=inference)
42
 
@@ -48,7 +50,7 @@ with gr.Blocks() as demo:
48
 
49
  gr.Markdown(
50
  """
51
- Upload image file and detect vehicles present in the image
52
  """
53
  )
54
  with gr.Row():
@@ -58,13 +60,16 @@ with gr.Blocks() as demo:
58
  gr.Markdown("## Examples")
59
 
60
  with gr.Row():
61
- gr.Examples([ 'lamborghini-aventador-2932196_1280.jpg',
 
 
62
  '0KL1ICR33YYZ.jpg',
63
  '0RVD53V60NOM.jpg',
64
  '0RW4I2NTAH8K.jpg',
65
  '1CSLEJ2UJD3G.jpg',
66
  '1E4CD5K13UXO.jpg',
67
  '2.jpg',
 
68
  '3BXRTQZ70A7M.jpg',
69
  '3GVLVIQ2J4P2.jpg',
70
  '3RIYE11PE0VK.jpg',
@@ -80,11 +85,8 @@ with gr.Blocks() as demo:
80
  '23BNPRMYV2RT.jpg',
81
  '24IHCQ74TBML.jpg',
82
  '38EE8ZBTSGD1.jpg',
83
-
84
  '05U2U2R2K6DN.jpg',
85
  '0KL1ICR33YYZ.jpg'
86
-
87
-
88
  ],
89
  inputs=img_input, fn=inference)
90
  image_button = gr.Button("Predict")
 
25
  with gr.Tab("Video"):
26
  gr.Markdown(
27
  """
28
+ Upload image file and detect vehicles present in the image.
29
+ Video files take some time for prediction.
30
  """
31
  )
32
  with gr.Row():
 
37
 
38
  with gr.Row():
39
  gr.Examples([ 'cut_a_2.mp4',
40
+ 'cut_b_1.mp4',
41
+ 'tresa.mp4'
42
  ],
43
  inputs=img_input, fn=inference)
44
 
 
50
 
51
  gr.Markdown(
52
  """
53
+ Upload image file and detect vehicles present in the image.
54
  """
55
  )
56
  with gr.Row():
 
60
  gr.Markdown("## Examples")
61
 
62
  with gr.Row():
63
+ gr.Examples([
64
+ 'rohan.jpg',
65
+ 'lamborghini-aventador-2932196_1280.jpg',
66
  '0KL1ICR33YYZ.jpg',
67
  '0RVD53V60NOM.jpg',
68
  '0RW4I2NTAH8K.jpg',
69
  '1CSLEJ2UJD3G.jpg',
70
  '1E4CD5K13UXO.jpg',
71
  '2.jpg',
72
+ 'truck.jpg',
73
  '3BXRTQZ70A7M.jpg',
74
  '3GVLVIQ2J4P2.jpg',
75
  '3RIYE11PE0VK.jpg',
 
85
  '23BNPRMYV2RT.jpg',
86
  '24IHCQ74TBML.jpg',
87
  '38EE8ZBTSGD1.jpg',
 
88
  '05U2U2R2K6DN.jpg',
89
  '0KL1ICR33YYZ.jpg'
 
 
90
  ],
91
  inputs=img_input, fn=inference)
92
  image_button = gr.Button("Predict")
rohan.jpg ADDED
tresa.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e30e556178185279dd69a84ea10cd6288e2ca2ef1248f4d55aececd980a570d
3
+ size 11948732
truck.jpg ADDED