4 ms·
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/tuto
by revelation 12y ago
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/remap.html http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/remap/...
- dmritard96 12y agoif 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.
- silveira 12y agoI have played a little bit with OpenCV in the past (http://silveiraneto.net/tag/opencv/ 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.
- zo1 12y agoWith OpenCV, it doesn't get any simpler than this: http://www.pyimagesearch.com/2014/05/05/building-pokedex-python-opencv-perspective-warping-step-5-6/ http://www.pyimagesearch.com/2014/05/05/building-pokedex-pyt... It's even written in Python.
- revelation 12y agoHere is how it would work in OpenCV: https://gist.github.com/stschake/445aea35a3c9846573ad 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.
- lobster_johnson 12y agoI 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.