NassimeBejaia commited on
Commit
fa6f892
1 Parent(s): d3b2c1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -9
app.py CHANGED
@@ -1,4 +1,7 @@
1
  # Bissmillah
 
 
 
2
  import streamlit as st
3
  import os
4
  from os import listdir
@@ -65,10 +68,7 @@ def starter():
65
 
66
  st.video(video)
67
 
68
- #st.write('in function : vname = ', vname)
69
- #st.write('in function ', os.listdir('test_detection/data/'))
70
- #st.write('in function ', os.listdir('test_detection/yolov5/weights/'))
71
-
72
  vidcap = cv2.VideoCapture( "test_detection/data/"+vname)
73
  #frames = cv.get_frames("data/"+vname)
74
  success, frame0 = vidcap.read()
@@ -177,9 +177,6 @@ if __name__ == '__main__':
177
 
178
  os.system('git clone --recurse-submodules https://github.com/nnassime/test_detection.git')
179
 
180
- #st.write(os.listdir())
181
- #st.write(os.listdir('test_detection/'))
182
- #os.system('python test_detection/__streamlit_app.py')
183
 
184
  load_model()
185
  st.write("bismillah")
@@ -187,6 +184,5 @@ if __name__ == '__main__':
187
 
188
  main()
189
 
190
- #st.write('out function ', os.listdir('test_detection/data/'))
191
- #st.write('out function ', os.listdir('test_detection/yolov5/weights/'))
192
 
 
1
  # Bissmillah
2
+ #https://streamlit-webrtc-example.herokuapp.com/
3
+ #https://github.com/amineHY/WebApp-Computer-Vision-streamlit
4
+
5
  import streamlit as st
6
  import os
7
  from os import listdir
 
68
 
69
  st.video(video)
70
 
71
+
 
 
 
72
  vidcap = cv2.VideoCapture( "test_detection/data/"+vname)
73
  #frames = cv.get_frames("data/"+vname)
74
  success, frame0 = vidcap.read()
 
177
 
178
  os.system('git clone --recurse-submodules https://github.com/nnassime/test_detection.git')
179
 
 
 
 
180
 
181
  load_model()
182
  st.write("bismillah")
 
184
 
185
  main()
186
 
187
+
 
188