Problem related to image.match_descriptor

General discussion about topics related to OpenMV.
wayne
Posts: 4
Joined: Fri Aug 18, 2017 2:46 am

Problem related to image.match_descriptor

Postby wayne » Wed May 16, 2018 5:29 am

Hi, when I try image.match_descriptor for ORB descriptors, I find that kptmatch.count() will be 2x larger than length of kptmatch.match().

Example
kptmatch.count() Length of kptmatch.match()
20 10
15 8

From
http://docs.openmv.io/library/omv.image ... int-object

I assume that both kptmatch.count() and length of kptmatch.match() are the number of matched keypoints.

Do I misunderstand something ?

Thanks.
User avatar
kwagyeman
Posts: 1913
Joined: Sun May 24, 2015 2:10 pm

Re: Problem related to image.match_descriptor

Postby kwagyeman » Thu May 17, 2018 10:41 am

I've asked Ibrahim to look at this.
Nyamekye,
User avatar
iabdalkader
Posts: 460
Joined: Sun May 24, 2015 3:53 pm

Re: Problem related to image.match_descriptor

Postby iabdalkader » Thu May 17, 2018 5:54 pm

Hi, kptmatch.count() returns the number of matching keypoints pairs. while kptmatch.match() returns a list of tuples of matching keypoints indices. So they should be the same length, if count() returns 5 (5 pairs match), match() should return a list of 5 tuples [(0, 1), (1, 2), etc...]

This features was requested by someone and was never actually tested, I fixed now. Are you doing something with it ? would you like a patched fw image ?
wayne
Posts: 4
Joined: Fri Aug 18, 2017 2:46 am

Re: Problem related to image.match_descriptor

Postby wayne » Thu May 17, 2018 8:21 pm

Hi, thanks for your quick fix.

It will be great if you can provide me with the patched fw.

I still use OpenMV Cam M4, not sure if this could be a problem when updating fw.

As for the firmware update flow, do I just use Tools->Run Bootloader in IDE to update ?

Thanks again.
User avatar
kwagyeman
Posts: 1913
Joined: Sun May 24, 2015 2:10 pm

Re: Problem related to image.match_descriptor

Postby kwagyeman » Fri May 18, 2018 12:53 am

Yes, Ibrahim can get you an updated M4 firmware. We have to disable the FLIR driver though to do this which requires me to get invloved in the firmware. We are a little busy right now with Maker Faire so it will be a while.
Nyamekye,

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest