Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Const _classifyImage

  • _classifyImage(imagePath: string, options: Options, outputter: IOutputter, handleError: function, cb: function): void
  • Parameters

    • imagePath: string
    • options: Options
    • outputter: IOutputter
    • handleError: function
        • (error: any): void
        • Parameters

          • error: any

          Returns void

    • cb: function
        • (topNLabels: string[] | null): void
        • Parameters

          • topNLabels: string[] | null

          Returns void

    Returns void

classifyImage

classifyImageWithResize

Const classifySmallImage

Const getFilesizeInMegaBytes

  • getFilesizeInMegaBytes(filename: string): number

getSmallerFilePath

  • getSmallerFilePath(filePath: string): string

Const isLabelOk

  • isLabelOk(label: string): boolean

Const resizeImage

  • resizeImage(filePath: string, outputter: IOutputter, handleError: function, cb: function): void
  • Parameters

    • filePath: string
    • outputter: IOutputter
    • handleError: function
        • (error: any): void
        • Parameters

          • error: any

          Returns void

    • cb: function
        • (outPath: string | null, err: any): void
        • Parameters

          • outPath: string | null
          • err: any

          Returns void

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc