Skip to content

Commit

Permalink
TLDR-473 add dedoc utils (#340)
Browse files Browse the repository at this point in the history
* use dedoc utils BBox class

* use AdaptiveBinarizer from dedoc-utils

* use SkewCorrector from dedoc-utils

* fix style

* fix rotated angle error

* delete BBox from docs

* fix angles

* delete print

* fix dedocutils

* dedocutils set ver. 0.3.5

* fix mistakes and names

---------

Co-authored-by: Nikita Shevtsov <shevtsov@ispras.ru>
  • Loading branch information
2 people authored and sunveil committed Oct 11, 2023
1 parent 158842f commit fc3effc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
from typing import List, Optional, Tuple

import numpy as np
from dedocutils.data_structures import BBox

from dedoc.common.exceptions.java_not_found_error import JavaNotFoundError
from dedoc.common.exceptions.tabby_pdf_error import TabbyPdfError
from dedoc.data_structures.bbox import BBox
from dedoc.data_structures.cell_with_meta import CellWithMeta
from dedoc.data_structures.concrete_annotations.bbox_annotation import BBoxAnnotation
from dedoc.data_structures.concrete_annotations.bold_annotation import BoldAnnotation
Expand Down
Binary file not shown.

0 comments on commit fc3effc

Please sign in to comment.