Reputation: 21
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
Reputation: 7723
or you can use SimpleCV
from SimpleCV import Image, Camera
cam = Camera()
img = cam.getImage()
img.save("filename.jpg")
Upvotes: 2
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