|
|
@@ -41,7 +41,8 @@ MODEL_LIST = [
|
|
|
|
|
|
def test_single_model(
|
|
|
model_name: str,
|
|
|
- input_path: str = "sample_data/300674-母公司现金流量表-扫描.png",
|
|
|
+ # input_path: str = "sample_data/300674-母公司现金流量表-扫描.png",
|
|
|
+ input_path: str,
|
|
|
output_path: str = "./sample_data/output/"):
|
|
|
"""
|
|
|
Test single model for layout detection.
|
|
|
@@ -88,6 +89,6 @@ if __name__ == "__main__":
|
|
|
output_path.mkdir(parents=True, exist_ok=True)
|
|
|
|
|
|
test_single_model(model_name=model_name,
|
|
|
- input_path="sample_data/300674-母公司现金流量表-扫描.png",
|
|
|
+ input_path="sample_data/300674-合并损益变动表-扫描-1.png",
|
|
|
output_path=output_path.as_posix())
|
|
|
print("\n" + "="*50 + "\n")
|