update pdf2image module
This commit is contained in:
parent
7d7cc6026a
commit
ea25b57dd9
@ -3,7 +3,7 @@ from typing import Callable, Iterator
|
||||
|
||||
from funcy import flatten
|
||||
|
||||
from cv_analysis.figure_detection.figure_detection_pipeline import detect_figures
|
||||
from cv_analysis.figure_detection.figure_detection import detect_figures
|
||||
from cv_analysis.layout_parsing import parse_layout
|
||||
from cv_analysis.table_parsing import parse_tables
|
||||
from cv_analysis.utils.structures import Rectangle
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 62e0ba3ebbcf285bb2a37511c5d521e5e1d4106a
|
||||
Subproject commit 20fe8ba2ba1b73d2049bdc00117b0e37f150f15a
|
||||
@ -45,6 +45,6 @@ if __name__ == "__main__":
|
||||
elif args.type == "layout":
|
||||
from cv_analysis.layout_parsing import parse_layout as analyze
|
||||
elif args.type == "figure":
|
||||
from cv_analysis.figure_detection.figure_detection_pipeline import detect_figures
|
||||
from cv_analysis.figure_detection.figure_detection import detect_figures
|
||||
analyze = detect_figures
|
||||
annotate_page(page, analyze, draw, name=name, show=args.show)
|
||||
|
||||
2
test/fixtures/figure_detection.py
vendored
2
test/fixtures/figure_detection.py
vendored
@ -5,7 +5,7 @@ import numpy as np
|
||||
import pytest
|
||||
from lorem_text import lorem
|
||||
|
||||
from cv_analysis.figure_detection.figure_detection_pipeline import (
|
||||
from cv_analysis.figure_detection.figure_detection import (
|
||||
detect_figures,
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user