My Swarm Trap Cameras are both very close to the objects they're monitoring, and there's some ugly fisheye effect:

Obviously that box and the board it's sitting on should be rectangular.
I'm already processing the video through ffmpeg before pushing it to YouTube, so it would be easy to add a defish filter like:
except that I have no idea what k1 and k2 should be.
Has anyone here defished images from this camera before? Would anyone have any idea what a reasonable range of arguments might be?
Thanks!!

Obviously that box and the board it's sitting on should be rectangular.
I'm already processing the video through ffmpeg before pushing it to YouTube, so it would be easy to add a defish filter like:
Code:
-vf "lenscorrection=cx=0.5:cy=0.5:k1=-0.227:k2=-0.022"
except that I have no idea what k1 and k2 should be.
Has anyone here defished images from this camera before? Would anyone have any idea what a reasonable range of arguments might be?
Thanks!!