Ask Your Question
0

CascadeClassifier_GPU NCV Assertion Falied:retcode=26

asked 2014-07-12 01:27:15 -0600

AsanWolf gravatar image

updated 2014-07-12 01:39:15 -0600

berak gravatar image

OpenCV Error:Gpu API call <ncv assertion="" falied:retcode="26,file=D:\opencv-2.4.9\sources\modules\gpu\src\nvidia\NCVHaarObjectDetection.cu,line" 1589=""> in cv::gpu::CascadeClassifier_GPU::HaarCascade::NCVDebugOutputHandler. file......\sources\modules\gpu\src\cascadeclassifier.cpp line 173 ncvAssertReturn(haar.bNeedsTiltedII == false, NCV_NOIMPL_HAAR_TILTED_FEATURES);

what's the problem?Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-24 17:03:35 -0600

midwej gravatar image

Hi, I have the same problem. In my case, the error occurs when the GPU version v Haar features is used. I have no idea how fix this problem, nevertheless, i train my own haar classifier using old haartraining due to GPU (this is note in the opencv doc) and if i use the classifier after 16 stages the detection works, however if i used it after 19 stages this error occurs.

Did you fix the problem?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-07-12 01:27:15 -0600

Seen: 333 times

Last updated: Jul 12 '14