mirror of
https://github.com/simon987/sist2.git
synced 2025-12-10 22:18:54 +00:00
OCR fixes
This commit is contained in:
2
third-party/libscan/libscan/media/media.c
vendored
2
third-party/libscan/libscan/media/media.c
vendored
@@ -446,7 +446,7 @@ int decode_frame_and_save_thumbnail(scan_media_ctx_t *ctx, AVFormatContext *pFor
|
||||
return SAVE_THUMBNAIL_FAILED;
|
||||
}
|
||||
|
||||
if (ctx->tesseract_lang != NULL && IS_VIDEO(pFormatCtx) && thumbnail_index == 0) {
|
||||
if (ctx->tesseract_lang != NULL && thumbnail_index == 0) {
|
||||
ocr_image(ctx, doc, decoder, frame_and_packet->frame);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user