-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: array is not broadcastable to correct shape! #3
Comments
Hi @getengqing, Could you give more details about the error? How are you reading the image? Is it a RGB image? Are having this issue with one image in particular? |
I run your demo.py , I have no anyway change to your program. Then got the error! |
That's odd. Which version of OpenCV are you using? |
Hi, I've got the same error. OpenCV version is 2.4.8 Traceback (most recent call last): |
Could you give more details about the input image? It would be great if could share the image itself |
The input image is the one from your demo - test.jpg Thank you. |
Try upgrading your numpy version |
I have the latest numpy 1.8.2 for ubuntu 14.04. |
Thanks a lot. Works fine with Anaconda. |
I also meet this problem and my numpy version is also 1.8.2. |
Hello, I got the error:
frontal_raw[ind_frontal, :] = cv2.remap(img, temp_proj2[0, :].astype('float32'), temp_proj2[1, :].astype('float32'), cv2.INTER_CUBIC)
ValueError: array is not broadcastable to correct shape
what's the error?How can i sovle?
The text was updated successfully, but these errors were encountered: