mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-27 07:44:12 +01:00
fixup c0137c2 (missing arguments for utils_ocr)
This commit is contained in:
parent
9b4e835578
commit
eee9c881ed
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,
|
||||
|
|
@ -4792,7 +4793,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