News for hackers. Stuff that matters.
Re:ImageMagick, four point perspective distortion in a video by sillysaurus3 on Sunday December 07, 2014 @04:03PM (#8713550)
Thankfully the monitor did not move much so some fixed distortion parameters worked.

Even if the monitor moved alot (http://hyperboleandahalf.blogspot.com/2010/04/alot-is-better...) it'd be fairly easy to write an algorithm to detect the four corners of the video. You basically want to throw some edge detection at it, and then look for anything that seem like corners.

Re:ImageMagick, four point perspective distortion in a video by girvo on Sunday December 07, 2014 @06:28PM (#8714044)
> You basically want to throw some edge detection at it, and then look for anything that seem like corners.

Which, if you're a web dev like I am, seems scary at first, especially when you're (like me) lacking a CS education. However, as it turns out, understanding edge detection and Haar cascades (for feature detection, that was the problem I was solving) enough to be dangerous with OpenCV is surprisingly easy! I recently built some facial feature detection stuff in it that is in production right now, and it only took me a couple weeks :) So, have a play!

Re:ImageMagick, four point perspective distortion in a video by lhl on Sunday December 07, 2014 @09:46PM (#8714659)
Re:ImageMagick, four point perspective distortion in a video by krick on Sunday December 07, 2014 @09:13PM (#8714568)
Right, but then you wouldn't use imagemagick for the task anymore...