Functions
Const _classifyImage
- _classifyImage(imagePath: string, options: Options, outputter: IOutputter, handleError: function, cb: function): void
-
Parameters
-
imagePath: string
-
-
-
handleError: function
-
cb: function
-
- (topNLabels: string[] | null): void
-
Parameters
-
topNLabels: string[] | null
Returns void
Returns void
classifyImageWithResize
-
Parameters
-
-
-
-
handleError: function
-
done: function
Returns void
Const classifySmallImage
-
Parameters
-
-
-
-
handleError: function
-
done: function
Returns void
Const getFilesizeInMegaBytes
- getFilesizeInMegaBytes(filename: string): number
-
Parameters
Returns number
getSmallerFilePath
- getSmallerFilePath(filePath: string): string
-
Parameters
Returns string
Const isLabelOk
- isLabelOk(label: string): boolean
-
Parameters
Returns boolean
Const resizeImage
- resizeImage(filePath: string, outputter: IOutputter, handleError: function, cb: function): void
-
Parameters
-
filePath: string
-
-
handleError: function
-
cb: function
-
- (outPath: string | null, err: any): void
-
Parameters
-
outPath: string | null
-
err: any
Returns void
Returns void