I’m working on a final project of my universe. I need to object tracking with parrot mambo and perform obstacle avoidance with using optical flow algorithm.
I need to get camera frames from the top camera of parrot mambo. I get confused about how to get those frames as fast as possible.
I’m using python for my purpose. I’m using https://github.com/amymcgovern/pyparrot library to control parrot.
cv2.VideoCapture("rtsp://192.168.99.1/media/stream2") however it has around 2-3 second latency which makes my algorithm impossible. Can you give me a proper way of getting frames?