修复代码警告
This commit is contained in:
@@ -50,7 +50,7 @@ def visual_model_test(model_type, test_img, task_path, schema):
|
||||
imgs = image_util.split(test_img)
|
||||
layout = []
|
||||
temp_files_paths = []
|
||||
doc_parser = DocParser(layout_analysis=False)
|
||||
# doc_parser = DocParser(layout_analysis=False)
|
||||
for img in imgs:
|
||||
with tempfile.NamedTemporaryFile(delete=False, suffix=".jpg") as temp_file:
|
||||
# angle = image_util.parse_rotation_angles(img["img"])[0]
|
||||
|
||||
Reference in New Issue
Block a user