Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to store extracted fearure points from imageframes in SQLlite (Android)
    primarykey
    data
    text
    <p>How do i store the extracted feature points from an imageframe in SQLlite database in android ?. I am able to detect and extract feature points successfully in NDK using C++, now i want to store these feature points and later use it for comparison with feature points detected in camera.</p> <p>Here is the sample code i plan to work on</p> <pre><code>JNIEXPORT void JNICALLJava_org_opencv_samples_tutorial2_Tutorial2Activity_FindFeatures(JNIEnv*, jobject, jlong addrGray, jlong addrRgba) { Mat&amp; mGr = *(Mat*)addrGray; Mat&amp; mRgb = *(Mat*)addrRgba; cv::Mat descriptor; vector&lt;KeyPoint&gt; v; cv::OrbFeatureDetector detector; cv::OrbDescriptorExtractor extractor; detector.detect(mGr, v); extractor.compute(mGr,v,descriptor); { // code for storing the feature points } } Java_org_opencv_samples_tutorial2_Tutorial2Activity_MatchFeatures(JNIEnv*, jobject, jlong addrGray, jlong addrRgba) { Mat&amp; mGr = *(Mat*)addrGray; Mat&amp; mRgb = *(Mat*)addrRgba; cv::Mat descriptor; vector&lt;KeyPoint&gt; v1; cv::OrbFeatureDetector detector1; cv::OrbDescriptorExtractor extractor1; detector1.detect(mGr, v1); extractor1.compute(mGr,v1,descriptor1); { // code for fetching the feature points from database } cv::BFMatcher matcher1; std::vector&lt;cv::DMatch&gt; matches; matcher1.match({descriptor extracted from database},descriptor1,matches); // here comes code for finding good matches by ratio test and Homograpgy } </code></pre> <p>Can somebody please explain how store and extract feature points from database in android.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload