A method and system for positioning workers based on multiple cameras at any position
By arranging cameras and calibration objects at any position on the electric power work site, establishing a coordinate conversion table, and identifying the operator's coordinates, the existing technology's strict requirements for camera installation positions and difficulty in relative position measurement are solved, and the installation does not need to be at the same level. positioning of workers.
Patent Information
- Application Number
- CN202111403625.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-22
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-11-22
AI Technical Summary
The existing positioning method of multiple cameras combined with calibration objects has strict requirements on the installation position of the cameras. It requires all cameras to be installed at the same level and the relative positions between each camera need to be measured, which leads to great problems in practical applications. Difficulty.
Arrange N cameras at any position on the power work site, set up M groups of calibration objects, obtain the images of the calibration objects captured by the cameras, record the position coordinates of the calibration objects, and calculate the coordinates of the spatial grid points in each camera image through the difference. , establish a coordinate conversion table, identify the coordinates of workers when they enter, compare them with the table, and select the closest coordinates to determine their spatial coordinates.
There is no need for all cameras to be installed at the same level, and there is no need to measure the relative positions between cameras, which enables accurate positioning of workers and simplifies the installation process.
Smart Images

Figure CN114092882B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power operation, and in particular to a method and system for positioning operators based on multiple cameras at arbitrary positions. Background Art
[0002] At the power operation site, accurate and effective positioning of the position of the operator is an important basis for preventing accidents and ensuring the safety of the staff. The existing means of positioning the position of the operators at the power operation site are mostly implemented by GPS, Beidou positioning system and UWB positioning system, but the positioning accuracy of GPS and Beidou positioning systems is not enough, and the UWB positioning system requires the installation of a base station at the operation site, which is inconvenient to use. In order to avoid the defects of the above positioning technology, the existing new method of positioning the position of the operator at the power operation site is to use multiple cameras combined with calibration objects for positioning, but the existing method of using multiple cameras combined with calibration objects for positioning has strict requirements on the installation position of the camera, requiring all cameras to be installed at the same level, and at the same time, the relative position between each camera needs to be measured, which is very difficult in practical applications. Summary of the invention
[0003] The present invention provides a method and system for positioning workers based on multiple cameras at arbitrary positions, which are used to solve the technical problem that the existing positioning method using multiple cameras in combination with calibration objects has strict requirements on the installation position of the cameras, requires all cameras to be installed at the same horizontal height, and requires measuring the relative positions of each camera, which is very difficult in practical applications.
[0004] In view of this, a first aspect of the present invention provides a method for positioning workers based on multiple cameras at any position, comprising:
[0005] Arrange N cameras at any location on the power operation site, where N is not less than 3;
[0006] M groups of calibration objects are set at preset horizontal positions and heights at the power operation site, and the spatial coordinates of each group of calibration objects are determined;
[0007] Obtain the calibration object images taken by N cameras, and record the position coordinates of each group of calibration objects in each calibration object image;
[0008] The gridded power operation site space is used to calculate the coordinates of each spatial grid point in the image taken by each camera based on the spatial coordinates of each set of calibration objects and the position coordinates in each calibration object image, and the coordinates are saved as a coordinate conversion table;
[0009] When the operator enters the power operation site for operation, N cameras are used to capture images of the power operation site, and the operator in the images of the power operation site is identified;
[0010] Calculate the coordinates of the workers in the power operation site image;
[0011] Compare the coordinates of the workers in the N power operation site images with the coordinates in the coordinate conversion table, and select the coordinates that are closest to the coordinates in the coordinate conversion table;
[0012] The spatial grid point corresponding to the selected closest coordinate is queried from the coordinate conversion table to obtain the spatial coordinates of the operator.
[0013] Optionally, a UWB positioning system is used to calibrate each group of calibration objects to determine the spatial coordinates of each group of calibration objects.
[0014] Optionally, M is not less than 2.
[0015] A second aspect of the present invention provides a worker positioning system based on multiple cameras at any position, comprising:
[0016] An installation module is used to arrange N cameras at any location on the power operation site, where N is not less than 3;
[0017] A calibration module, used to set M groups of calibration objects at preset horizontal positions and heights at the power operation site, and determine the spatial coordinates of each group of calibration objects;
[0018] An image acquisition module is used to acquire the calibration object images taken by N cameras and record the position coordinates of each group of calibration objects in each calibration object image;
[0019] The rasterization module is used to rasterize the space of the power operation site. According to the spatial coordinates of each group of calibration objects and the position coordinates in each calibration object image, the coordinates of each spatial grid point in the image taken by each camera are calculated by difference method and saved as a coordinate conversion table.
[0020] The operator identification module is used to obtain images of the power operation site taken by N cameras and identify the operators in the images of the power operation site when the operators enter the power operation site for operation;
[0021] A coordinate calculation module, used to calculate the coordinates of the operator in the power operation site image in the power operation site image;
[0022] A coordinate conversion module, used to compare the coordinates of the operators in the N power operation site images with the coordinates in the coordinate conversion table, and select the coordinates that are closest to the coordinates in the coordinate conversion table;
[0023] The position determination module is used to query the space grid point corresponding to the selected closest coordinate from the coordinate conversion table to obtain the space coordinate of the operator.
[0024] Optionally, a UWB positioning system is used to calibrate each group of calibration objects to determine the spatial coordinates of each group of calibration objects.
[0025] Optionally, M is not less than 2.
[0026] It can be seen from the above technical solutions that the operator positioning method based on multiple cameras at any position of the present invention has the following advantages:
[0027] The present invention provides a method for positioning workers based on multiple cameras at any position. N cameras are arranged at any position of the power operation site, and the calibration object image is captured. The coordinates of the calibration object in the calibration object image are determined, and the power operation site space is gridded. The coordinates of each spatial grid point in the image captured by each camera are calculated, and a coordinate conversion table is established. When the workers enter the power operation site for operation, the power operation site image is captured, and the workers in the power operation site image are identified. Then, the coordinates of the workers in the power operation site image captured by all cameras are compared with the coordinates in the coordinate conversion table, and the coordinates closest to the coordinates in the coordinate conversion table are selected. The spatial grid points corresponding to the selected closest coordinates are queried from the coordinate conversion table to obtain the spatial coordinates of the workers. The method for positioning workers based on multiple cameras at any position provided by the present invention does not require all cameras to be installed at the same horizontal height, nor does it require the relative positions of the cameras to be measured. It solves the technical problem that the existing method of using multiple cameras in combination with calibration objects for positioning has strict requirements on the installation position of the cameras, requires all cameras to be installed at the same horizontal height, and requires the relative positions of the cameras to be measured, which is very difficult in practical applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 A flowchart of a method for positioning workers based on multiple cameras at any position provided by the present invention;
[0030] Figure 2 A schematic structural diagram of a worker positioning system based on multiple cameras at arbitrary positions provided by the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] For easier understanding, see Figure 1 The present invention provides an embodiment of a method for positioning a worker based on multiple cameras at any position, comprising:
[0033] Step 101: Arrange N cameras at any location of the power operation site, where N is not less than 3.
[0034] In the embodiment of the present invention, it is not required that all cameras be installed at the same horizontal height, and N cameras can be arranged at any position of the power operation site.
[0035] Step 102: Set M groups of calibration objects at preset horizontal positions and heights at the power operation site, and determine the spatial coordinates of each group of calibration objects.
[0036] The location of the M groups of calibration objects can be set according to the actual situation of the power operation site, and the location of each group of calibration objects is different. The spatial coordinates of the calibration objects can be calibrated by the UWB positioning system. The M groups of calibration objects can be set to no less than 2 groups. The calibration object images of the M groups of calibration objects can be taken once each time a group of calibration objects is placed, or they can be taken at the same time after all calibration objects are placed at one time.
[0037] Step 103: Obtain the calibration object images captured by N cameras, and record the position coordinates of each group of calibration objects in each calibration object image.
[0038] The N arranged cameras are used to respectively capture the calibration object images of each group of calibration objects, so there may be N calibration object images for each group of calibration objects. The coordinates of the calibration objects in each calibration object image may be determined according to the pixel points.
[0039] Step 104, rasterize the power operation site space, and calculate the coordinates of each spatial grid point in the image taken by each camera by using the difference method according to the spatial coordinates of each group of calibration objects and the position coordinates in each calibration object image, and save them as a coordinate conversion table.
[0040] The power operation site space is rasterized, and the coordinates of each spatial grid point in the image taken by each camera are calculated by difference method according to the spatial coordinates of the calibration object obtained in step 102 and step 103 and the position coordinates of the calibration object in each calibration object image. Thus, a coordinate conversion table can be established to show the corresponding relationship between the coordinates of each spatial grid point in the power operation site space and the image taken by each camera.
[0041] Step 105: When the operator enters the power operation site for operation, obtain images of the power operation site taken by N cameras and identify the operator in the images of the power operation site.
[0042] When workers enter the power operation site to work, N cameras are used to capture images of the power operation site, and N images of the power operation site containing workers are obtained. The workers in each image are identified using a preset image recognition algorithm.
[0043] Step 106: Calculate the coordinates of the workers in the power operation site image.
[0044] The principle is the same as that of step 103 , and the coordinates of the operator in each power operation site image can be calculated.
[0045] Step 107 : Compare the coordinates of the workers in the N power operation site images with the coordinates in the coordinate conversion table, and select the coordinates that are closest to the coordinates in the coordinate conversion table.
[0046] It can be known from step 104 that the coordinate conversion table contains the coordinates of the image taken by each camera. Therefore, after calculating the coordinates of the operator in each power operation site image, the calculated coordinates of the operator in each power operation site image are compared with the image coordinates in the coordinate conversion table, and the coordinates in the coordinate conversion table that are closest to the coordinates of the operator in the N power operation site images are screened out.
[0047] Step 108: query the space grid point corresponding to the selected closest coordinate from the coordinate conversion table to obtain the space coordinates of the operator.
[0048] Directly according to the coordinates screened in step 107, the spatial grid points corresponding to the coordinates are searched from the coordinate conversion table, so as to obtain the spatial coordinates of the operator.
[0049] The operator positioning method based on multiple cameras at any position provided by the embodiment of the present invention arranges N cameras at any position of the power operation site, captures the calibration object image, determines the coordinates of the calibration object in the calibration object image, and grids the power operation site space, calculates the coordinates of each spatial grid point in the image captured by each camera, establishes a coordinate conversion table, captures the power operation site image when the operator enters the power operation site for operation, identifies the operator in the power operation site image, and then compares the coordinates of the operator in the power operation site image captured by all cameras with the coordinates in the coordinate conversion table, selects the coordinates closest to the coordinates in the coordinate conversion table, queries the spatial grid points corresponding to the selected closest coordinates from the coordinate conversion table, and obtains the spatial coordinates of the operator. The operator positioning method based on multiple cameras at any position provided by the present invention does not require all cameras to be installed at the same horizontal height, nor does it require the relative positions of each camera to be measured, which solves the existing method of using multiple cameras in combination with calibration objects for positioning, which has strict requirements on the installation position of the camera, requires all cameras to be installed at the same horizontal height, and requires the relative positions of each camera to be measured, and has a technical problem of great difficulty in practical application.
[0050] For easier understanding, see Figure 2 The present invention provides an embodiment of a worker positioning system based on multiple cameras at any position, including:
[0051] Installation module 201, used to arrange N cameras at any location of the power operation site, where N is not less than 3;
[0052] The calibration module 202 is used to set M groups of calibration objects at preset horizontal positions and heights at the power operation site, and determine the spatial coordinates of each group of calibration objects;
[0053] The image acquisition module 203 is used to acquire the calibration object images taken by N cameras and record the position coordinates of each group of calibration objects in each calibration object image;
[0054] The rasterization module 204 is used to rasterize the space of the power operation site, and calculates the coordinates of each spatial grid point in the image taken by each camera by using the difference method according to the spatial coordinates of each group of calibration objects and the position coordinates in each calibration object image, and saves them as a coordinate conversion table;
[0055] The operator identification module 205 is used to obtain images of the power operation site taken by N cameras and identify the operators in the images of the power operation site when the operators enter the power operation site for operation;
[0056] A coordinate calculation module 206, used to calculate the coordinates of the operator in the power operation site image in the power operation site image;
[0057] A coordinate conversion module 207, used to compare the coordinates of the workers in the N power operation site images with the coordinates in the coordinate conversion table, and select the coordinates that are closest to the coordinates in the coordinate conversion table;
[0058] The position determination module 208 is used to query the space grid point corresponding to the selected closest coordinate from the coordinate conversion table to obtain the space coordinate of the operator.
[0059] The UWB positioning system is used to calibrate each group of calibration objects to determine the spatial coordinates of each group of calibration objects.
[0060] M is not less than 2.
[0061] The operator positioning system based on multiple cameras at any position provided by the embodiment of the present invention arranges N cameras at any position of the power operation site, captures the calibration object image, determines the coordinates of the calibration object in the calibration object image, and grids the power operation site space, calculates the coordinates of each spatial grid point in the image captured by each camera, establishes a coordinate conversion table, captures the power operation site image when the operator enters the power operation site for operation, identifies the operator in the power operation site image, and then compares the coordinates of the operator in the power operation site image captured by all cameras with the coordinates in the coordinate conversion table, selects the coordinates closest to the coordinates in the coordinate conversion table, queries the spatial grid points corresponding to the selected closest coordinates from the coordinate conversion table, and obtains the spatial coordinates of the operator. The operator positioning system based on multiple cameras at any position provided by the present invention does not require all cameras to be installed at the same horizontal height, nor does it require the relative positions of each camera to be measured, which solves the existing method of using multiple cameras in combination with calibration objects for positioning, which has strict requirements on the installation position of the camera, requires all cameras to be installed at the same horizontal height, and requires the relative positions of each camera to be measured, and has a technical problem of great difficulty in practical application.
[0062] The worker positioning system based on multiple cameras at any position provided in an embodiment of the present invention is used to execute the worker positioning method based on multiple cameras at any position in the aforementioned embodiment of the worker positioning method based on multiple cameras at any position. The principle is consistent with the worker positioning method based on multiple cameras at any position in the aforementioned embodiment, and will not be repeated here.
[0063] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for positioning workers based on multiple cameras at any position, characterized in that: include: Arrange N cameras at any location on the power operation site, where N is not less than 3; M groups of calibration objects are set at preset horizontal positions and heights at the power operation site, and the spatial coordinates of each group of calibration objects are determined; Obtain the calibration object images taken by N cameras, and record the position coordinates of each group of calibration objects in each calibration object image; The gridded power operation site space is used to calculate the coordinates of each spatial grid point in the image taken by each camera based on the spatial coordinates of each set of calibration objects and the position coordinates in each calibration object image, and the coordinates are saved as a coordinate conversion table; When the operator enters the power operation site for operation, N cameras are used to capture images of the power operation site, and the operator in the images of the power operation site is identified; Calculate the coordinates of the workers in the power operation site image; Compare the coordinates of the workers in the N power operation site images with the coordinates in the coordinate conversion table, and select the coordinates that are closest to the coordinates in the coordinate conversion table; The spatial grid point corresponding to the selected closest coordinate is queried from the coordinate conversion table to obtain the spatial coordinates of the operator.
2. The method for positioning workers based on multiple cameras at any position according to claim 1, characterized in that: The UWB positioning system is used to calibrate each group of calibration objects to determine the spatial coordinates of each group of calibration objects.
3. The method for positioning workers based on multiple cameras at any position according to claim 1, characterized in that: M is not less than 2.
4. A worker positioning system based on multiple cameras at any position, characterized in that: include: An installation module is used to arrange N cameras at any location on the power operation site, where N is not less than 3; A calibration module, used to set M groups of calibration objects at preset horizontal positions and heights at the power operation site, and determine the spatial coordinates of each group of calibration objects; An image acquisition module is used to acquire the calibration object images taken by N cameras and record the position coordinates of each group of calibration objects in each calibration object image; The rasterization module is used to rasterize the space of the power operation site. According to the spatial coordinates of each group of calibration objects and the position coordinates in each calibration object image, the coordinates of each spatial grid point in the image taken by each camera are calculated by difference method and saved as a coordinate conversion table. The operator identification module is used to obtain images of the power operation site taken by N cameras and identify the operators in the images of the power operation site when the operators enter the power operation site for operation; A coordinate calculation module, used to calculate the coordinates of the operator in the power operation site image in the power operation site image; A coordinate conversion module, used to compare the coordinates of the operators in the N power operation site images with the coordinates in the coordinate conversion table, and select the coordinates that are closest to the coordinates in the coordinate conversion table; The position determination module is used to query the space grid point corresponding to the selected closest coordinate from the coordinate conversion table to obtain the space coordinate of the operator.
5. The operator positioning system based on multiple cameras at any position according to claim 4, characterized in that: The UWB positioning system is used to calibrate each group of calibration objects to determine the spatial coordinates of each group of calibration objects.
6. The operator positioning system based on multiple cameras at any position according to claim 4, characterized in that: M is not less than 2.
