It seems like it takes forever for my external webcam to actually take the picture. As soon as the picture is taken, it works. When I set it to VideoCapture(0), it works much faster but I need to use my external webcam instead so I have to set it to VideoCapture(1). Does anyone know how to speed up this process? The rest of my code finishes instantly after the picture is finally taken with the external webcam.