我使用拼接器加入图片。但是我得到错误-215为flollows:
onSubmit() {
for(var i=2; i<=this.input; i++) {
if(this.input % i == 0) {
this.input /= i;
this.array.push(i);
return this.onSubmit(); //does same even without this
}
}
this.input = "";
}
我不知道这意味着什么&#34;数据通常应为NULL&#34;。这是我的代码:
OpenCV Error: Assertion failed (The data should normally be NULL!) in NumpyAllocator::allocate, file ..\..\..\opencv-3.1.0\modules\python\src2\cv2.cpp, line 163
Traceback (most recent call last):
File "D:/PyProjects/prj0826/082601.py", line 7, in <module>
result = stitcher.stitch((img1, img2))
cv2.error: ..\..\..\opencv-3.1.0\modules\python\src2\cv2.cpp:163: error: (-215) The data should normally be NULL! in function NumpyAllocator::allocate