I am using opencv 3.0.0 and python 2.7.5_x32
This is my code (ORB_feature_detection):
import numpy as np import cv2 from matplotlib import pyplot as plt img1 = cv2.imread('C:\\Python27\\madar1.jpg',0)
and this error message, the error message is on kp1, des1 = orb.detectAndCompute (img1, None) part, I worked on opencv 2.4.11 and it does not work on opencv 3.0.0!
Traceback (most recent call last): File "C:\Python27\orb_matcher.py", line 12, in <module> kp1, des1 = orb.detectAndCompute(img1,None) error: ..\..\..\modules\python\src2\cv2.cpp:163: error: (-215) The data should normally be NULL! in function NumpyAllocator::allocate
Please help me, what should I do to make this work?
python opencv
R.jzadeh
source share