I have been reading up about fisheye removal and digital lens trickery in Processing.
I am curious to find a good method to remove (or add) the fisheye effect in live video (camera, USB, etc). Assuming the lens and camera optics is something you cannot change, etc. This seems to be a really useful solution to nail down as this is a requisite for pixel perfect tracking and other camera fun.
It seems the shader method is the best. I have found examples here: https://forum.processing.org/two/discussion/14788/fisheye-lens-shader
Questions arise such as:
1) Can this shader be applied to live video?
2) Is this a computationally efficient way remove distortion or is there another way?