refactoring

This commit is contained in:
zadam
2023-02-13 16:22:34 +01:00
parent e411ad0eb1
commit c190296bf9
11 changed files with 25 additions and 16 deletions

View File

@@ -126,8 +126,6 @@ async function ocrTextFromBuffer(buffer) {
}
async function runOcr(note, buffer) {
console.log("buffer length", buffer.length);
if (!note.isImage()
|| !optionService.getOptionBool('ocrImages')
|| cls.isOcrDisabled()