1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-08 23:07:32 +02:00
Files
joplin/packages/lib/services/ocr/OcrDriverBase.ts

17 lines
406 B
TypeScript

import { ResourceOcrDriverId } from '../database/types';
import { RecognizeResult } from './utils/types';
export default class OcrDriverBase {
public async recognize(_language: string, _filePath: string, _id: string): Promise<RecognizeResult> {
throw new Error('Not implemented');
}
public async dispose(): Promise<void> {}
public get driverId() {
return ResourceOcrDriverId.PrintedText;
}
}