CN111881824A - Indoor map acquisition method and system based on image recognition - Google Patents
Indoor map acquisition method and system based on image recognition Download PDFInfo
- Publication number
- CN111881824A CN111881824A CN202010737066.4A CN202010737066A CN111881824A CN 111881824 A CN111881824 A CN 111881824A CN 202010737066 A CN202010737066 A CN 202010737066A CN 111881824 A CN111881824 A CN 111881824A
- Authority
- CN
- China
- Prior art keywords
- specific image
- image
- indoor
- shooting positions
- path distance
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000012545 processing Methods 0.000 claims description 22
- 238000007781 pre-processing Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 5
- 238000013507 mapping Methods 0.000 abstract description 4
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/005—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/80—Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/52—Surveillance or monitoring of activities, e.g. for recognising suspicious objects
- G06V20/54—Surveillance or monitoring of activities, e.g. for recognising suspicious objects of traffic, e.g. cars on the road, trains or boats
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Multimedia (AREA)
- Automation & Control Theory (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
Abstract
The invention discloses an indoor map acquisition method and system based on image recognition, wherein the method comprises the following steps: acquiring scene images shot by a camera at different indoor shooting positions aiming at indoor specific image identification, and identifying the target shape of the specific image identification in the scene images; calculating a path distance between corresponding shooting positions or a path distance from a shooting position to the corresponding specific image identifier based on the target shape of the specific image identifier in the scene image; and automatically generating all map primitive data in the system by taking the path distance as a unit. Based on the condition of low requirement on the indoor map precision, the invention can automatically record the intersection path data information by the computer image identification technology without manual point-by-point line-by-line mapping and manual drawing editing, and has small workload and high reliability.
Description
Technical Field
The invention relates to the technical field of map acquisition, in particular to an indoor map acquisition method and system based on image recognition.
Background
At present, a professional surveying instrument is generally adopted for collecting indoor maps, and the paths cannot be automatically recorded through the driving tracks because the indoor maps do not have GPS positioning conditions.
Therefore, the current indoor map acquisition mainly comprises manual point-by-point line-by-line mapping and recording, the workload is very large, and errors are easy to occur.
Disclosure of Invention
Therefore, the embodiment of the invention provides an indoor map acquisition method and system based on image recognition, so as to solve the problems in the prior art.
In order to achieve the above object, an embodiment of the present invention provides the following:
the invention provides an indoor map acquisition method based on image recognition, which comprises the following steps:
acquiring scene images shot by a camera at different indoor shooting positions aiming at indoor specific image identification, and identifying the target shape of the specific image identification in the scene images;
calculating a path distance between corresponding shooting positions or a path distance from a shooting position to the corresponding specific image identifier based on the target shape of the specific image identifier in the scene image;
and automatically generating all map primitive data in the system by taking the path distance as a unit.
Optionally, the map primitive data is a distance between all adjacent two shooting positions, or a distance from all shooting positions to the specific image identifier.
Optionally, the acquiring the scene image shot by the camera at different indoor shooting positions for the indoor specific image identifier further includes a preprocessing step, including:
manually making the specific image identifier in advance, and calibrating the camera;
the pretreatment step is a step of manual pretreatment.
Optionally, the preprocessing step further includes: the method comprises the steps of forming a road with a plurality of intersections indoors, fixing a specific image identifier at one end of the road indoors, shooting scene images at different intersections on the road to obtain the scene images, and obtaining map primitive data as the distance from all shooting positions to the specific image identifier.
Optionally, the preprocessing step further includes: the method comprises the steps that a road with a plurality of intersections is formed indoors, when scene images are shot, the specific image identification and the shooting positions are respectively fixed at any two adjacent intersections, and map primitive data are distances between all two adjacent shooting positions.
Optionally, in the step, based on the target shape of the specific image identifier in the scene image, a path distance between corresponding shooting positions is calculated, or in the path distance from a shooting position to the corresponding specific image identifier, all the acquired scene images are imported into a computer for automatic identification and recognition, and the path distance is calculated according to an image algorithm.
Optionally, the map primitive data is intersection and road layer data automatically generated by a computer program according to the azimuth data and the distance data, so as to finish drawing;
the specific image is marked as a plastic plate with the size of 60cm by 60cm, black and white grid pictures are pasted on the surface of the plastic plate, the number of the grids is 3 by 3, and each small grid is 20cm by 20 cm.
Optionally, the step of calculating a path distance between corresponding shooting positions based on the target shape identified by the specific image in the scene image, or a path distance from a shooting position to the corresponding specific image identifier, further includes an image preprocessing step, including:
carrying out enhancement processing and noise reduction processing on the scene image;
and after the image preprocessing step, if the computer cannot identify the specific image identifier, reminding and displaying a rephotograph mark.
The invention also provides an indoor map acquisition device based on image recognition, which comprises:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring scene images shot by a camera at different indoor shooting positions aiming at indoor specific image identifiers and identifying the target shapes of the specific image identifiers in the scene images;
the processing unit is used for calculating the path distance between the corresponding shooting positions or the path distance from the shooting positions to the corresponding specific image identifications based on the target shapes of the specific image identifications in the scene images;
and the execution unit is used for automatically generating all map primitive data in the system by taking the path distance as a unit.
Optionally, the method further includes:
an image processing unit configured to:
carrying out enhancement processing and noise reduction processing on the scene image;
and after image preprocessing, if the computer cannot identify the specific image identifier, reminding and displaying a rephotograph mark.
The invention has the following advantages:
based on the condition of low requirement on the indoor map precision, the invention can automatically record the intersection path data information by the computer image identification technology without manual point-by-point line-by-line mapping and manual drawing editing, and has small workload and high reliability.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
FIG. 1 is a flow chart of a method provided by the present invention.
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the present invention provides an indoor map collecting method based on image recognition, which includes the following steps:
step 100, manually preprocessing, namely firstly making the specific image identifier and calibrating a camera;
based on a computer, acquiring scene images shot by a camera at different indoor shooting positions aiming at indoor specific image identification, and identifying the target shape of the specific image identification in the scene images;
step 200, calculating a path distance between corresponding shooting positions based on the target shape of the specific image identifier in the scene image, or calculating a path distance from a shooting position to the corresponding specific image identifier; importing all the acquired scene images into a computer for automatic identification and recognition, and calculating the path distance according to an image algorithm;
step 300, automatically generating all map primitive data in the system by taking the path distance as a unit; the map primitive data is that intersection and road layer data are automatically generated through a computer program according to the azimuth data and the distance data, and the map is drawn.
Wherein, the system is a computer system; the specific image is marked as a plastic plate with 60cm by 60cm, black and white grid pictures are pasted on the surface of the plastic plate, the grid is 3 by 3, and each small grid is 20cm by 20 cm.
The map primitive data is the distance between all adjacent two shooting positions, or the distance from all the shooting positions to the specific image identifier. The following description is given for two primitive data types:
the first method comprises the following steps: the map primitive data is the distance between all adjacent two shooting positions.
The method comprises the steps that a road with a plurality of intersections is formed indoors, when scene images are shot, the specific image identification and the shooting positions are respectively fixed at any two adjacent intersections, and map primitive data are distances between all two adjacent shooting positions.
Secondly, the map primitive data is the distance from all shooting positions to the specific image identifier.
The method comprises the steps of forming a road with a plurality of intersections indoors, fixing a specific image identifier at one end of the road indoors, shooting scene images at different intersections on the road to obtain the scene images, and obtaining map primitive data as the distance from all shooting positions to the specific image identifier.
Step 200 also comprises an image preprocessing step, namely, performing enhancement processing and noise reduction processing on the scene image; and after the image preprocessing step, if the computer cannot identify the specific image identifier, reminding and displaying a rephotograph mark.
One specific embodiment of the invention is provided below:
firstly, making a specific image identifier, calibrating a camera to improve the measurement precision, collecting a map on site by two persons, standing a camera at one intersection, standing a marking board at the next intersection, wherein the two intersections are in a communicating relationship (can pass through), the marking board held by the B is vertical to the ground and is opposite to the camera, taking a picture by the A, recording the serial number and the direction of the intersections, sequentially finishing the shooting of each intersection, guiding the picture into a computer, automatically identifying and identifying the marks by the computer, calculating the distance between the two intersections according to an image algorithm, and automatically generating intersection and road layer data by a computer program based on the direction data and the distance data to finish drawing.
According to the method, the camera is used for shooting the field picture, the computer program is used for automatically identifying and calculating, the map primitive data are automatically generated, the working efficiency can be greatly improved, and the investment cost is reduced.
Based on the condition of low requirement on the indoor map precision, the invention can automatically record the intersection path data information by the computer image identification technology without manual point-by-point line-by-line mapping and manual drawing editing, and has small workload and high reliability.
Through statistical analysis, the indoor map collection efficiency can be improved by 4-5 times after the method is applied, and the reliability is improved by more than 50% compared with the traditional method because the automation degree is high and the manual intervention is reduced. The method and the device are clear in scheme and simple and convenient to operate, and related enterprises can improve the existing indoor map acquisition mode only with little investment on the existing basis, so that the working efficiency is improved.
The invention also provides an indoor map acquisition device based on image recognition, which comprises:
the system comprises a collecting unit, a processing unit and a processing unit, wherein the collecting unit is used for acquiring scene images shot by a camera at different indoor shooting positions aiming at indoor specific image identification and identifying the target shape of the specific image identification in the scene images.
And the processing unit is used for calculating the path distance between the corresponding shooting positions or the path distance from the shooting positions to the corresponding specific image identifications based on the target shapes of the specific image identifications in the scene images.
And the execution unit is used for automatically generating all map primitive data in the system by taking the path distance as a unit.
An image processing unit configured to:
carrying out enhancement processing and noise reduction processing on the scene image; and after image preprocessing, if the computer cannot identify the specific image identifier, reminding and displaying a rephotograph mark.
Although the invention has been described in detail above with reference to a general description and specific examples, it will be apparent to one skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, such modifications and improvements are intended to be within the scope of the invention as claimed.
Claims (10)
1. An indoor map acquisition method based on image recognition is characterized by comprising the following steps:
acquiring scene images shot by a camera at different indoor shooting positions aiming at indoor specific image identification, and identifying the target shape of the specific image identification in the scene images;
calculating a path distance between corresponding shooting positions or a path distance from a shooting position to the corresponding specific image identifier based on the target shape of the specific image identifier in the scene image;
and automatically generating all map primitive data in the system by taking the path distance as a unit.
2. An image recognition-based indoor map collecting method according to claim 1, wherein the map primitive data is a distance between all adjacent two shooting positions, or a distance from all shooting positions to the specific image identifier.
3. The method as claimed in claim 2, wherein the acquiring of the scene image shot by the camera at different indoor shooting positions for the specific indoor image identifier further comprises a preprocessing step, including:
manually making the specific image identifier in advance, and calibrating the camera;
the pretreatment step is a step of manual pretreatment.
4. The image recognition-based indoor map collecting method according to claim 3, wherein the preprocessing step further comprises: the method comprises the steps of forming a road with a plurality of intersections indoors, fixing a specific image identifier at one end of the road indoors, shooting scene images at different intersections on the road to obtain the scene images, and obtaining map primitive data as the distance from all shooting positions to the specific image identifier.
5. The image recognition-based indoor map collecting method according to claim 2, wherein the preprocessing step further comprises: the method comprises the steps that a road with a plurality of intersections is formed indoors, when scene images are shot, the specific image identification and the shooting positions are respectively fixed at any two adjacent intersections, and map primitive data are distances between all two adjacent shooting positions.
6. The method as claimed in claim 1, wherein the step of calculating a path distance between corresponding shooting positions based on the target shape of the specific image identifier in the scene image, or calculating the path distance from a shooting position to the corresponding specific image identifier, and the step of automatically identifying and recognizing all the acquired scene images by a computer and calculating the path distance according to an image algorithm.
7. The image recognition-based indoor map collection method according to claim 6, wherein map primitive data is automatically generated by a computer program according to azimuth data and distance data to finish drawing;
the specific image is marked as a plastic plate with the size of 60cm by 60cm, black and white grid pictures are pasted on the surface of the plastic plate, the number of the grids is 3 by 3, and each small grid is 20cm by 20 cm.
8. The method for acquiring the indoor map based on the image recognition as claimed in claim 1, wherein the step of calculating the path distance between the corresponding shooting positions or the path distance from the shooting position to the corresponding specific image identifier based on the object shape of the specific image identifier in the scene image further comprises an image preprocessing step comprising:
carrying out enhancement processing and noise reduction processing on the scene image;
and after the image preprocessing step, if the computer cannot identify the specific image identifier, reminding and displaying a rephotograph mark.
9. An indoor map acquisition system based on image recognition is characterized by comprising:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring scene images shot by a camera at different indoor shooting positions aiming at indoor specific image identifiers and identifying the target shapes of the specific image identifiers in the scene images;
the processing unit is used for calculating the path distance between the corresponding shooting positions or the path distance from the shooting positions to the corresponding specific image identifications based on the target shapes of the specific image identifications in the scene images;
and the execution unit is used for automatically generating all map primitive data in the system by taking the path distance as a unit.
10. An image recognition based indoor map acquisition system according to claim 9, further comprising:
an image processing unit configured to:
carrying out enhancement processing and noise reduction processing on the scene image;
and after image preprocessing, if the computer cannot identify the specific image identifier, reminding and displaying a rephotograph mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010737066.4A CN111881824B (en) | 2020-07-28 | 2020-07-28 | Indoor map acquisition method and system based on image recognition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010737066.4A CN111881824B (en) | 2020-07-28 | 2020-07-28 | Indoor map acquisition method and system based on image recognition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111881824A true CN111881824A (en) | 2020-11-03 |
CN111881824B CN111881824B (en) | 2024-07-02 |
Family
ID=73200788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010737066.4A Active CN111881824B (en) | 2020-07-28 | 2020-07-28 | Indoor map acquisition method and system based on image recognition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111881824B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007206099A (en) * | 2006-01-30 | 2007-08-16 | Mobile Mapping Kk | Map creation support system |
JP2010175756A (en) * | 2009-01-29 | 2010-08-12 | Zenrin Co Ltd | Method and device for generating road surface marking map |
US20120140063A1 (en) * | 2009-08-13 | 2012-06-07 | Pasco Corporation | System and program for generating integrated database of imaged map |
KR20150008295A (en) * | 2013-07-12 | 2015-01-22 | 한국교통연구원 | User device locating method and apparatus for the same |
CN105841687A (en) * | 2015-01-14 | 2016-08-10 | 上海智乘网络科技有限公司 | Indoor location method and indoor location system |
CN106980633A (en) * | 2016-01-19 | 2017-07-25 | 高德软件有限公司 | The generation method and device of indoor map data |
CN109374008A (en) * | 2018-11-21 | 2019-02-22 | 深动科技(北京)有限公司 | A kind of image capturing system and method based on three mesh cameras |
-
2020
- 2020-07-28 CN CN202010737066.4A patent/CN111881824B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007206099A (en) * | 2006-01-30 | 2007-08-16 | Mobile Mapping Kk | Map creation support system |
JP2010175756A (en) * | 2009-01-29 | 2010-08-12 | Zenrin Co Ltd | Method and device for generating road surface marking map |
US20120140063A1 (en) * | 2009-08-13 | 2012-06-07 | Pasco Corporation | System and program for generating integrated database of imaged map |
KR20150008295A (en) * | 2013-07-12 | 2015-01-22 | 한국교통연구원 | User device locating method and apparatus for the same |
CN105841687A (en) * | 2015-01-14 | 2016-08-10 | 上海智乘网络科技有限公司 | Indoor location method and indoor location system |
CN106980633A (en) * | 2016-01-19 | 2017-07-25 | 高德软件有限公司 | The generation method and device of indoor map data |
CN109374008A (en) * | 2018-11-21 | 2019-02-22 | 深动科技(北京)有限公司 | A kind of image capturing system and method based on three mesh cameras |
Also Published As
Publication number | Publication date |
---|---|
CN111881824B (en) | 2024-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112906694B (en) | Reading correction system and method for transformer substation inclined pointer instrument image | |
CN112257676B (en) | Pointer type instrument reading method and system and inspection robot | |
CN112818988B (en) | Automatic identification reading method and system for pointer instrument | |
KR100915600B1 (en) | Method for measuring 3-dimensinal coordinates of images using a target for ground control point | |
CN110598743A (en) | Target object labeling method and device | |
CN102521560B (en) | Instrument pointer image identification method of high-robustness rod | |
CN103366250B (en) | City appearance environment detection method based on three-dimensional live-action data and system | |
CN109446973B (en) | Vehicle positioning method based on deep neural network image recognition | |
CN113255578B (en) | Traffic identification recognition method and device, electronic equipment and storage medium | |
WO2021109775A1 (en) | Methods and devices for generating training sample, training model and recognizing character | |
CN110837839B (en) | High-precision unmanned aerial vehicle orthographic image manufacturing and data acquisition method | |
CN114529610B (en) | Millimeter wave radar data labeling method based on RGB-D camera | |
CN113469178B (en) | Power meter identification method based on deep learning | |
CN113657339A (en) | Instrument pointer counting and reading method and medium based on machine vision | |
CN114492070A (en) | High-precision mapping geographic information virtual simulation technology and device | |
CN113656477A (en) | Method for verifying and fusing multi-source heterogeneous data of homeland space | |
CN115854895A (en) | Non-contact stumpage breast diameter measurement method based on target stumpage form | |
JP2000047579A (en) | Map data base updating device | |
WO2019242081A1 (en) | Cadastral surveying system based on multi-platform laser radar | |
CN109145912A (en) | A kind of digital instrument reading automatic identifying method | |
CN111881824A (en) | Indoor map acquisition method and system based on image recognition | |
CN113837044A (en) | Organ positioning method based on ambient brightness and related equipment | |
CN108088421A (en) | A kind of method and system of aerial survey of unmanned aerial vehicle control point automatic identification | |
CN115410174B (en) | Two-stage vehicle insurance anti-fraud image acquisition quality inspection method, device and system | |
CN116386373A (en) | Vehicle positioning method and device, storage medium and electronic equipment |
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 | ||
GR01 | Patent grant |