Camera wifi

Discussions about all things Bitcraze
Post Reply
RyanMco
Expert
Posts: 159
Joined: Tue Apr 09, 2019 6:15 am

Camera wifi

Post by RyanMco »

Hi !
I bought wifi ESP2 crazyflie and I used python openCV script which it's :
import numpy as np
import cv2

cap = cv2.VideoCapture("http://192.168.1.64")

while(True):

ret, frame = cap.read()
cv2.imshow('frame',frame)

if cv2.waitKey(1) & 0xFF == ord('q'):
break

cap.release()
cv2.destroyAllWindows()

the video stream over my openCV is really lag SO I think the problem with my opencv script, how do I stream video over opencv with wifi ESP2 with PYTHON/C++ SCRIPT?
thanks alot !

I have a connection to my wifi camera and I have video stream or actually photos with my opencv python script ! .. any help how to stream properly my video over opencv python script with wifi camera? *I've connection to it ..my problem how to stream it properly over openCV python script? thanks
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Camera wifi

Post by tobias »

Could you please give us more background information, e.g. what exact hardware are you using. Also, WiFi cameras tend to have large lag times and I'm not sure you will be able to do something about that.
Post Reply