Skip to content

Commit

Permalink
use AdaptiveBinarizer from dedoc-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Shevtsov committed Sep 28, 2023
1 parent 9ddb5d5 commit a28f0a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 123 deletions.
122 changes: 0 additions & 122 deletions dedoc/readers/pdf_reader/pdf_image_reader/adaptive_binarizer.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

import cv2
import numpy as np
from dedocutils.preprocessing import AdaptiveBinarizer

from dedoc.config import get_config
from dedoc.extensions import recognized_extensions, recognized_mimes
from dedoc.readers.pdf_reader.data_classes.line_with_location import LineWithLocation
from dedoc.readers.pdf_reader.data_classes.pdf_image_attachment import PdfImageAttachment
from dedoc.readers.pdf_reader.data_classes.tables.scantable import ScanTable
from dedoc.readers.pdf_reader.pdf_base_reader import ParametersForParseDoc, PdfBaseReader
from dedoc.readers.pdf_reader.pdf_image_reader.adaptive_binarizer import AdaptiveBinarizer
from dedoc.readers.pdf_reader.pdf_image_reader.columns_orientation_classifier.columns_orientation_classifier import ColumnsOrientationClassifier
from dedoc.readers.pdf_reader.pdf_image_reader.ocr.ocr_line_extractor import OCRLineExtractor
from dedoc.readers.pdf_reader.pdf_image_reader.scan_rotator import ScanRotator
Expand Down

0 comments on commit a28f0a3

Please sign in to comment.