RobertGCNiu / UAV-Gesture-Control_Python

70 stars 20 forks source link

video_effect lost response #3

Open Tame7790 opened 5 years ago

Tame7790 commented 5 years ago

I‘m so sorry that I have another problem. When I run the video_effect, it lost response and then stop runnning. So can you tell me what should I do? Thanks a lot. image

RobertGCNiu commented 5 years ago

I am not sure but you can try to delete the waitkey(1) command. If it doesn't work, you need to debug the lines one by one.

Tame7790 commented 5 years ago

I'm sorry but I can't find waitkey(1) in video_effect.py. I can only find interupt = cv2.waitKey(10) in that. And then, I find a difference between runnning video_effect and tello's video_effect. When I run the tutorial of tello, the speed is 300+kb/s, but when I run your tutorial, it's only 120+kb/s. Is there a problem?

RobertGCNiu commented 5 years ago

Coment this command drone.set_video_encoder_rate(1) and set waitKey(10) to waitKey(1)

Tame7790 commented 5 years ago

It seems not right for me. I will use the Linux system to have a test. Maybe this weekend I can test it

Tame7790 commented 5 years ago

Well, unfortunately,I need to use some software in Windows, so I can't use Ubuntu. I have installed python3.6.8, VS15, camke, openpose1.4.0, CUDA8.0 and cuDNN5.1. Can you tell me what else software I need to use your UAV-gesture-control?

RobertGCNiu commented 5 years ago

You can try here. My program for video is based on this program.