Target positioning method for ground intelligent unmanned platform equipped with multiple PTZ cameras
By mounting multiple PTZ cameras on an intelligent unmanned platform, combining image data and camera attitude information, and using the least squares method to calculate the target's three-dimensional position, the cost, accuracy and range issues of the intelligent unmanned system's target positioning equipment are solved, achieving High-precision long-distance and large-scale target positioning.
Patent Information
- Application Number
- CN202210403706.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-18
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-04-18
AI Technical Summary
The target positioning equipment of existing intelligent unmanned systems cannot meet the requirements of low cost, high accuracy and large range at the same time. Traditional sensors have shortcomings in target positioning distance, accuracy and texture information.
Multiple PTZ cameras are mounted on the ground intelligent unmanned platform. By measuring the position, attitude and focal length information of the cameras, combined with image data, the least squares method is used to calculate the three-dimensional position of the target to achieve high-precision target positioning.
It overcomes the shortcomings of traditional sensors in target positioning distance, accuracy and texture information, and achieves high-precision target positioning at different focal lengths and distances. It is suitable for long-distance and large-scale military target tracking and battlefield environment perception.
Smart Images

Figure CN114754743B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of vehicle-mounted sensing systems, and in particular relates to a target positioning method for a ground intelligent unmanned platform equipped with multiple PTZ cameras. Background Art
[0002] With the rapid development of information technology, the ability of intelligent unmanned systems to perform specific tasks has made a huge leap forward. The development of intelligent unmanned systems is of great significance both in civilian and military fields. In the civilian field, intelligent unmanned systems can reduce people's workload, have more advantages than humans in some areas, and can improve production efficiency. In the military field, ground intelligent unmanned platforms can assist or even replace soldiers to complete battlefield mobile patrols, unfamiliar scene surveys, logistics material supply, combat firepower assaults and other tasks, thereby reducing the burden on combatants and reducing casualties.
[0003] Intelligent unmanned systems are mainly composed of four modules: environmental perception, positioning and navigation, planning and decision-making, and intelligent control. The perception module is the main source of information input for the intelligent unmanned system, and its output is the basis for planning and decision-making of the intelligent unmanned system. Target tracking and positioning is one of the main functions of the perception module, and image-based target tracking and positioning is a hot topic in the field of computer vision research.
[0004] With the development of sensing technology, target tracking and positioning can be achieved through various means such as laser radar, camera, millimeter wave radar, etc. Various sensors have the following characteristics in terms of ranging: (1) Laser radar is an active ranging sensor that can obtain centimeter-level three-dimensional information of each laser irradiation point. Through processing, it can achieve centimeter-level accurate positioning of the detected and tracked target; Laser radar is less affected by light interference and can work normally day and night, but it is expensive, the number of laser scanning points is limited, and the information density is insufficient. Especially as the target distance becomes farther and farther, the laser scanning point cloud becomes sparser, the resolution becomes lower and lower, the texture features are seriously lost, and the perception effect will drop sharply; (2) Monocular cameras are low-cost and can provide rich texture information. They are the main means of target recognition at present. Monocular cameras are limited by the principle of pinhole imaging and cannot directly obtain target depth information. In actual use, the depth of the target is usually estimated based on the prior information of the target and the deep learning method, but this method has large errors. Moreover, as a passive sensor, the camera is easily affected by the surrounding environment such as lighting; (3) Ordinary binocular cameras can achieve stereo vision through stereo matching, but their positioning accuracy is limited by the camera baseline length, and high-precision positioning and ranging can only be obtained within a small range; since the posture of ordinary binocular cameras cannot be changed and the lens focal length cannot be adjusted, the perception range cannot be changed, and the high-precision distance measurement range is very small; (4) Millimeter-wave radar is an active sensor with strong detection capabilities for the azimuth, distance, and speed of objects within a range of 200 meters. It is characterized by strong penetration into smoke, dust, rain and snow, can adapt to various severe weather conditions, and is not affected by lighting changes. However, millimeter-wave radar data has many noise points, low angular resolution and ranging accuracy, and cannot meet the high-precision target positioning requirements required by intelligent unmanned systems. In summary, among the target detection, tracking and positioning equipment currently used by intelligent unmanned systems, there is no sensor that can simultaneously meet the requirements of low cost, high accuracy and large range.
[0005] PTZ cameras, also known as pan-tilt cameras, can achieve all-round camera rotation and lens zoom. PTZ cameras can obtain image information of different areas by rotation, and can also obtain image information of different depth spaces by zooming, without reducing image resolution. They can maintain high-precision resolution in a large range and meet the requirements of intelligent unmanned systems. Dual PTZ cameras simulate the chameleon vision system. The "left eye" and "right eye" can rotate independently. When it is necessary to perceive the surrounding environment, the left and right cameras rotate and move separately to achieve large-angle "reconnaissance". When it is necessary to locate the target, the left and right cameras "point" to the same direction to form stereo vision and achieve three-dimensional positioning of the target. Based on the above characteristics, dual PTZ cameras can form stereo vision at any angle and focal length to achieve high-precision three-dimensional positioning of distant targets and high-quality three-dimensional reconstruction of scenes. Compared with laser radar, PTZ cameras are cheap. Through the adjustment of the camera's focal length and posture, large-scale, high-precision target detection, tracking and positioning can be achieved. Therefore, PTZ cameras can be used on ground intelligent unmanned platforms to replace expensive optoelectronic equipment to achieve tracking of distant military targets, battlefield environment perception and three-dimensional positioning of important targets. At the same time, the combination of visual SLAM and 3D reconstruction technology can achieve the positioning and mapping of the entire battlefield area, which has important military value. Summary of the invention
[0006] The purpose of the present invention is to overcome the shortcomings of traditional perception technology and provide a target positioning method for a ground intelligent unmanned platform equipped with multiple PTZ cameras. According to the position and posture of each camera itself and the position of the positioning target in each camera image, the target is accurately positioned in three dimensions.
[0007] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme: a target positioning method for a ground intelligent unmanned platform equipped with multiple PTZ cameras, wherein multiple PTZ cameras installed on the ground intelligent unmanned platform and a vehicle-mounted computing module constitute a perception system, and the perception system sends the images acquired by each PTZ camera and its own posture and focal length information to the vehicle-mounted computing module, and the vehicle-mounted computing module can also send instructions to the camera to control the camera rotation and zoom, and calculate the internal parameter matrix K of each PTZ camera. i , and its rotation matrix R relative to the vehicle coordinate system i , translation vector T i , calculate the transformation matrix H of the located target from the world coordinate system to each camera pixel coordinate system i , use the least squares method to find the three-dimensional position of the target in the vehicle coordinate system; the specific steps are as follows:
[0008] Step 1: calibrate the position of each PTZ camera in the vehicle coordinate system by measuring, that is, the translation vector T of the camera relative to the vehicle coordinate system. i=(a,b,c) T ;
[0009] Step 2 Calculate the camera coordinate system O of each PTZ camera c -xyz relative to the vehicle coordinate system O v -xyz rotation matrix R i ;
[0010] Step 3: Estimate the intrinsic parameter matrix K of each camera at the current zoom factor. i ;
[0011] Step 4: Calculate the coordinate system of the vehicle body O v -xyz coordinates are converted to the pixel coordinate system of each camera o i -Transformation matrix H of the coordinates under uv i ;
[0012] Step 5 Use the least squares method to find the target in the vehicle coordinate system O v -xyz three-dimensional position P(x v ,y v ,z v ).
[0013] Furthermore, the rotation matrix R of each camera coordinate system relative to the vehicle coordinate system in step 2 is i The calculation method is:
[0014] 1) Set the direction of the initial position of the camera coordinate system to be consistent with the direction of the vehicle coordinate system;
[0015] 2) Obtain the horizontal rotation angle α and the pitch rotation angle β of each PTZ camera relative to the initial position;
[0016] 3) Assume that the direction vector of the horizontal rotation of the camera in the initial position in the vehicle coordinate system is v, and the direction vector of the pitch rotation is h, and the rotation matrix can be obtained:
[0017]
[0018] in, Represents the rotation matrix of the rotation vector v by an angle α, The meaning is the same as It can be obtained according to the Rodriguez formula:
[0019]
[0020] Similarly, we can find Among them, v and h can be idealized to be consistent with the directions of their respective coordinate axes, and I is a third-order unit matrix.
[0021] Furthermore, the intrinsic parameter matrix K of each camera in step 3 isi The estimation method is to establish the functional relationship between the zoom value z and the intrinsic parameter matrix K = f(z) through the previous discrete calibration results, and estimate the camera's intrinsic parameter matrix K according to the current zoom value i .
[0022] Further, the transformation matrix H in step 4 is i The calculation method is:
[0023]
[0024] Further, in step 5, the least square method is used to find the target in the vehicle body coordinate system O v -xyz three-dimensional position P(x v ,y v ,z v ), the steps are:
[0025] (1) Obtain the coordinates p of the target in the pixel coordinate system of each camera image i (u i ,v i ), the coordinates of the located target in the vehicle coordinates P(x v ,y v ,z v ) and p i (u i ,v i ) is as follows:
[0026] (u i ,v i ,1) T =H i (x v ,y v ,z v ,1) T (4)
[0027] (2) Expanding the transformation relationship of each group of equations (4) can obtain 2i groups of equations. The simultaneous equations are written in matrix form to obtain:
[0028] A (2i)×3 (x w ,y w ,z w ) T =B (2i)×1 (5)
[0029] Solve equation (5) using the least squares method and get P(x v ,y v ,z v )’s three-dimensional coordinates.
[0030] Furthermore, each PTZ camera has two rotational degrees of freedom, namely, pan and tilt, and one zoom degree of freedom.
[0031] Furthermore, each of the PTZ cameras can rotate and zoom independently and sense the surrounding environment of the vehicle body. They can also form a stereoscopic vision system in pairs or a multi-eye stereoscopic vision system to achieve three-dimensional positioning of the target.
[0032] Beneficial effects: Compared with the prior art, the present invention aims to use intelligent unmanned systems to scout and accurately locate targets with different focal lengths and distances in various environments, overcome the shortcomings of traditional intelligent unmanned system sensors in target positioning distance, accuracy and texture information, and is equipped with multiple PTZ cameras. According to the position and posture of each camera itself, combined with the position of the positioning target in each camera image, the target can be accurately located in three dimensions. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is a top view of the installation of four variable-pose zoom cameras.
[0034] In the picture: T i is the position of each camera in the vehicle coordinate system DETAILED DESCRIPTION
[0035] In order to be able to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other. In the following description, many specific details are set forth in order to fully understand the present invention, and the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the art without making creative work are within the scope of protection of the present invention. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0036] In the various embodiments of the present invention, for the convenience of description and not to limit the present invention, the term "connection" used in the patent application specification and claims of the present invention is not limited to physical or mechanical connection, but may include electrical connection, whether direct or indirect. "Up", "down", "below", "left", "right", etc. are only used to indicate relative position relationship. When the absolute position of the described object changes, the relative position relationship also changes accordingly.
[0037] See the attached figure for details. This embodiment provides a target positioning method for a ground intelligent unmanned platform equipped with multiple PTZ cameras. Multiple PTZ cameras installed on the ground intelligent unmanned platform and a vehicle-mounted computing module constitute a perception system. The perception system sends the images acquired by each PTZ camera and its own posture and focal length information to the vehicle-mounted computing module. At the same time, the vehicle-mounted computing module can send instructions to the camera to control the camera rotation and zoom, and calculate the internal parameter matrix K of each PTZ camera. i , and its rotation matrix R relative to the vehicle coordinate system i , translation vector T i , calculate the transformation matrix H of the located target from the world coordinate system to each camera pixel coordinate system i , use the least squares method to find the three-dimensional position of the target in the vehicle coordinate system; the specific steps are as follows:
[0038] Step 1: calibrate the position of each PTZ camera in the vehicle coordinate system by measuring, that is, the translation vector of the camera relative to the vehicle coordinate system, that is, measure the vector T of each PTZ camera relative to the origin in the vehicle coordinate system. i =(a,b,c) T ;
[0039] Step 2 Calculate the camera coordinate system O of each PTZ camera c -xyz relative to the vehicle coordinate system O v -xyz rotation matrix R i ;
[0040] Step 3: Estimate the intrinsic parameter matrix K of each camera at the current zoom factor. i ;
[0041] Step 4: Calculate the coordinate system of the vehicle body O v -xyz coordinates are converted to the pixel coordinate system of each camera o i -Transformation matrix H of the coordinates under uv i ;
[0042] Step 5 Use the least squares method to find the target in the vehicle coordinate system O v -xyz three-dimensional position P(x v ,y v ,z v ).
[0043] The preferred solution of this embodiment is that the rotation matrix R of each camera coordinate system relative to the vehicle body coordinate system in step 2 is i The calculation method is:
[0044] 1) Set the camera coordinate system O c -xyz initial position direction and vehicle body coordinate system O v-Set the directions of the xyz axes to be consistent;
[0045] 2) Obtain the horizontal rotation angle α and the pitch rotation angle β of each PTZ camera relative to the initial position through the camera's built-in SDK;
[0046] 3) Assume that at the initial position, the direction vector of the horizontal rotation of the camera in the vehicle coordinate system is v, and the direction vector of the pitch rotation is h, and the rotation matrix is obtained:
[0047]
[0048] in, Represents the rotation matrix of the rotation vector v by an angle α, The meaning is the same as It can be obtained according to the Rodriguez formula:
[0049]
[0050] Among them, v and h can be idealized to be consistent with the directions of their respective coordinate axes, and I is a third-order unit matrix.
[0051] The preferred solution of this embodiment is that the intrinsic parameter matrix K of each camera in step 3 is i The estimation method is to establish the functional relationship between the zoom value z and the intrinsic parameter matrix K = f(z) through the previous discrete calibration results, and estimate the camera's intrinsic parameter matrix K according to the current zoom value i , z can be obtained by the camera SDK.
[0052] The preferred solution of this embodiment is that the transformation matrix H in step 4 is i The calculation method is:
[0053]
[0054] The preferred solution of this embodiment is to use the least square method in step 5 to find the target in the vehicle body coordinate system O v -xyz three-dimensional position P(x v ,y v ,z v ), the steps are:
[0055] (1) Obtain the coordinates p of the located target in the pixel coordinate system of each camera image i (u i ,v i ), the coordinates of the located target in the vehicle coordinates P(x v ,y v ,z v ) and p i (u i ,v i) is as follows:
[0056] (u i ,v i ,1) T =H i (x v ,y v ,z v ,1) T (4)
[0057] (2) Expanding the transformation relationship of each group of equations (4), we can obtain 2i groups of equations:
[0058]
[0059] Write the simultaneous equations in matrix form:
[0060] have to:
[0061]
[0062] Right now:
[0063] A (2i)×3 (x w ,y w ,z w ) T =B (2i)×1 (7)
[0064] Solve equation (7) using the least squares method and get P(x v ,y v ,z v )’s three-dimensional coordinates.
[0065] A preferred solution of this embodiment is that each PTZ camera has two rotational degrees of freedom, horizontal and pitch, and one zoom degree of freedom.
[0066] A preferred solution of this embodiment is that each of the PTZ cameras can rotate and zoom independently and sense the surrounding environment of the vehicle body. They can also form a stereoscopic vision system in pairs, or form a multi-eye stereoscopic vision system to achieve three-dimensional positioning of the target.
[0067] Example
[0068] Multiple PTZ cameras were installed on the ground intelligent unmanned platform to locate the target and verify the above target positioning method. The two front cameras were used to conduct a positioning experiment on the target. The experiment was conducted at a distance of 0-100m, with an interval of 5 meters. The target was located at different focal lengths and angles of the camera, and the positioning value was compared with the true value. The positioning results are shown in Table 1.
[0069] Table 1 Experimental data of long-distance target positioning
[0070]
[0071]
[0072] Within a range of 100m, the positioning distance error of targets at different distances is less than 2%.
[0073] Within a range of 10m, the targets at different angles are positioned, and the three-dimensional position Euclidean distance error between the experimental results and the true results is less than 2.8%.
[0074] Table 2 Experimental results of large-angle target positioning
[0075]
[0076] The above-mentioned reference embodiment provides a detailed description of the target positioning method for a ground intelligent unmanned platform equipped with multiple PTZ cameras. It is illustrative rather than restrictive, and several embodiments can be listed according to the limited scope. Therefore, changes and modifications without departing from the overall concept of the present invention should fall within the scope of protection of the present invention.
Claims
1. A target positioning method for a ground intelligent unmanned platform equipped with multiple PTZ cameras. Multiple PTZ cameras installed on the ground intelligent unmanned platform and a vehicle-mounted computing module constitute a perception system. The perception system sends the images acquired by each PTZ camera and its own posture and focal length information to the vehicle-mounted computing module. At the same time, the vehicle-mounted computing module can send instructions to the camera to control the camera rotation and zoom, and calculate the internal parameter matrix K of each PTZ camera. i , and its rotation matrix R relative to the vehicle coordinate system i , translation vector T i , calculate the transformation matrix H of the located target from the world coordinate system to each camera pixel coordinate system i , use the least squares method to find the three-dimensional position of the target in the vehicle coordinate system; the specific steps are as follows: Step 1: calibrate the position of each PTZ camera in the vehicle coordinate system by measuring, that is, the translation vector T of the camera relative to the vehicle coordinate system. i =(a,b,c) T ; Step 2 Calculate the camera coordinate system O of each PTZ camera c -xyz relative to the vehicle coordinate system O v -xyz rotation matrix R i ; Step 3: Estimate the intrinsic parameter matrix K of each PTZ camera at the current zoom factor. i ; Step 4: Calculate the coordinate system of the vehicle body O v -xyz coordinates are converted to the pixel coordinate system of each camera o i -Transformation matrix H of the coordinates under uv i ; Step 5 Use the least squares method to find the target in the vehicle coordinate system O v -xyz three-dimensional position P(x v ,y v ,z v ); In step 2, the rotation matrix R of each camera coordinate system relative to the vehicle coordinate system i The calculation method is: 1) Set the direction of the initial position of the camera coordinate system to be consistent with the direction of the vehicle coordinate system; 2) Obtain the horizontal rotation angle α and the pitch rotation angle β of each PTZ camera relative to the initial position; 3) Assume that the direction vector of the horizontal rotation of the camera at the initial position in the vehicle coordinate system is v, and the direction vector of the pitch rotation is h, and the rotation matrix is obtained: Identity matrix; The fourth step is to transform the matrix H i The calculation method is: Position P(x v ,y v ,z v ), the steps are: (1) Obtain the coordinates p of the target in the pixel coordinate system of each camera image i (u i ,v i ), the coordinates of the located target in the vehicle coordinates P(x v ,y v ,z v ) and p i (u i ,v i ) is as follows: (u i ,v i ,1) T =H i (x v ,y v ,z v ,1) T (4) (2) Expand the transformation relationship of each group of equations (4) to obtain 2i groups of equations. Write the simultaneous equations in the form of a matrix and obtain: A (2i)×3 (x w ,y w ,z w ) T =B (2i)×1 (5) Solve equation (5) using the least squares method and get P(x v ,y v ,z v )’s three-dimensional coordinates.
2. The target positioning method for a ground intelligent unmanned platform equipped with multiple PTZ cameras according to claim 1, Its characteristics are: The intrinsic parameter matrix K of each camera described in step 3 i The estimation method is to establish the functional relationship between the zoom value z and the internal parameter matrix K through the previous discrete calibration results i =f(z), and then estimate the camera's intrinsic parameter matrix K based on the current zoom value i .
3. The target positioning method for a ground intelligent unmanned platform equipped with multiple PTZ cameras according to claim 1, Its characteristics are: Each of the PTZ cameras has two rotational degrees of freedom, horizontal and tilt, and one zoom degree of freedom.
4. The target positioning method for a ground intelligent unmanned platform equipped with multiple PTZ cameras according to claim 1 or 3, Its characteristics are: Each of the PTZ cameras rotates and zooms independently, and senses the surrounding environment of the vehicle body, or forms a stereoscopic vision system in pairs, or forms a multi-eye stereoscopic vision system to achieve three-dimensional positioning of the target.
Citation Information
Patent Citations
Master-slave tracking method of linear motion PTZ camera assisted binocular PTZ visual system
CN110415278A
Method for acquiring coordinate transformation matrix and positioning target in monitoring picture
CN111461994A
Target positioning method based on binocular PTZ camera
CN113379848A
Outdoor middle and long distance scene calibration method based on multi-PTZ camera in arbitrary distributed configuration
CN113487677A
Autonomous camera tracking and image mixing device
DE102018008979A1
