CN113115229A - Personnel trajectory tracking method and system based on Beidou grid code - Google Patents
Personnel trajectory tracking method and system based on Beidou grid code Download PDFInfo
- Publication number
- CN113115229A CN113115229A CN202110204999.1A CN202110204999A CN113115229A CN 113115229 A CN113115229 A CN 113115229A CN 202110204999 A CN202110204999 A CN 202110204999A CN 113115229 A CN113115229 A CN 113115229A
- Authority
- CN
- China
- Prior art keywords
- personnel
- grid
- image
- camera
- analysis
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/393—Trajectory determination or predictive tracking, e.g. Kalman filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
Abstract
The invention provides a person trajectory tracking method and system based on Beidou grid codes, wherein the method comprises the following steps: step 1, acquiring camera data through an opencv library; step 2, reading the video recorded by the camera, extracting each frame of image, and carrying out image preprocessing; step 3, carrying out human body target detection on the image by using a YOLO target recognition model, and outputting a picture with position and category information of personnel; step 4, calling a Beidou grid code interface, acquiring longitude and latitude and grid codes of a to-be-detected area, and dividing an analysis grid of a to-be-detected picture on a spatial level, wherein the grid codes correspond to the longitude and latitude one by one; and 5, recording the position information and the stay time of the personnel, and visualizing the personnel track to an analysis grid of the picture through an opencv library. By adopting the personnel trajectory tracking technology, the personnel trajectory tracking indoor and outdoor can be realized without requiring that personnel must carry electronic products or need to be in a Wi-Fi environment.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a personnel trajectory tracking method and system based on Beidou grid codes.
Background
With the development of informatization, information technology has been applied to various fields of various industries, is widely applied to the tracking of person trajectories, and can be applied to the trajectory tracking of suspicious persons, abnormal persons and special people. The techniques in person trajectory tracking are also very limited. The existing person tracking technology relies on electronic products, such as smart phones, to track the person based on Wi-Fi signals and GPS information. Still others are based on indoor location and tracking techniques. These all need to carry out personnel's trail tracking under specific environment, and the dependence is too strong, and if the personnel that need to track do not carry any electronic product, or personnel are outdoor, then can not use above-mentioned technique to track this personnel's trail, and current personnel tracking technique has great limitation.
Disclosure of Invention
One of the technical problems to be solved by the present invention is to provide a person trajectory tracking method based on Beidou grid codes, which can track the movement trajectory of a person without being limited indoors or outdoors by being separated from an electronic product.
One of the technical problems to be solved by the invention is realized as follows: a person trajectory tracking method based on Beidou grid codes comprises the following steps:
step 1, acquiring camera data through an opencv library;
step 2, reading the video recorded by the camera, extracting each frame of image, and carrying out image preprocessing;
step 3, carrying out human body target detection on the image by using a YOLO target recognition model, and outputting a picture with position and category information of personnel;
step 4, calling a Beidou grid code interface, acquiring longitude and latitude and grid codes of a to-be-detected area, and dividing an analysis grid of a to-be-detected picture on a spatial level, wherein the grid codes correspond to the longitude and latitude one by one;
and 5, recording the position information and the stay time of the personnel, and visualizing the personnel track to an analysis grid of the picture through an opencv library.
Further, the camera data includes a camera position and a video recorded by the camera.
Further, the step 2 is specifically to acquire a video recorded by a corresponding camera according to the position of the camera, extract each frame of image, and perform image preprocessing, where the image preprocessing includes adjusting the size and brightness of the image.
Further, step 3 is preceded by performing normalization processing on the image.
Further, the step 5 specifically includes:
acquiring longitude and latitude information of the position of a person, converting the longitude and latitude information into a corresponding grid code, recording the position of the person in the grid, and simultaneously recording the stay time of the corresponding position;
according to the recorded personnel position information and the corresponding stay time, the distribution condition of the analysis personnel on the analysis grid is analyzed, personnel activity track data are obtained by combining the geographic space information corresponding to the camera, the personnel activity track data are sent to a background for further analysis, and meanwhile, the opencv personnel activity track is visualized on the analysis grid corresponding to the picture and displayed to the user.
The second technical problem to be solved by the present invention is to provide a person trajectory tracking system based on the beidou grid code, which can track the movement trajectory of a person without being limited indoors or outdoors and can be separated from an electronic product.
The second technical problem to be solved by the invention is realized as follows: the utility model provides a personnel trajectory tracking system based on big dipper grid code, includes:
the data acquisition module is used for acquiring camera data through an opencv library;
the preprocessing module is used for reading the video recorded by the camera, extracting each frame of image and preprocessing the image;
the human body target detection module is used for detecting the human body target of the image by utilizing the YOLO target recognition model and outputting a picture with the position and the category information of the personnel;
the grid generation module is used for calling a Beidou grid code interface, acquiring longitude and latitude and grid codes of a to-be-detected area, and dividing an analysis grid of a to-be-detected picture on a spatial level, wherein the grid codes correspond to the longitude and latitude one by one;
and the track drawing module is used for recording the position information and the stay time of the personnel and visualizing the track of the personnel to the analysis grid of the picture through the opencv library.
Further, the camera data includes a camera position and a video recorded by the camera.
Further, the preprocessing module specifically acquires a video recorded by a corresponding camera according to the position of the camera, extracts each frame of image, and performs image preprocessing, where the image preprocessing includes adjusting the size and brightness of the image.
Further, the human body target detection module performs normalization processing on the image before execution.
Further, the trajectory drawing module specifically includes:
the system comprises a network management system, a network management system and a network management system, wherein the network management system is used for acquiring longitude and latitude information of personnel positions, converting the longitude and latitude information into corresponding grid codes, recording the positions of the personnel in the grids and recording the stay time of the corresponding positions;
according to the recorded personnel position information and the corresponding stay time, the distribution condition of the analysis personnel on the analysis grid is analyzed, personnel activity track data are obtained by combining the geographic space information corresponding to the camera, the personnel activity track data are sent to a background for further analysis, and meanwhile, the opencv personnel activity track is visualized on the analysis grid corresponding to the picture and displayed to the user.
The invention has the advantages that:
1. the personnel trajectory tracking is realized by combining the camera and the Beidou grid code, and the activity trajectories of suspicious personnel, abnormal personnel and special personnel can be effectively mastered so as to take corresponding measures and avoid risks brought by unknown conditions.
2. Personnel can track the trajectory of the personnel outdoors or indoors without the requirement that the personnel must carry electronic products or need to be under the Wi-Fi environment, the dependence on the environment and the electronic products is reduced, and the personnel tracking technology can be widely applied.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is an execution flow chart of the person trajectory tracking method based on the Beidou grid code.
Fig. 2 is a schematic structural diagram of a personnel trajectory tracking system based on the Beidou grid code.
Fig. 3 is a schematic diagram of the principle of the person trajectory tracking technology based on the Beidou grid code.
Detailed Description
As shown in fig. 1 and 3, the method for tracking a person trajectory based on a beidou grid code of the present invention includes:
step 1, acquiring camera data through an opencv library;
step 2, reading the video recorded by the camera, extracting each frame of image, and carrying out image preprocessing;
step 3, carrying out human body target detection on the image by using a YOLO target recognition model, and outputting a picture with position and category information of personnel; such as rejecting vehicles, etc., and preserving people's categories.
Step 4, calling a Beidou grid code interface, acquiring longitude and latitude and grid codes of a to-be-detected area, and dividing an analysis grid of a to-be-detected picture on a spatial level, wherein the grid codes correspond to the longitude and latitude one by one;
and 5, recording the position information and the stay time of the personnel, and visualizing the personnel track to an analysis grid of the picture through an opencv library.
Preferably, the camera data includes a camera position and a video recorded by the camera.
Preferably, the step 2 is specifically to acquire a video recorded by a corresponding camera according to the position of the camera, extract each frame of image, and perform image preprocessing, where the image preprocessing includes adjusting the size and brightness of the image.
Preferably, step 3 further includes performing normalization processing on the image.
Preferably, the step 5 specifically includes:
acquiring longitude and latitude information of the position of a person, converting the longitude and latitude information into a corresponding grid code, recording the position of the person in the grid, and simultaneously recording the stay time of the corresponding position;
according to the recorded personnel position information and the corresponding stay time, the distribution situation of the analysis personnel on the analysis grid is counted by adopting a corresponding algorithm (a corresponding target detection algorithm is selected according to needs), personnel activity track data are obtained by combining the geographic space information corresponding to the camera, the personnel activity track data are sent to a background for further analysis, and meanwhile, the opencv personnel activity track is visualized on the analysis grid corresponding to the picture and displayed to the user.
As shown in fig. 2 and 3, the person trajectory tracking system based on the beidou grid code of the present invention includes:
the data acquisition module is used for acquiring camera data through an opencv library;
the preprocessing module is used for reading the video recorded by the camera, extracting each frame of image and preprocessing the image;
the human body target detection module is used for detecting the human body target of the image by utilizing the YOLO target recognition model and outputting a picture with the position and the category information of the personnel; such as rejecting vehicles, etc., and preserving people's categories.
The grid generation module is used for calling a Beidou grid code interface, acquiring longitude and latitude and grid codes of a to-be-detected area, and dividing an analysis grid of a to-be-detected picture on a spatial level, wherein the grid codes correspond to the longitude and latitude one by one;
and the track drawing module is used for recording the position information and the stay time of the personnel and visualizing the track of the personnel to the analysis grid of the picture through the opencv library.
Preferably, the camera data includes a camera position and a video recorded by the camera.
Preferably, the preprocessing module obtains a video recorded by a corresponding camera according to the position of the camera, extracts each frame of image, and performs image preprocessing, where the image preprocessing includes adjusting the size and brightness of the image.
Preferably, the human target detection module performs normalization processing on the image before execution.
Preferably, the trajectory drawing module specifically includes:
the system comprises a network management system, a network management system and a network management system, wherein the network management system is used for acquiring longitude and latitude information of personnel positions, converting the longitude and latitude information into corresponding grid codes, recording the positions of the personnel in the grids and recording the stay time of the corresponding positions;
according to the recorded personnel position information and the corresponding stay time, the distribution situation of the analysis personnel on the analysis grid is counted by adopting a corresponding algorithm (a corresponding target detection algorithm is selected according to needs), personnel activity track data are obtained by combining the geographic space information corresponding to the camera, the personnel activity track data are sent to a background for further analysis, and meanwhile, the opencv personnel activity track is visualized on the analysis grid corresponding to the picture and displayed to the user.
The invention combines the camera geographical position information and the Beidou grid code to realize the analysis of the personnel track information, analyzes the behaviors of people by analyzing the use condition of people in each space, the method can effectively master the activity tracks of suspicious personnel, abnormal personnel and special personnel so as to take corresponding measures, avoid risks brought by unknown conditions, and further analyze the personnel track information acquired by the method, for example, the personnel track information can be analyzed to receive vitality or be used as the distribution and development basis of commercial and public facilities according to the activity intensity of people in a certain area, the personnel tracking can be realized outdoors or indoors, the dependence on the environment and electronic products is reduced, and the personnel tracking technology can be widely applied.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.
Claims (10)
1. A personnel trajectory tracking method based on Beidou grid codes is characterized by comprising the following steps: the method comprises the following steps:
step 1, acquiring camera data through an opencv library;
step 2, reading the video recorded by the camera, extracting each frame of image, and carrying out image preprocessing;
step 3, carrying out human body target detection on the image by using a YOLO target recognition model, and outputting a picture with position and category information of personnel;
step 4, calling a Beidou grid code interface, acquiring longitude and latitude and grid codes of a to-be-detected area, and dividing an analysis grid of a to-be-detected picture on a spatial level, wherein the grid codes correspond to the longitude and latitude one by one;
and 5, recording the position information and the stay time of the personnel, and visualizing the personnel track to an analysis grid of the picture through an opencv library.
2. The personnel trajectory tracking method based on the Beidou grid code as set forth in claim 1, characterized in that: the camera data includes a camera position and a video recorded by the camera.
3. The personnel trajectory tracking method based on the Beidou grid code as set forth in claim 2, characterized in that: and step 2 specifically, acquiring a video recorded by a corresponding camera according to the position of the camera, extracting each frame of image, and performing image preprocessing, wherein the image preprocessing comprises image size adjustment and image brightness adjustment.
4. The personnel trajectory tracking method based on the Beidou grid code as set forth in claim 1, characterized in that: the step 3 is also preceded by a normalization process for the image.
5. The personnel trajectory tracking method based on the Beidou grid code as set forth in claim 1, characterized in that: the step 5 specifically includes: the distribution condition and the stay time of the detected personnel position analysts on the analysis grid are combined, personnel activity track data can be obtained, and finally, the analysis is carried out by combining with the geographic space information and the data is visualized, so that the activity track tracking of the personnel can be more visually embodied.
Acquiring longitude and latitude information of the position of a person, converting the longitude and latitude information into a corresponding grid code, recording the position of the person in the grid, and simultaneously recording the stay time of the corresponding position;
according to the recorded personnel position information and the corresponding stay time, the distribution condition of the analysis personnel on the analysis grid is analyzed, personnel activity track data are obtained by combining the geographic space information corresponding to the camera, the personnel activity track data are sent to a background for further analysis, and meanwhile, the opencv personnel activity track is visualized on the analysis grid corresponding to the picture and displayed to the user.
6. The utility model provides a personnel trajectory tracking system based on big dipper grid code which characterized in that: the method comprises the following steps:
the data acquisition module is used for acquiring camera data through an opencv library;
the preprocessing module is used for reading the video recorded by the camera, extracting each frame of image and preprocessing the image;
the human body target detection module is used for detecting the human body target of the image by utilizing the YOLO target recognition model and outputting a picture with the position and the category information of the personnel;
the grid generation module is used for calling a Beidou grid code interface, acquiring longitude and latitude and grid codes of a to-be-detected area, and dividing an analysis grid of a to-be-detected picture on a spatial level, wherein the grid codes correspond to the longitude and latitude one by one;
and the track drawing module is used for recording the position information and the stay time of the personnel and visualizing the track of the personnel to the analysis grid of the picture through the opencv library.
7. The personnel trajectory tracking system based on Beidou grid codes according to claim 6, characterized in that: the camera data includes a camera position and a video recorded by the camera.
8. The Beidou grid code-based personnel trajectory tracking system of claim 7, wherein: the preprocessing module is specifically used for acquiring a video recorded by a corresponding camera according to the position of the camera, extracting each frame of image and preprocessing the image, wherein the preprocessing of the image comprises the adjustment of the size and the brightness of the image.
9. The personnel trajectory tracking system based on Beidou grid codes according to claim 6, characterized in that: the human body target detection module also performs normalization processing on the image before execution.
10. The personnel trajectory tracking system based on Beidou grid codes according to claim 6, characterized in that: the track drawing module specifically comprises:
the system comprises a network management system, a network management system and a network management system, wherein the network management system is used for acquiring longitude and latitude information of personnel positions, converting the longitude and latitude information into corresponding grid codes, recording the positions of the personnel in the grids and recording the stay time of the corresponding positions;
according to the recorded personnel position information and the corresponding stay time, the distribution condition of the analysis personnel on the analysis grid is analyzed, personnel activity track data are obtained by combining the geographic space information corresponding to the camera, the personnel activity track data are sent to a background for further analysis, and meanwhile, the opencv personnel activity track is visualized on the analysis grid corresponding to the picture and displayed to the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110204999.1A CN113115229A (en) | 2021-02-24 | 2021-02-24 | Personnel trajectory tracking method and system based on Beidou grid code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110204999.1A CN113115229A (en) | 2021-02-24 | 2021-02-24 | Personnel trajectory tracking method and system based on Beidou grid code |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113115229A true CN113115229A (en) | 2021-07-13 |
Family
ID=76709308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110204999.1A Pending CN113115229A (en) | 2021-02-24 | 2021-02-24 | Personnel trajectory tracking method and system based on Beidou grid code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113115229A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113806459A (en) * | 2021-08-09 | 2021-12-17 | 北京北斗伏羲科技有限公司 | Beidou grid-based peer identification method, system and storage medium |
CN113932793A (en) * | 2021-09-24 | 2022-01-14 | 江门职业技术学院 | Three-dimensional coordinate positioning method and device, electronic equipment and storage medium |
CN115147934A (en) * | 2022-09-01 | 2022-10-04 | 中科星图股份有限公司 | Behavior analysis method, behavior analysis device, behavior analysis equipment and computer readable storage medium |
CN115291257A (en) * | 2022-08-04 | 2022-11-04 | 贵阳欧比特宇航科技有限公司 | Geographic coordinate calculation method adopting Beidou grid position coding |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120206260A1 (en) * | 2011-02-10 | 2012-08-16 | General Electric Company | Monitoring occurrence of transmission and distribution grid code event by power consumption device |
CN107529221A (en) * | 2017-08-22 | 2017-12-29 | 上海兴容信息技术有限公司 | A kind of follow-up analysis system and method for combination video monitoring and Wi Fi positioning |
CN108182650A (en) * | 2017-12-22 | 2018-06-19 | 王金刚 | A kind of city space Big Dipper Marking the cell and simplation visualizing system |
CN110781806A (en) * | 2019-10-23 | 2020-02-11 | 浙江工业大学 | Pedestrian detection tracking method based on YOLO |
-
2021
- 2021-02-24 CN CN202110204999.1A patent/CN113115229A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120206260A1 (en) * | 2011-02-10 | 2012-08-16 | General Electric Company | Monitoring occurrence of transmission and distribution grid code event by power consumption device |
CN107529221A (en) * | 2017-08-22 | 2017-12-29 | 上海兴容信息技术有限公司 | A kind of follow-up analysis system and method for combination video monitoring and Wi Fi positioning |
CN108182650A (en) * | 2017-12-22 | 2018-06-19 | 王金刚 | A kind of city space Big Dipper Marking the cell and simplation visualizing system |
CN110781806A (en) * | 2019-10-23 | 2020-02-11 | 浙江工业大学 | Pedestrian detection tracking method based on YOLO |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113806459A (en) * | 2021-08-09 | 2021-12-17 | 北京北斗伏羲科技有限公司 | Beidou grid-based peer identification method, system and storage medium |
CN113806459B (en) * | 2021-08-09 | 2023-12-08 | 北京北斗伏羲科技有限公司 | Method, system and storage medium for identifying staff on basis of Beidou grid |
CN113932793A (en) * | 2021-09-24 | 2022-01-14 | 江门职业技术学院 | Three-dimensional coordinate positioning method and device, electronic equipment and storage medium |
CN113932793B (en) * | 2021-09-24 | 2024-03-22 | 江门职业技术学院 | Three-dimensional coordinate positioning method, three-dimensional coordinate positioning device, electronic equipment and storage medium |
CN115291257A (en) * | 2022-08-04 | 2022-11-04 | 贵阳欧比特宇航科技有限公司 | Geographic coordinate calculation method adopting Beidou grid position coding |
CN115147934A (en) * | 2022-09-01 | 2022-10-04 | 中科星图股份有限公司 | Behavior analysis method, behavior analysis device, behavior analysis equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113115229A (en) | Personnel trajectory tracking method and system based on Beidou grid code | |
US10812761B2 (en) | Complex hardware-based system for video surveillance tracking | |
US11393212B2 (en) | System for tracking and visualizing objects and a method therefor | |
CN102799935B (en) | Human flow counting method based on video analysis technology | |
CN110378259A (en) | A kind of multiple target Activity recognition method and system towards monitor video | |
CN106454277B (en) | A kind of image analysis method and device for video monitoring | |
CN105007395B (en) | A kind of continuous record video, the privacy processing method of image | |
CN111612113A (en) | Epidemic prevention control method, device, system, storage medium and processor | |
Avgerinakis et al. | Recognition of activities of daily living for smart home environments | |
CN105574506A (en) | Intelligent face tracking system and method based on depth learning and large-scale clustering | |
CN109543312B (en) | Space-time investigation analysis method and system | |
CN108229407A (en) | A kind of behavioral value method and system in video analysis | |
CN102164270A (en) | Intelligent video monitoring method and system capable of exploring abnormal events | |
CN112966548B (en) | Soybean plot identification method and system | |
CN109492534A (en) | A kind of pedestrian detection method across scene multi-pose based on Faster RCNN | |
CN110991397B (en) | Travel direction determining method and related equipment | |
CN102254394A (en) | Antitheft monitoring method for poles and towers in power transmission line based on video difference analysis | |
CN109920404A (en) | Possess the information collecting device and acquisition method of the automatic selling Advertising Management System of Intellisense effect | |
CN113269091A (en) | Personnel trajectory analysis method, equipment and medium for intelligent park | |
CN113011280A (en) | Method and device for detecting person contact distance, computer equipment and storage medium | |
Hu et al. | Building occupancy detection and localization using cctv camera and deep learning | |
CN114067396A (en) | Vision learning-based digital management system and method for live-in project field test | |
CN116129328A (en) | Method, device, equipment and storage medium for detecting carryover | |
CN108495095A (en) | A kind of haze diffusion monitoring system based on unmanned plane | |
CN111191498A (en) | Behavior recognition method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |