News for hackers. Stuff that matters.
Re:ImageMagick, four point perspective distortion in a video by revelation on Sunday December 07, 2014 @02:33PM (#8713272)
If you want to do this in much faster than realtime, calculate the transform once and apply it e.g. using OpenCVs remap (1).

1: http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/remap/...

Re:ImageMagick, four point perspective distortion in a video by silveira on Sunday December 07, 2014 @04:25PM (#8713623)
I have played a little bit with OpenCV in the past (http://silveiraneto.net/tag/opencv/) but I wouldn't know how to do it with OpenCV, while with ImageMagick it seems simple. I'd love to see an example with OpenCV as I could use it one day in real time with the camera input.
Re:ImageMagick, four point perspective distortion in a video by revelation on Sunday December 07, 2014 @08:20PM (#8714419)
Here is how it would work in OpenCV:

https://gist.github.com/stschake/445aea35a3c9846573ad

I'm getting 50fps with the imshow, 100 without on an ooold Q6600. That said, remap is basically memory-bandwidth limited.

Re:ImageMagick, four point perspective distortion in a video by lobster_johnson on Monday December 08, 2014 @02:19AM (#8715372)
I always assumed OpenCV was about computer vision, and I'm (pleasantly!) surprised it's this extensive. Does this mean it's good as a general-purpose image processing library? Not a fan of Imagemagick and have been looking for something better and faster.
Re:ImageMagick, four point perspective distortion in a video by zo1 on Sunday December 07, 2014 @05:12PM (#8713786)
With OpenCV, it doesn't get any simpler than this:

http://www.pyimagesearch.com/2014/05/05/building-pokedex-pyt...

It's even written in Python.

Re:ImageMagick, four point perspective distortion in a video by dmritard96 on Sunday December 07, 2014 @04:00PM (#8713538)
if the camara and tv are stationary, sure. The most interest is being able to calculate the transformation and then apply in faster than realtime - especially for AR/VR applications as you can move around and it would still work.