{'fraction_non_alphanumeric': 0.02091254752851711, 'fraction_numerical': 0.0, 'mean_word_length': 5.230769230769231, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Text Line Extraction Method Using Domain-Based Active Contour Model

In this paper, we propose a novel text line extraction method using domain-based optimization for complex documents such as engineering drawings. In the complex documents, variations of text line due to differences in size, interval, and direction, as well as the complex layout (text lines and drawing objects are mixed) make the problem of automatic text line extraction extremely challenging. The proposed method divides a document into some domains based on line objects or spaces. Then, this method generates a potential map in each domain. Finally, text lines are extracted by an active contour model based on the potential map. In this process, the potential map is generated by a potential function that has some parameters concerning interval, character size and drawing objects. By optimizing these parameters, this method extracts text lines easily in complex documents. Our experimental result shows better performance than a conventional method for engineering drawings.