Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/typings/Net.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ export class Net {
forwardAsync(outBlobNames?: string[]): Promise<Mat[]>;
setInput(blob: Mat, inputName?: string): void;
setInputAsync(blob: Mat, inputName?: string): Promise<void>;
getLayerNames(): string[];
getLayerNamesAsync(): Promise<string[]>;
getUnconnectedOutLayers(): number[]
getUnconnectedOutLayersAsync(): Promise<number[]>;
}
2 changes: 2 additions & 0 deletions lib/typings/cv.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ export function readNetFromCaffe(prototxt: string, modelPath?: string): Net;
export function readNetFromCaffeAsync(prototxt: string, modelPath?: string): Promise<Net>;
export function readNetFromTensorflow(modelPath: string): Net;
export function readNetFromTensorflowAsync(modelPath: string): Promise<Net>;
export function readNetFromDarknet(cfgPath: string, modelPath: string): Net;
export function readNetFromDarknetAsync(cfgPath: string, modelPath: string): Promise<Net>;
export function recoverPose(E: Mat, points1: Point2[], points2: Point2[], focal?: number, pp?: Point2, mask?: Mat): { returnValue: number, R: Mat, T: Vec3 };
export function recoverPoseAsync(E: Mat, points1: Point2[], points2: Point2[], focal?: number, pp?: Point2, mask?: Mat): Promise<{ returnValue: number, R: Mat, T: Vec3 }>;
export function reduce(mat: Mat, dim: number, rtype: number, dtype?: number): Mat;
Expand Down