dji-sdk / Tello-Python

This is a collection of python modules that interact with the Ryze Tello drone.
Other
1.36k stars 646 forks source link

snapshot not work #2

Closed mariofraga closed 6 years ago

mariofraga commented 6 years ago

Exception in Tkinter callback Traceback (most recent call last): File "C:\Python27\lib\lib-tk\Tkinter.py", line 1541, in call return self.func(*args) File "D:\Desenvolvimento\tello\Tello-Python-master\Tello_Video\tello_control_ui.py", line 245, in takeSnapshot cv2.imwrite(p, cv2.cvtColor(self.frame, cv2.COLOR_RGB2BGR)) error: OpenCV(3.4.3) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:181: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

potofpie commented 5 years ago

Did anyone find a solution to this open cv problem? Is the wrong version installed?