Skip to content

video does not work #19

@WayneHong0603

Description

@WayneHong0603

Hi , I did try this project and it's very good
I can control my drone and flying normally
but I can't get video from drone
may I ask the simple function of code to calling the video from drone?

here is how I'd try:
from pyardrone import ARDrone
import cv2
drone = ARDrone()
cam = cv2.VideoCapture('192.168.1.1:55555')
while(True):
_,frame = cam.read()
cv2.imshow("TEST" ,frame)
cv2.waitKey(30)

thank you so much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions