imgrecog
Version:
Node.js tool to parse and act on images, using the Google Vision and Sightengine APIs.
24 lines (23 loc) • 602 B
TypeScript
/**
* Clarifai API wrapper.
*/
export declare class Clarifai {
description: "Clarifai API";
/**
* Number of API calls made to the Clarifai API.
*/
apiCalls: number;
/**
* Prepare the Clarifai client.
* @param options Program options.
*/
prepare: (options: Options) => Promise<void>;
/**
* Clarifai image detection.
* @param options Program options.
* @param filepath Image file to be scanned.
*/
detect: (options: Options, filepath: string) => Promise<ImageResult>;
}
declare const _default: Clarifai;
export default _default;