2

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.

bykdysn
  • 21
  • 3
  • 3
    Does this answer your question? [Python: Access camera WITHOUT OpenCV](https://stackoverflow.com/questions/39003106/python-access-camera-without-opencv) – Dishin H Goyani Dec 11 '19 at 07:11
  • I think this is both entirely off-topic and low effort. – AMC Dec 11 '19 at 08:14

2 Answers2

2

or you can use SimpleCV

from SimpleCV import Image, Camera

cam = Camera()
img = cam.getImage()
img.save("filename.jpg")
Dishin H Goyani
  • 6,501
  • 3
  • 23
  • 34
1

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.

utek
  • 781
  • 1
  • 6
  • 9