Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

Object tracking with Tello

Mikusan

Active member
Joined
May 21, 2018
Messages
28
Reaction score
19
Holy #@!#, this is what i have been waiting for. Now if someone would make it into an app i would even pay for it :eek: nice work man!
 

vtvt

Active member
Joined
Jun 11, 2018
Messages
31
Reaction score
51
Thanks! I will continue to develop all cool things about obj tracking and I will release app in case of high demand
 

doug01n

Active member
Joined
Jun 11, 2018
Messages
34
Reaction score
26
That's an app I would pay for too.
I'm sending to all my Tello owner's friends.
Congratulations!!!
 

Pennello

New member
Joined
Jun 8, 2018
Messages
2
Reaction score
1
Vtvt, please go on with your great job!!!
An App with object tracking (follow me mode) will be fantastic!
 
Last edited:
  • Like
Reactions: Dean Lighty

handersonluiz

Member
Joined
Jul 9, 2018
Messages
18
Reaction score
14
[QUOTE = "vtvt, post: 5126, membro: 1081"] Rastreamento de bola verde pelo OpenCV. Eu também modifiquei um pouco a biblioteca TelloPy.

[MEDIA = vimeo] 276778768 [/ MEDIA] [/ QUOTE]
Could you share the code or Github?
Please
 

guy250!

Well-known member
Joined
Jul 2, 2018
Messages
275
Reaction score
323
Great thing
Amazing work
Ill b happy to pay few $ for this app add on.
Guy
 

guy250!

Well-known member
Joined
Jul 2, 2018
Messages
275
Reaction score
323
Vtvt
Any updates about this subject?
Tx allot
Guy
 

vtvt

Active member
Joined
Jun 11, 2018
Messages
31
Reaction score
51
Yeah I am working on app, will update ASAP
 

sramctc

Member
Joined
Aug 6, 2018
Messages
6
Reaction score
0
Yeah I am working on app, will update ASAP
Dear vtvt,

I found there is a significant delay in frame obtained using TelloPy. I even tuned down the bit rate but no help
1) For 3M, I receive ~750K bytes video data for two seconds
2) For 1M, I receive ~250K bytes video data for two seconds
It seems that receiving data is alright, the loading of CPU is just 3X%. I didn't see any remarkable frame skiping , say over 1 second. That means data is really received and processed.

Can you help? Thanks a lot
 

vtvt

Active member
Joined
Jun 11, 2018
Messages
31
Reaction score
51
Dear vtvt,

I found there is a significant delay in frame obtained using TelloPy. I even tuned down the bit rate but no help
1) For 3M, I receive ~750K bytes video data for two seconds
2) For 1M, I receive ~250K bytes video data for two seconds
It seems that receiving data is alright, the loading of CPU is just 3X%. I didn't see any remarkable frame skiping , say over 1 second. That means data is really received and processed.

Can you help? Thanks a lot
Use lower resolution: for many OpenCV application you need something like 512x512.
Skip frames if you have delay. Skip first 300 frames. Use WiFi extender. Set video quality slightly lower.
Python:
 drone.set_video_encoder_rate(1)
However I personally like approach with multi threading (no skip frames needed):

Python:
def recv_thread():
    global frameA
    global run_recv_thread
    global drone
    print('start recv_thread()')
    drone = tellopy.Tello()
    drone.connect()
    drone.subscribe(drone.EVENT_FLIGHT_DATA, handler)
    drone.set_video_encoder_rate(1)
    drone.set_loglevel(drone.LOG_WARN)
    container = av.open(drone.get_video_stream())
    while run_recv_thread:
        for f in container.decode(video=0):
            frameA = f
        time.sleep(0.01)

...

threading.Thread(target=recv_thread).start()
...
while run_cv_thread:
    if frameA is None:
        time.sleep(0.01)
    else:
        #do your opencv stuff with frameA
 
  • Like
Reactions: mateustoin

New Threads

Members online

Forum statistics

Threads
4,097
Messages
31,186
Members
10,458
Latest member
Nutonthetranny