Mauricio Guerta commited on
Commit
4409d4d
·
1 Parent(s): abc84f2

Uma camera apenas

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ ip = '177.94.213.14'
12
  for x in range(1):
13
  #capture[x] = cv2.VideoCapture('rtsp://atualli:Atualli22@'+ip+':1024/Streaming/channels/'+str(x+1)+'02/?transportmode=unicast')
14
  strrtsp = 'rtsp://'+ip+':554/user=atualli&password=Ope1w3r&channel='+str(x+1)+'&stream=0.sdp'
15
- capture[x] = cv2.VideoCapture(0) # cv2.VideoCapture(strrtsp)
16
  print (strrtsp)
17
 
18
  pic = [st.empty(),st.empty(),st.empty(),st.empty(),st.empty(),st.empty(),st.empty(),st.empty()]
 
12
  for x in range(1):
13
  #capture[x] = cv2.VideoCapture('rtsp://atualli:Atualli22@'+ip+':1024/Streaming/channels/'+str(x+1)+'02/?transportmode=unicast')
14
  strrtsp = 'rtsp://'+ip+':554/user=atualli&password=Ope1w3r&channel='+str(x+1)+'&stream=0.sdp'
15
+ capture[x] = cv2.VideoCapture(strrtsp)
16
  print (strrtsp)
17
 
18
  pic = [st.empty(),st.empty(),st.empty(),st.empty(),st.empty(),st.empty(),st.empty(),st.empty()]