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: 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 | The Dolphins Might Be The Worst Nfl Team - At Up-Tube.com

Path Animation in Python - DFW Skytram The Dolphins might be the worst NFL team 2 days ago   02:40

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

The Dolphins might be the worst NFL team Path Animation in Python - DFW Skytram 2 days ago   06:53

Stephen A. Smith calls the Miami Dolphins "atrocious" after losing 43-0 to the Patriots, while Max Kellerman explains why Antonio Brown takes New England to a level that makes the team favorites over the Kansas City Chiefs.

✔ Subscribe to ESPN+ https://plus.espn.com/
✔ Get the ESPN App: http://www.espn.com/espn/apps/espn
✔ Subscribe to ESPN on YouTube: http://es.pn/SUBSCRIBEtoYOUTUBE
✔ Subscribe to ESPN FC on YouTube: http://bit.ly/SUBSCRIBEtoESPNFC
✔ Subscribe to NBA on ESPN on YouTube: http://bit.ly/SUBSCRIBEtoNBAonESPN
✔ Watch ESPN on YouTube TV: http://es.pn/YouTubeTV

Exclusive interviews with Rachel Nichols https://urlzs.com/jNURe
Stephen A. Smith on ESPN https://urlzs.com/W19Tz

ESPN on Social Media:
► Follow on Twitter: http://www.twitter.com/espn
► Like on Facebook: http://www.facebook.com/espn
► Follow on Instagram: www.instagram.com/f/espn

Visit ESPN on YouTube to get up-to-the-minute sports news coverage, scores, highlights and commentary for NFL, NHL, MLB, NBA, College Football, NCAA Basketball, soccer and more.

More on ESPN.com: http://www.espn.com