This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
importtime,cv2
fromthreadingimportThread
fromdjitellopyimportTello
tello=Tello()
tello.connect()
keepRecording=True
tello.streamon()
frame_read=tello.get_frame_read()
defvideoRecorder():
# create a VideoWrite object, recoring to ./video.avi