import cv2 as cv
imgpath='testImg.jpg' img=cv.imread(imgpath,cv.IMREAD_GRAYSCALE)
orb=cv.ORB_create() keypoints,descriptor=orb.detectAndCompute(img,None)
error: (-215) The data should normally be NULL! in function NumpyAllocator::allocate
1 | initial version |
import cv2 as cv
imgpath='testImg.jpg' img=cv.imread(imgpath,cv.IMREAD_GRAYSCALE)
orb=cv.ORB_create() keypoints,descriptor=orb.detectAndCompute(img,None)
error: (-215) The data should normally be NULL! in function NumpyAllocator::allocate
2 | No.2 Revision |
import cv2 as imgpath='testImg.jpg' img=cv.imread(imgpath,cv.IMREAD_GRAYSCALE)
orb=cv.ORB_create() keypoints,descriptor=orb.detectAndCompute(img,None)
3 | No.3 Revision |
import cv2 as cv
imgpath='testImg.jpg'
img=cv.imread(imgpath,cv.IMREAD_GRAYSCALE)
orb=cv.ORB_create()
keypoints,descriptor=orb.detectAndCompute(img,None)
error: (-215) The datashouldshould normally be NULL! infunction NumpyAllocator::allocatefunction NumpyAllocator::allocate