|
|
Solving camera pose based on two-dimensional code |
School of Mechanical and Electrical Engineering, Wuhan University of Technology, Wuhan, Hubei 430070, China |
|
|
Abstract To solve the positioning problem of the visual robot, based on the two-dimensional code, a method for solving camera pose was proposed to realize the precise positioning of the visual robot. Using the open source computer vision libracy(OpenCV), the standard positions of the two-dimensional code and the camera were calibrated. The image was preprocessed to obtain the accurate edge contour of the two-dimensional code. The loop traversal and the maximum distance algorithm were used to solve the feature points, and the "pixel mutation" algorithm was used to optimize the edge distortion caused by low pixel. The feature points were used to solve the camera position through coordinate transformation, and the method was tested in actual scenes. The experimental results show that the rotation axis error of the algorithm is plus or minus 0.18 meters with the rotation angle error plus or minus 2 degrees and the total translation error plus or minus 0.02 meters, which can realize accurate and effective vision robot positioning.
|
Received: 07 May 2020
|
|
|
|
[1] |
潘尚仕.二维码内容识别的增强现实与实现技术研究[J].单片机与嵌入式系统应用, 2020, 20(1): 24-26,34.
|
|
PAN S S. Research on augmented reality based on two-dimension code content recognition[J]. Microcontrollers & Embedded Systems, 2020, 20(1):24-26,34.(in Chinese)
|
[2] |
ZHANG Y, ZHANG Y, FAN S W, et al. Indoor positioning and navigation based on two-dimensional code and database[J]. The Journal of Engineering, 2019, 2019(23):8820-8823.
|
[3] |
陈志崇. 机器人惯性定位信息显示系统设计[D].广州:广东工业大学,2013.
|
[4] |
李胜德,常中龙,赵丽媛.基于二维码的起重机运行机构定位装置及定位方法[J].起重运输机械,2019(21):101-103.
|
|
LI S D, CHANG Z L, ZHAO L Y. Based on the positioning device and positioning method of crane operating mechanism of two-dimensional code[J]. Hoisting and Conveying Machinery, 2019(21):101-103.(in Chinese)
|
[5] |
LI M X, LU F, ZHANG H C, et al. Predicting future locations of moving objects with deep fuzzy-LSTM networks [J]. Transportmetrica A: Transport Science, 2020,16(1):119-136.
|
[6] |
潘观潮,王峰,王宏武,等.基于OpenCV和Zbar的二维码图像提取与识别[J].电脑知识与技术, 2019,15(16):191-193.
|
|
PAN G C, WANG F, WANG H W, et al. Two-dimensional code image extraction and recognition based on OpenCV and Zbar[J]. Computer Knowledge and Technology, 2019,15(16):191-193.(in Chinese)
|
[7] |
JIANG J, ZENG L C,CHEN B, et al. An accurate and flexible technique for camera calibration[J]. Computing, 2019,101(12):1971-1988.
|
[8] |
ZHANG X L, LIU S G. Contrast preserving image decolorization combining global features and local semantic features [J]. The Visual Computer, 2018,34(6/7/8):1099-1108.
|
[9] |
孙金岭,庞娟,张泽龙.基于颜色特征和改进Canny算子的车牌图像定位[J].吉林大学学报(理学版),2015,53(4):693-697.
|
|
SUN J L, PANG J, ZHANG Z L. Recognition of vehicle license plate locating based on color feature and improved Canny operator[J].Journal of Jilin University(Science Edition),2015,53(4):693-697.(in Chinese)
|
[10] |
于合龙,刘浩洋,苏恒强,等.基于图像Canny边缘检测和Hough变换算法的高温结构测量方法[J].吉林大学学报(理学版),2014,52(3):519-524.
|
|
YU H L, LIU H Y, SU H Q, et al. Method of high temperature structure measurement based on Canny edge detection and Hough transformation algorithm[J].Journal of Jilin University(Science Edition),2014,52(3):519-524.(in Chinese)
|
[11] |
WANG N, HE H K. Adaptive homography-based visual servo for micro unmanned surface vehicles[J]. The International Journal of Advanced Manufacturing Technology, 2019,105(6):4875-4882.
|
[12] |
CITRARO L, MRQUEZ-NEILA P, SAVRRE S, et al. Real-time camera pose estimation for sports fields[J]. Machine Vision and Applications,2020,31(2):346-359.
|
|
|
|