mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-15 19:09:58 +02:00
fixup c0137c2
(missing arguments for utils_ocr)
This commit is contained in:
parent
1d4815b48f
commit
027b87d321
1 changed files with 1 additions and 1 deletions
|
@ -96,6 +96,7 @@ from .utils.rotate import (
|
|||
rotation_image_new
|
||||
)
|
||||
from .utils.utils_ocr import (
|
||||
return_start_and_end_of_common_text_of_textline_ocr_without_common_section,
|
||||
return_textline_contour_with_added_box_coordinate,
|
||||
preprocess_and_resize_image_for_ocrcnn_model,
|
||||
return_textlines_split_if_needed,
|
||||
|
@ -4796,7 +4797,6 @@ class Eynollah:
|
|||
self.logger.info("Using light text line detection for OCR")
|
||||
self.logger.info("Processing text lines...")
|
||||
|
||||
self.device.reset()
|
||||
gc.collect()
|
||||
|
||||
torch.cuda.empty_cache()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue