2015-03-22 14:53:50 -0600 | received badge | ● Necromancer (source) |
2014-08-24 23:26:44 -0600 | received badge | ● Editor (source) |
2014-08-24 23:24:23 -0600 | answered a question | getting unsatisfiedLinkerror while trying to re-use opencv-facedection sample If you copied the .h and .cpp from the face-detection sample to your own project, be sure to update the function signatures to reflect your own Java package rather than the OpenCV one. Look for something like this: Java_org_opencv_samples_facedetect_DetectionBasedTracker_nativeCreateObject and change it to: Java_com_your_app_DetectionBasedTracker_nativeCreateObject where com_your_app is your android project's Java package name This needs to be done for all the functions in the .h and .cpp files. (Alternatively, look into the use of javah) |