Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1117

Why does switchToSelectiveSearchQuality() cause fatal signal in Android?

$
0
0
I am using the Ximgproc library of opencv contrib to generate object proposals in Android Studio. When using gs.switchToSingleStrategy() or gs.switchToSelectiveSearchFast() my code works fine, but when I use gs.switchToSelectiveSearchQuality() the app immediately shuts down and restarts. Does anyone have any suggestions? Code: SelectiveSearchSegmentation gs = Ximgproc.createSelectiveSearchSegmentation(); gs.setBaseImage(ImageMat.clone()); //gs.switchToSingleStrategy(); //<------------------works fine //gs.switchToSelectiveSearchFast(); //<------------------works fine gs.switchToSelectiveSearchQuality(); //<------------------doesn't work The only error I get is: Fatal signal 11 (SIGSEGV), code 1

Viewing all articles
Browse latest Browse all 1117

Latest Images

Trending Articles



Latest Images