{'fraction_non_alphanumeric': 0.016713091922005572, 'fraction_numerical': 0.0, 'mean_word_length': 5.3628318584070795, '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}}
A general image skew detection approach with a bio-inspired mechanism

This paper proposes a simple but effective bio-inspired approach for skew detection of different kinds of images including nature images, documents, paintings etc., which requires no parameter tuning. Without relying on local visual cues, the proposed approach exploits the global statistics of an image. Orientation perceptron is designed in the inspiration of biological simple cells for local orientation detection. Statistics of their outputs are processed and then transferred by orientation transform into a curve whose maximum value is used to determine the skew angle. The effectiveness of the proposed approach is verified by experiments.