Open wsh32 opened 3 years ago
Camera autofocus isn't reliable, it consistently blurs the entire image. While this is mostly okay, it harms performance when the puck is in motion.
The table is far away enough that we can set it to the infinite focus setting (0) as seen here: https://stackoverflow.com/questions/16319759/disable-webcams-autofocus-in-linux
Setting it using v4l2-ctl works, though we should use the cv2.CAP_PROP settings
v4l2-ctl
cv2.CAP_PROP
v4l2-ctl --set-ctrl=focus_auto=0 v4l2-ctl --set-ctrl=focus_absolute=0
Camera autofocus isn't reliable, it consistently blurs the entire image. While this is mostly okay, it harms performance when the puck is in motion.
The table is far away enough that we can set it to the infinite focus setting (0) as seen here: https://stackoverflow.com/questions/16319759/disable-webcams-autofocus-in-linux