[Android package] FIXME in MatOfDMatch.java file & features number extracted

asked 2019-04-13 15:06:18 -0600

LiorA gravatar image

updated 2019-04-14 06:24:03 -0600

berak gravatar image

Hi,

Im building an Android app, using opencv 3.4.5 version.(with Android studio ).

I have two questions:

  1. In openCV 3.4.5, Android package, in the file "MatOfDMatch.java", the following comment apper: "//FIXME: do we need release() here?". Do we need a release in the constructor ?.
  2. After running the line: *orb.detectAndCompute(img1re, new Mat(), kp1, des1);

how can I know how many features found ? numerically, without the draw function ?

edit retag flag offensive close merge delete

Comments

please absolutely NO screenshots of code or errormsgs here, those are useless (ppl can't quote you, it can't be indexed for search, etc.)

berak gravatar imageberak ( 2019-04-14 06:25:10 -0600 )edit

have a look here please,and try to refine your question

berak gravatar imageberak ( 2019-04-14 06:30:09 -0600 )edit

Ok, Thanks. What about the first question ?

I also searched for the github of the android package, but didnt find it. (The one we can download from opencv site).

LiorA gravatar imageLiorA ( 2019-04-14 06:45:49 -0600 )edit

that's an implementation detail (code there is also autogenerated (as well as the comment !))

none of your concern, i'd say.

berak gravatar imageberak ( 2019-04-14 08:31:57 -0600 )edit

+1. Thank's.

LiorA gravatar imageLiorA ( 2019-04-15 07:40:48 -0600 )edit