Spaces:
Runtime error
Runtime error
Mauricio Guerta commited on
Commit ·
4409d4d
1
Parent(s): abc84f2
Uma camera apenas
Browse files
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(
|
| 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()]
|