Skip to content

Commit df3ad3c

Browse files
committed
Built the FaceMatcher changes (fromJSON(), toJSON())
1 parent f7e839a commit df3ad3c

File tree

9 files changed

+5988
-5939
lines changed

9 files changed

+5988
-5939
lines changed

build/commonjs/globalApi/FaceMatcher.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ export declare class FaceMatcher {
1010
computeMeanDistance(queryDescriptor: Float32Array, descriptors: Float32Array[]): number;
1111
matchDescriptor(queryDescriptor: Float32Array): FaceMatch;
1212
findBestMatch(queryDescriptor: Float32Array): FaceMatch;
13+
static toJSON(matcher: FaceMatcher, pretty?: boolean): string;
14+
static fromJSON(jsonString: string): FaceMatcher;
1315
}

build/commonjs/globalApi/FaceMatcher.js

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/commonjs/globalApi/FaceMatcher.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/es6/globalApi/FaceMatcher.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ export declare class FaceMatcher {
1010
computeMeanDistance(queryDescriptor: Float32Array, descriptors: Float32Array[]): number;
1111
matchDescriptor(queryDescriptor: Float32Array): FaceMatch;
1212
findBestMatch(queryDescriptor: Float32Array): FaceMatch;
13+
static toJSON(matcher: FaceMatcher, pretty?: boolean): string;
14+
static fromJSON(jsonString: string): FaceMatcher;
1315
}

build/es6/globalApi/FaceMatcher.js

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/es6/globalApi/FaceMatcher.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)