A PHP Error was encountered

Severity: Warning

Message: json_decode() expects parameter 1 to be string, array given

Filename: helpers/youtube_helper.php

Line Number: 512

A PHP Error was encountered

Severity: Warning

Message: json_decode() expects parameter 1 to be string, array given

Filename: helpers/youtube_helper.php

Line Number: 571

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: helpers/youtube_helper.php

Line Number: 628

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: helpers/youtube_helper.php

Line Number: 651

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/httpd/up-tube.com/content/html/system/core/Exceptions.php:185)

Filename: libraries/Tracker.php

Line Number: 47

Path Animation In Python - Dfw Skytram | - At Up-Tube.com

Path Animation in Python - DFW Skytram 2 days ago   02:40

HamQM
Time lapse of the Dallas/Fort Worth International Airport Skytram, paired with a graphic of the airport and the tram's movement (Coded in Python).
--------------------------------------------------------------------------------------------------------------------------
The Python program calculates continuous movement along a user-drawn path based on user-provided time and position, and animates it using OpenCV. The path pixels are first found with color filtering, and then they are ordered, skelatonizes, and filtered so the animated object doesn't jump from point to point.

It's not perfect (partially due to the accuracy of my time and position stamps), but something neat to do with Python and OpenCV's easy video exporting.

--------------------------------------------------------------------------------------------------------------------------
(What is fairly cool is that this can easily be extended into different dimensions. The object's position is parameterized by the path's index, so take a path drawn on a 1D line, a 2D surface like this map, or a 3D environment, and you would still have the core operation of cycling through an index at varying velocities or accelerations in the same way seen here.)

Comments 2 Comments

Memorias de un Informatico
Your videos are always very interesting :)
Add Reply

Path Animation in Python - DFW Skytram 2 days ago   01:07

Related Videos