bykdysn
bykdysn

Reputation: 21

How do I get images from webcam without using OpenCV?

The library used in the project does not work with OpenCV.Therefore I need to trade without using OpenCV. Which module should I use for this? To take images from the camera?

I'm using python 3 Thankyou.

Upvotes: 2

Views: 1986

Answers (2)

Dishin H Goyani
Dishin H Goyani

Reputation: 7723

or you can use SimpleCV

from SimpleCV import Image, Camera

cam = Camera()
img = cam.getImage()
img.save("filename.jpg")

Upvotes: 2

utek
utek

Reputation: 831

Depending on the OS you are using. You can try with pygame.camera, VideoCapture - http://videocapture.sourceforge.net/, or pyavfcam - https://github.com/dashesy/pyavfcam.

Upvotes: 1

Related Questions