title: How to get clear images from webcam in movement with Python?
body: <p>Is it possible to get very sharp images from a webcam capture?</p>
  <p>When the objects I want to detect in the image are stopped, the sharpness is excellent, but when the objects are in motion, the frames captured by opencv are not so sharp.</p>
  <p>I’ve already tried to change some parameters of the Logitech c920 HD 1080p camera such as:</p>
  <pre><code>v4l2-ctl -d /dev/video2 --set-ctrl=exposure_auto_priority=0
  v4l2-ctl -d /dev/video2 --set-ctrl=exposure_auto=3
  v4l2-ctl -d /dev/video2 --set-ctrl=focus_auto=0
  v4l2-ctl -d /dev/video2 --set-ctrl=focus_absolute=50
  v4l2-ctl -d /dev/video2 --set-ctrl=sharpness=255
  </code></pre>
  <p>Although the captured images have gotten better, they’re still not as sharp as I’d like.</p>
  <p>Is it possible to improve this?</p>
  <p>I will attach some examples below.</p>
  <p>Stopped capture: <a href="https://i.stack.imgur.com/z308i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z308i.png" alt="1" /></a></p>
  <p>On movement: <a href="https://i.stack.imgur.com/eKAU3.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eKAU3.jpg" alt="2" /></a></p>