Mobile phone indoor positioning air navigation aid
Technical field
The present invention relates to air navigation aid more particularly to a kind of mobile phone indoor positioning air navigation aids.
Background technique
Currently, comparative maturity, GPS and Chinese Beidou subsequently enter civil field to outdoor airmanship.But indoors
Navigation aspect, outdoor airmanship are faced with signal rapid decay, and disturbing factor increases, the very big problem of positioning accuracy deviation.
Currently, with the development and maturation of mobile device and wireless communication technique, RFID indoor positioning and WiFi indoor positioning technologies are
Indoor positioning navigation solution popular at present.But meanwhile the two indoor positioning technologies that there is also costs is huge,
The problem that time cycle is too long, disturbing factor is also more, precision fluctuation range is excessive.
Summary of the invention
In order to solve the problems in the prior art, the present invention provides a kind of mobile phone indoor positioning air navigation aids.
The present invention provides a kind of mobile phone indoor positioning air navigation aids, comprising the following steps:
S1, quick three-dimensional reconstructing obtain the depth information of scene around user by the depth camera of mobile phone, and combine mobile phone
Camera collection image carry out surrounding scene threedimensional model modeling;
S2, computer vision are acquired surrounding scene picture using the RGB camera of mobile phone, are then matched using computer vision
Algorithm carries out space orientation;
S3, path planning and motion tracking obtain the motion state of user using the motion sensor of mobile phone, meanwhile, utilize hand
The motion tracking sensor of machine obtains the feature of surrounding scene in real time, and this feature is mapped on two dimensional path Floorplanning figure and is repaired
Positive path positions and navigates to the spatial position of user and the direction of motion in real time.
As a further improvement of the present invention, in step sl, the flight that depth information is provided by structure light and infrared ray
Time determines that obtained depth information carries out three-dimensional fitting to the color image of acquisition, so that threedimensional model is obtained, meanwhile, it is deep
Spend the drifting problem that information is used for corrective exercise tracking.
As a further improvement of the present invention, in step s 2, the letter based on computer vision technique acquisition surrounding scene
Training is ceased and is labeled, to make mobile phone and identify by positioning the function of user position.
As a further improvement of the present invention, in step s 2, the problem of regarding scene positioning as picture recognition, by hand
Machine acquired image information and location information are corresponded, and using location information as the label information of these pictures,
Depth convolutional network model is trained using the label of picture.
As a further improvement of the present invention, in step s 2, scene picture captured by the rear camera by mobile phone
It is input in the depth convolutional network model, obtained specific recognition result is exactly location information.
As a further improvement of the present invention, in step s 2, the scene in two meters is considered as a unit with two meters
In the same position.
As a further improvement of the present invention, in step s3, the motion sensor of mobile phone include acceleration transducer and
Gyroscope.
As a further improvement of the present invention, in step s3, it is realized around to user by cell phone application interface operation
Scene description and study, motion tracking and path planning function, after completing scene description and study, according to the coordinate points of user
With target point information, the optimal path that user reaches target point is provided, and is realized according to motion tracking function to user movement side
To the real-time tracking and error correction with distance.
The beneficial effects of the present invention are: at low cost, the time is all through the above scheme, it can be achieved that mobile phone indoor positioning is navigated
Phase is short, disturbing factor is less, precision fluctuation range is smaller.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of mobile phone indoor positioning air navigation aid of the present invention.
Specific embodiment
The invention will be further described for explanation and specific embodiment with reference to the accompanying drawing.
As shown in Figure 1, a kind of mobile phone indoor positioning air navigation aid, comprising the following steps:
S1, quick three-dimensional reconstructing obtain the depth information of scene around user by the depth camera of association's Tango mobile phone,
And the threedimensional model for combining 16,000,000 high-pixel cameras acquisition image to carry out surrounding scene models.Depth information by structure light and
The flight time that infrared ray provides determines that obtained depth information carries out three-dimensional fitting to the color image of acquisition, to obtain
Threedimensional model.Meanwhile depth information is conducive to the drifting problem of corrective exercise tracking;
S2, computer vision, using mobile phone camera acquire surrounding scene picture, then using computer vision matching algorithm into
Row space orientation.As people judge the position where oneself according to the feature (such as doorway, stair, toilet etc.) of scene around
It sets, information of this project based on computer vision technique acquisition surrounding scene is simultaneously labeled training, so that it is fixed to pass through equipment
Position identifies the function of user position.The problem of regarding scene positioning as picture recognition, by the collected figure of equipment
As information and location information are corresponded, and using location information as the label information of these pictures, utilize the mark of picture
Label are to train depth convolutional network model.Scene picture captured by rear camera is input in the model, and what is obtained is specific
Recognition result is exactly location information.In practice, location information is a kind of deviation analog signal, so that the classification of classification is just
Very much, here in order to improve practicability and efficiency ratio, the appropriate precision for reducing scene Recognition precision and improving identification is with two meters
One unit, the scene in two meters is considered as the training image data that are inputted in this way in the same position will more diversity,
Simultaneously practice have shown that 1-2 meters of precision has met the requirements for the project and user's actual use.The identifying schemes saving
Calculation amount is conducive to the raising of later period programmed algorithm experience;
S3, path planning and motion tracking are obtained using motion sensors such as the acceleration transducer of mobile phone and gyroscopes
The motion state of user.The feature of surrounding scene, the knot can be obtained in real time using Tango postposition motion tracking sensor simultaneously
Fruit, which is mapped on two dimensional path Floorplanning figure, to be conducive to correct path, is carried out in real time to the spatial position of user and the direction of motion
Positioning and navigation.
The present invention is realized by cell phone application interface operation to scene description and study, the motion tracking and road around user
Diameter planning function.After completing scene description and study, according to the coordinate points of user and target point information, provides user and reach mesh
The optimal path of punctuate, and the real-time tracking and error in user movement direction and distance are entangled according to the realization of motion tracking function
Just.
A kind of mobile phone indoor positioning air navigation aid provided by the invention is adopted using association's Project Tango Pro mobile phone
With the Tango sensor of Google, it is RGB camera, depth camera respectively that there are three key sensors for mobile phone back tool
With motion tracking sensor.The present invention makes full use of the hardware characteristics of Tango sensor, and RGB camera is responsible for shooting indoor field
Scape picture, depth camera are responsible for the depth information in capturing scenes picture, the information that the two obtains and the interior for realizing acquisition
Scene picture carries out Computer Vision Recognition and characteristic matching, to obtain user position indoors and coordinate.When user selects
It after determining indoor objects place, is uploaded onto the server end by WIFI, calculates the optimal path of user current location and target location.
During user movement, the acceleration transducer of motion tracking sensor internal, gyro sensor and unique wide-angle
Motion tracking camera so that the user mobile phone rotation obtained and linear acceleration data are more accurate, and then obtain user and is expert at
Into direction and position in the process, achieve the purpose that motion tracking.
A kind of mobile phone indoor positioning air navigation aid provided by the invention, the specific operation process is as follows: user opens first
Cell phone application interface, into interface operation layer.Mobile phone is scanned surrounding scene by user, obtains the depth information and figure of scene around
Computer vision matching is carried out as information, and with the data in server, so that it is determined that indoor space coordinate locating for user out.
Then user selects gone destination, and system is carried out according to user's own coordinate and destination coordinate and interior space information
Optimum path planning, user can navigate according to planning chart.Meanwhile the motion tracking function real-time tracking user that system is included
Direction in space and distance, real-time update user coordinates, provide more in time, more accurately positioning and navigation feature.
A kind of mobile phone indoor positioning air navigation aid provided by the invention is to utilize computer vision technique and Tango mobile phone
Included sensor realizes the positioning and navigation feature in user space indoors.Interior cannot accurately be carried out by solving outdoor navigation
The problem of positioning, while the cost for reducing existing indoor positioning airmanship is excessively high, precision is low, the period is long and disturbing factor is more
The problem of.User only needs shirtsleeve operation that can quickly use, and can reach indoor positioning and navigation feature.
A kind of mobile phone indoor positioning air navigation aid provided by the invention, the Tango open source library based on Google, utilizes meter
Calculation machine vision technique provides the cell phone application with indoor positioning and navigation feature for indoor scenes such as markets.By cell phone application circle
Face operation obtains the depth information of scene in conjunction with the depth transducer of Tango mobile phone, realizes the three of user region
Dimension is rebuild.Furthermore, it is possible to identify using the computer vision based on deep learning to scene, the specific location of user is provided
The path planning of coordinate and destination.Finally, using the motion sensor and gyro sensor of mobile phone moved with
Track.Potential technology of the invention can be applied in more common cell phone apparatus, realizes the autonomous positioning of mobile phone indoors and leads
Boat function.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that
Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist
Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention
Protection scope.