30 ms·
Thankfully the monitor did not move much so some fixed distortion parameters worked. Even if the monitor moved alot (http://hyperboleandahalf.blogspot.com/2010
by sillysaurus3 12y ago
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-than-you-at-everything.html 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.
- girvo 12y ago> 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!
- deleted 12y ago[deleted]
- krick 12y agoRight, but then you wouldn't use imagemagick for the task anymore...
- lhl 12y agoYou could also probably run an OOTB algorithm to generate the tracking: http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_video/py_meanshift/py_meanshift.html http://opencv-python-tutroals.readthedocs.org/en/latest/py_t... or even http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_video/py_lucas_kanade/py_lucas_kanade.html http://opencv-python-tutroals.readthedocs.org/en/latest/py_t...