6
我正確使用OpenCV的Java庫有麻煩的Android OpenCV的,下面的代碼崩潰:使用MatOfKeyPoint和feature2d檢測
MatOfKeyPoint keypoints = new MatOfKeyPoint();
this.myFeatures.detect(inputImage, keypoints);
我認爲關鍵點是這個可變對象,我傳遞到detect
功能接收回來。例如。後來我想這樣做:
Features2d.drawKeypoints(inputImage, keypoints, outputImage);
我在做什麼錯在這裏?謝謝。