Search code examples
pythonwebcam

Python 3 Webcam


im trying to make a face detection program and I need to access my webcam. Im strictly using python 3 for this project. I have tried OpenCv and video capture, but those only work for python 2.7. Is there any way that I can code this manually in python to,

  1. A.use command line to do this,
  2. Manually code this in python somehow, or
  3. Any other modules(that work with 3).

Any help would be appreciated!


Solution

  • VideoCapture has worked really well for me in the past. The sourceforge page only shows support through python 2.7, but this page has pre-built installers through python 3.4. Simple, lightweight, and works.