Ask Your Question

Revision history [back]

CascadeClassifier_GPU.load gives: NCV Assertion Failed

Hi I am trying to load a Cascade Classifier and although in the CPU version it works nicely, it gives me the following error:

OpenCV Error: Gpu API call (NCV Assertion Failed: NcvStat=25, file=/hdd/buildbot/slave_jetson_tk1_1/32-O4T-L4T/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu, line=2215 ) in NCVDebugOutputHandler, file /hdd/buildbot/slave_jetson_tk1_1/32-O4T-L4T/opencv/modules/gpu/src/cascadeclassifier.cpp, line 173 terminate called after throwing an instance of 'cv::Exception' what(): /hdd/buildbot/slave_jetson_tk1_1/32-O4T-L4T/opencv/modules/gpu/src/cascadeclassifier.cpp:173: error: (-217) NCV Assertion Failed: NcvStat=25, file=/hdd/buildbot/slave_jetson_tk1_1/32-O4T-L4T/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu, line=2215 in function NCVDebugOutputHandler

I dont really understand what is happening. I am a bit noob in this and have tried the haarcascade file as well as the haarcascade_cuda ones but there is no difference; it still gives me this error.

Thanks in advance for the help.