1 Reply Latest reply on Aug 6, 2015 12:09 PM by CMata_Intel

    Cam web black imagen

    telnet

      HI

      good morning
      I am using an id camweb 1871 : 0101, but each time I send captures the image in black

      use python and opencv

      this my code


      import numpy as np

      import cv2

      import sys

      cap=cv2.VideoCapture(0)

      if not cap.isOpened():

        print"La camara no se encuentra"

        sys.exit(-1)

      else :

        print"la camara funciona"

      ret,frame=cap.read()

      cv2.imwrite('resula.jpg',frame)

      cap.release()