the trailboss abuses his CodeRanch power for his other stuff (power corrupts. absolute power corrupts absolutely is kinda neat!)
permaculture light bulbs permaculture electric heat permaculture cast iron permaculture wood burning stove permaculture solar food dehydrators
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

Creating the yellow line in televised football matches

 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This will only make sense if you're at last somewhat familiar with American Football - a 3-minute video about what technology is used to add the yellow 10 yard line that's shown on your TV screen.

http://sandakith.wordpress.com/2009/01/11/mystery-of-the-football-yellow-line-solved/

[UD: Fixed the broken URL ]
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lower tech, but still cool because it's something you can do yourself, is this image-processing hack using the Java-based "Processing" system:

http://www.awgh.org/?p=21

I got this running quickly on my MacBook and was able to modify it easily to automatically put a cowboy hat on any face in the frame.The attachment is a screenshot from a live video feed (the webcam on my MacBook.) The live video is superimposing a hat on me and also on the drawing of a face I'm holding in my hand. Note how the hats are scaled to match the faces!

Believe it or not, this is the complete application which modifies a live video stream. The combination of Processing and the OpenCV image-processing library is super powerful.


hats.gif
[Thumbnail for hats.gif]
Me and a friend
 
author
Posts: 23850
141
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Interesting report. I always thought that there was something on the field that help the camera figure out where it is. I didn't think that the camera would be calibrated and "sensed" like that.... cool.

Henry
 
To avoid criticism do nothing, say nothing, be nothing. -Elbert Hubbard. Please critique this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!