easyTello icon indicating copy to clipboard operation
easyTello copied to clipboard

no picture showed

Open WangsunLiu opened this issue 4 years ago • 5 comments

I tested the program by code:

`from tello import Tello

tello = Tello() tello.command() tello.streamon() tello.wait(10) tello.streamoff() `

and here's what I got: image

And there is no window show up to let me see the video as it supposed to be. When I want make it fly it excuted very well. What's the problem?

Is it because of decoder?Do I need a extra decoder to make it work?

I'm using windows 8.1, with python3.7.

Thank you so much.

WangsunLiu avatar Aug 01 '19 06:08 WangsunLiu

easyTello uses OpenCV-Python to display video. When 'streamon' is called an OpenCV window should be opened to view the video stream. I haven't been able to test easyTello on Windows 8.1 so I'm not sure if it's an issue with the OS or if your environment doesn't like the way I'm calling OpenCV. What's weird is that there are no errors showing up which makes it difficult to diagnose. Maybe check if Windows (or something else on your system) is blocking OpenCV from opening. Hope this helps. Let me know if anything else comes up

ezrafielding avatar Aug 23 '19 07:08 ezrafielding

Thank you for your response, but my intership had ended before and I don't in charge of the Tello anymore. But thank you all the same. Have a nice day.

Ezra Fielding [email protected] 于2019年8月23日周五 下午3:05写道:

easyTello uses OpenCV-Python to display video. When 'streamon' is called an OpenCV window should be opened to view the video stream. I haven't been able to test easyTello on Windows 8.1 so I'm not sure if it's an issue with the OS or if your environment doesn't like the way I'm calling OpenCV. What's weird is that there are no errors showing up which makes it difficult to diagnose. Maybe check if Windows (or something else on your system) is blocking OpenCV from opening. Hope this helps. Let me know if anything else comes up

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Virodroid/easyTello/issues/16?email_source=notifications&email_token=AMQNWIAGS47VHI4V6QILOYTQF6D2NA5CNFSM4IINIDAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD47KLVA#issuecomment-524199380, or mute the thread https://github.com/notifications/unsubscribe-auth/AMQNWIERMMNWGYBZR4CIUFDQF6D2NANCNFSM4IINIDAA .

WangsunLiu avatar Sep 03 '19 07:09 WangsunLiu

Hi, I am getting the same behaviour, I have all the dependencies sorted out. I am using Ubuntu 18.04. And I figured it was not a firewall issue, I think its an open cv issue,

"IMPORTANT NOTE MacOS and Linux wheels have currently some limitations:

video related functionality is not supported (not compiled with FFmpeg) for example cv2.imshow() will not work (not compiled with GTK+ 2.x or Carbon support)"

Do you have a fix ? or can you tell me how you installed opencv?

CrashxZ avatar Feb 18 '20 20:02 CrashxZ

Also just in case can you tell me which port does it use to listen to the video? is it 9617?

CrashxZ avatar Feb 18 '20 20:02 CrashxZ

My internship has ended a long time ago and I don't remember the details anymore. Sorry that I cannot help for that.

Mainak Mondal [email protected] 于2020年2月19日周三 上午4:18写道:

Also just in case can you tell me which port does it use to listen to the video? is it 9617?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Virodroid/easyTello/issues/16?email_source=notifications&email_token=AMQNWIA3PZFMA3FTGHHZV5TRDQ7B3A5CNFSM4IINIDAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMEMZIY#issuecomment-587779235, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQNWIDF4D3SZLQ3LTNZENTRDQ7B3ANCNFSM4IINIDAA .

WangsunLiu avatar Mar 06 '20 02:03 WangsunLiu