Top "Cv2" questions

THIS TAG IS PENDING REMOVAL.

DLL load failed error when importing cv2

I have installed opencv on my windows machine using python 3.6 without any issues, using: pip install opencv-python but when I …

python opencv cv2
Getting error: Cannot reshape array of size 122304 into shape (52,28,28)

I'm trying to reshape a numpy array as: data3 = data3.reshape((data3.shape[0], 28, 28)) where data3 is: [[54 68 66 ..., 83 72 58] [63 63 63 ..., 51 51 51] [41 45 80 ..., 44 46 81] ..., [58 60 61 ..., 75 75 81] [56 58 59 ..., 72 75 80] [ 4 4 4 ..., 8 8 8]] data3.shape is (52, 2352 ) But …

python numpy image-processing reshape cv2
ImportError: No module named 'cv2' Python3

I have such a problem (face_det) user@pc:~$ python3 Python 3.5.3 (default, Apr 22 2017, 00:00:00) [GCC 4.8.4] on linux Type "help", "copyright", "credits" …

python python-3.x opencv python-import cv2
Python3 - OpenCV & cv2.error: (-215) Unable to show captured image

I am trying to using opencv-3.3.0, cv2 & python3.5. But, I can't seem to show image I have captured. I …

python-3.x opencv3.0 cv2
CV2: "[ WARN:0] terminating async callback" when attempting to take a picture

I am trying to take a picture from the defualt carmera with python, to do this I am using openCV (…

python image cv2
No module named 'cv2'

After spending hours trying out others' suggestions, I still can't get OpenCV to work. I'd like to build a Python …

python opencv cv2
ModuleNotFoundError: No module named 'cv2'

I have been working on this error for a long time now. I have Python 3.6 and Python 2.7. I have tried …

python python-2.7 python-3.x opencv cv2
TypeError: Required argument 'mat' (pos 2) not found

I have the code below with cv2 . This code is downloaded from https://github.com/dipakkr/3d-cnn-action-recognition. I want to …

python python-3.x opencv cv2
(-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

I am trying to recognize text from an image to then have the text outputted; however, this error spits out: …

python ocr tesseract cv2 python-tesseract
How to get the duration of video using cv2

I can only get the number of frames CAP_PROP_FRAME_COUNT using CV2. However, I cannot find the parameter …

python video cv2