Opencv4nodejs: Support for BFMatcher Constructor for crossCheck=True

Created on 7 Sep 2018  路  2Comments  路  Source: justadudewhohacks/opencv4nodejs

Hi there!

Is there a way to easily enable crossCheck for Brute Force Feature Matcher?

```# create BFMatcher object
bf = cv2.BFMatcher(cv2.NORM_HAMMING, crossCheck=True)

Match descriptors.

matches = bf.match(des1,des2)
```

Currently Using the SURF Detector and would be great to have the crossCheck function.

good first issue help wanted

All 2 comments

Descriptor matching is currently implemented here. Maybe there is an easy way to implement the flag as a parameter. In the worst case the Matcher classes would have to be implemented and exposed.

Your changes have been published to npm with v4.8.0.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asishap007 picture asishap007  路  6Comments

OluAgunloye picture OluAgunloye  路  3Comments

SatoshiKawabata picture SatoshiKawabata  路  5Comments

je3f0o picture je3f0o  路  6Comments

Paulito-7 picture Paulito-7  路  5Comments