This is a very simple code to capture images (especially for Camera calibration) You only have to install OpenCV in your own environment. pip install opencv-python