Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit f8b0ced

Browse files
Merge pull request justadudewhohacks#488 from nmsbaka/patch-1
Update BFMatcher.d.ts
2 parents 89fa56e + dbf2367 commit f8b0ced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/typings/BFMatcher.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export class BFMatcher {
66
constructor(params: { normType: number, crossCheck?: boolean });
77
match(descriptors1: Mat, descriptors2: Mat): DescriptorMatch[];
88
matchAsync(descriptors1: Mat, descriptors2: Mat): Promise<DescriptorMatch[]>;
9-
knnMatch(descriptors1: Mat, descriptors2: Mat, k: number): Array<[DescriptorMatch]|[]>;
10-
knnMatchAsync(descriptors1: Mat, descriptors2: Mat, k: number): Promise<Array<[DescriptorMatch]|[]>>;
9+
knnMatch(descriptors1: Mat, descriptors2: Mat, k: number): Array<[DescriptorMatch]|[any]>;
10+
knnMatchAsync(descriptors1: Mat, descriptors2: Mat, k: number): Promise<Array<[DescriptorMatch]|[any]>>;
1111
}

0 commit comments

Comments
 (0)