Skip to content
Snippets Groups Projects
Commit 51d85407 authored by Martin's avatar Martin
Browse files

improve readability

parent d732d942
No related branches found
No related tags found
1 merge request!16Don't filter vertical lines with rotation class
Pipeline #74304 passed
......@@ -771,10 +771,10 @@ def main():
logger.info(
f"Number of skipped pages: {data_generator.skipped_pages_count}"
)
skipped_ratio = data_generator.skipped_vertical_lines_count / (
data_generator.skipped_vertical_lines_count
+ data_generator.accepted_lines_count
) * 100
_skipped_vertical_count = data_generator.skipped_vertical_lines_count
_total_count = _skipped_vertical_count + data_generator.accepted_lines_count
skipped_ratio = _skipped_vertical_count / _total_count * 100
logger.info(
f"Skipped {data_generator.skipped_vertical_lines_count} vertical lines ({round(skipped_ratio, 2)}%)"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment