{'fraction_non_alphanumeric': 0.024475524475524476, 'fraction_numerical': 0.006993006993006993, 'mean_word_length': 4.7537688442211055, '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}}
Measurement of single mode fiber non-circularity based on image processing

Method of computer digital image processing was utilized to measure non-circularity of single mode fiber. The two end faces were polished, the faces come into plane, and which are perpendicular to fiber axis. Laser beam was thrown on one end of the fiber, and an inerratic spot was formed from light beam put out at another end of the fiber. The spot was shot by a digital camera with 5.1x106 pixels. The image was processed with a computer. The process includes full color picture being translated into gray one, contrast enhancement, median filtering, and picking-up contour line. The every different three points on the contour line were taken out to determine one circular radius, average of many radiuses was calculated, The maximum radius and the minimum radius are picked out to calculate the fiber no-circularity in according to definition. Visual C++ and Matlab were used to programme. The results of experiment show that measurement precision is independent of the sampling number, but dependence of gray value, and average standard deviation is about 0.03%.