UNPKG

image-classifier-ts

Version:

Command line tool to auto-classify images, renaming them with appropriate labels. Uses Node and Google Vision API.

15 lines (14 loc) 649 B
import { Options } from "../utils/args/Args"; export declare class ImageLocation { readonly country: string; readonly addressLevel1: string; readonly addressLevel2: string; readonly subLocality: string; private readonly locationFormat; readonly givenLocation: string | null; static fromGivenLocation(givenLocation: string, options: Options): ImageLocation; constructor(country: string, addressLevel1: string, addressLevel2: string, subLocality: string, locationFormat: string, givenLocation?: string | null); get completionScore(): number; toString(locationFormat?: string): string; private cleanValue; }