OpenCV Error: Gpu API call (invalid device pointer) in unknown function, file ..../src/cuda/fast.cu line 310 (Bug #4381)


Added by Nikolay Rogoshchenkov almost 10 years ago. Updated over 9 years ago.


Status:Cancelled Start date:2015-06-04
Priority:Normal Due date:
Assignee:Vladislav Vinogradov % Done:

0%

Category:gpu (cuda)
Target version:2.4.11
Affected version:branch '2.4' (2.4-dev) Operating System:Windows
Difficulty:Medium HW Platform:x64
Pull request:

Description

[...]
FAST_GPU fast(70,true,0.2);
//ORB_GPU orb(100,1.2,8,10,1,2,0,11);
GpuMat img1(grey1);
GpuMat img2(grey2);
// detecting keypoints & computing descriptors
GpuMat keypoints1GPU, keypoints2GPU;
GpuMat mask1, mask2;
GpuMat descriptors1GPU, descriptors2GPU;
fast(img1, mask1, keypoints1GPU);
fast(img2, mask2, keypoints2GPU);
//orb(img1, GpuMat(), keypoints1GPU, descriptors1GPU)
[...]


History

Updated by Nikolay Rogoshchenkov almost 10 years ago

error right after "fast(img1, mask1, keypoints1GPU);"

Updated by Nikolay Rogoshchenkov almost 10 years ago

To be clear, this code made as a function, which was called in loop, and this error appears always on a second loop step... in despite of the fast.release() and all GpuMat.release()

Updated by Vladislav Vinogradov almost 10 years ago

Please provide full code example, that demonstrates the issue.

Updated by Nikolay Rogoshchenkov over 9 years ago

Can't recreate this issue anymore. Sorry.

  • Status changed from New to Cancelled

Also available in: Atom PDF