detail_BestOf2NearestMatcher_create
import { detail_BestOf2NearestMatcher_create } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Create an owned detail_BestOf2NearestMatcher instance with the supplied configuration.
Features matcher which finds two best matches for each feature and leaves the best one only if the ratio between descriptor distances is greater than the threshold match_conf
detail_BestOf2NearestMatcher_create(try_use_gpu: boolean, match_conf: number, num_matches_thresh1: number, num_matches_thresh2: number, matches_confidence_thresh: number): detail_BestOf2NearestMatcher | null;6 available overloads
detail_BestOf2NearestMatcher_create(): detail_BestOf2NearestMatcher | null;detail_BestOf2NearestMatcher_create(try_use_gpu: boolean): detail_BestOf2NearestMatcher | null;detail_BestOf2NearestMatcher_create(try_use_gpu: boolean, match_conf: number): detail_BestOf2NearestMatcher | null;detail_BestOf2NearestMatcher_create(try_use_gpu: boolean, match_conf: number, num_matches_thresh1: number): detail_BestOf2NearestMatcher | null;detail_BestOf2NearestMatcher_create(try_use_gpu: boolean, match_conf: number, num_matches_thresh1: number, num_matches_thresh2: number): detail_BestOf2NearestMatcher | null;detail_BestOf2NearestMatcher_create(try_use_gpu: boolean, match_conf: number, num_matches_thresh1: number, num_matches_thresh2: number, matches_confidence_thresh: number): detail_BestOf2NearestMatcher | null;try_use_gputry use gpu argument (boolean).
match_confmatch conf argument (number).
num_matches_thresh1num matches thresh1 argument (number).
num_matches_thresh2num matches thresh2 argument (number).
matches_confidence_threshmatches confidence thresh argument (number).
The detail_BestOf2NearestMatcher | null result.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.