mindee
Version:
Mindee Client Library for Node.js
18 lines (17 loc) • 466 B
JavaScript
import { OcrResponse } from "./ocrResponse.js";
import { OcrParameters } from "./params/index.js";
import { BaseProduct } from "../../../v2/product/baseProduct.js";
/**
* Extract raw text (OCR) from any image or scanned document.
*/
export class Ocr extends BaseProduct {
static get parametersClass() {
return OcrParameters;
}
static get responseClass() {
return OcrResponse;
}
static get slug() {
return "ocr";
}
}