Search code examples
pythonopencvimage-processingface-recognition

How to zoom the logitech webcam c930e using opencv with python programming?


I am trying to do face recognition of multiple people using logitech c930e webcam. so i want to zoom the c930e webcam using opencv Programming in python.

I had tried resizing the image but i want camera should be zoom and focused on a fixed distance using python programming.

I expect multiple webcam to be connected on one computer and all webcam is having different value of fixed zoom using programming.


Solution

  • Logitech c930e webcam is just an external hardware and if you want it to zoom and focus using python programming, you need a library to control the webcam (unfortunately, there isn't any library for it). Without library to control the webcam, you can only do zooming and focus by software way, i.e using opencv, there is no other available way. Or you can get a programmable camera such as a Canon digital camera and use the library canon-remote to control it.