-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi @TiagoPrata , I push data img with python code but stream video not work.
this's simple code:
cap = cv2.VideoCapture(rtsp)
while True:
ret, frame = cap.read()
if ret:
frame = cv2.resize(frame,(1296,972))
_, buffer = cv2.imencode('.jpg', frame)
img_base64str = base64.b64encode(buffer).decode('utf-8')
response = requests.post(url, json={'img_base64str': img_base64str})
print(response.json())
print(str(datetime.datetime.now()))
if cv2.waitKey(1) & 0xff == ord('q'):
break
Can
you tell my issue in this case ?
Thank you verry muck !
Metadata
Metadata
Assignees
Labels
No labels