thearn / webcam-pulse-detector

A python application that detects and highlights the heart-rate of an individual (using only their own webcam) in real-time.
Other
3.15k stars 594 forks source link

Unrecognized or unsupported array type in function cvGetMat #8

Open xyproto opened 11 years ago

xyproto commented 11 years ago

Hi,

64-bit Arch Linux OpenCV 2.4.5 Python 2.7.4

When running python2 test_webcam.py, this happens:

OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupported array type) in cvGetMat, file /build/src/opencv-2.4.5/modules/core/src/array.cpp, line 2482 Traceback (most recent call last): File "test_webcam.py", line 23, in cv2.imshow("Camera", img) cv2.error: /build/src/opencv-2.4.5/modules/core/src/array.cpp:2482: error: (-206) Unrecognized or unsupported array type in function cvGetMat

Best regards, Alexander Rødseth

lkzz commented 10 years ago

Hi, I am also getting same runtime error. Did you find a solution for it?

xyproto commented 10 years ago

No, haven't looked at it since.

Bahramudin commented 8 years ago

Hi, I am also getting same runtime error. Did you find a solution for it?