Capture a picture with V4L2
Capture a picture with V4L2 Brief As we has seen before, cameras in Linux could be a complex [1] story and you have to watch every step you take to get it right. libcamera [2] does a great job to simplify this in an platform independent way and should be used whenever it's possible.
But not all cameras have a complex flow-chart. Some cameras (e.g. web cameras) are "self-contained" where the image data goes straight from the camera to the user application, without any detours through different IP blocks for image processing on its way.
Posted by Marcus Folkesson on Sunday, March 19, 2023