{'fraction_non_alphanumeric': 0.01698841698841699, 'fraction_numerical': 0.0, 'mean_word_length': 4.890909090909091, '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}}
An Improved QPSO Algorithm Based on EXIF for Camera Self-calibration

Binocular vision technology is an important branch of computer vision technology, which is widely used in robot motion, navigation, surgical treatment and many other fields. As is a crucial link, it is the basis of binocular vision technology to obtain the internal parameters of a digital camera. Traditional calibration methods, such as Zhengyou Zhang's method needs a calibration board, while the self-calibration method based on active vision needs to strictly control a camera to move in a designated way. Based on that, those methods can't be applied to simple and convenient occasions. In this paper, we aim to propose a new method of camera self-calibration by improving an existing QPSO algorithm with the EXIF information of digital camera photos. The method only needs to shot one object twice on different angles. We derive the conversion formula of equivalent focal length and pixel focal length and use it to initialize the algorithm. It is to find the optimal solution of the cost function transformed from the Kruppa equation by using the QPSO method. The experiment results proved that the improved method is better than the initial one and using the EXIF information to initialize the algorithm is feasible.