Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No. You can't do like that from .cv2 import *. Use this:

import cv2

No. You can't do like that from .cv2 import *. Use this:

import cv2

Then you can do this for instance:

cv2.VideoCapture(0)

and so on.

No. You can't do like that from .cv2 import *. Use this:

import cv2

Then you can do this for instance:

cv2.VideoCapture(0)

and so on.on. Here is link for newbie newbie tutorial

No. You can't do like that from .cv2 import *. Use this:

import cv2

Or:

import cv2 as cv

Then you can do this for instance:

cv2.VideoCapture(0)

Or:

cv.VideoCapture(0)

and so on. Here is link for newbie newbie tutorial

No. You can't do like that from .cv2 import *. Use this:

import cv2

Or:

import cv2 as cv

Then you can do this for instance:

cv2.VideoCapture(0)

Or:

cv.VideoCapture(0)

and so on. Here is link for newbie newbie tutorialgetting started

No. You can't do like that Just remove dot before cv2 from .cv2 import *. Use this: to:

from cv2 import cv2
*

Or:

import cv2 as cv

Then you can do this for instance:

cv2.VideoCapture(0)

Or:

cv.VideoCapture(0)

and so on. Here is link for newbie getting started