Reality augmentation method and system based on accurate position of user
Technical Field
The invention relates to the technical field of image recognition, in particular to a reality enhancement method and system based on a user accurate position.
Background
Augmented reality (AugmentedReality, AR for short) is simply to apply virtual information to the real world through computer technology, and the real environment and the virtual object are superimposed on the same screen or space in real time, so that the virtual object and the real object exist simultaneously. Augmented reality provides information that is generally different from what a human can perceive. The virtual information display system not only displays real world information, but also displays virtual information at the same time, and the two kinds of information are mutually complemented and overlapped.
The AR technology is a brand new man-machine exchange technology, virtual information is applied to the real world through intelligent terminal equipment and a visualization technology, and the virtual information and the real world are simultaneously overlapped on the same picture or space to be presented to a user. The general working flow of the AR application program is that a terminal shoots a video frame picture through a camera, recognizes video frame picture data, determines an AR target object, tracks the AR target object in the video frame picture, determines the position of the AR target object, acquires AR virtual information related to the AR target object, renders the video frame picture, superimposes the AR virtual information on the AR target object for display, and simultaneously displays the AR target object and AR virtual content on a terminal screen for interaction of a user. The existing AR application technology has the defects of large calculated amount, unstable video enhancement effect, low system detection accuracy and the like.
The existing GPS navigation technology can be combined with the positions of users in video frame pictures shot by other nearby electronic terminals to obtain the accurate positions of the users, and then the accurate positions (including directions) of the users can be determined according to the video frame pictures shot by the user electronic equipment terminals.
Disclosure of Invention
In order to solve the problems, the invention provides an augmented reality method and system based on the accurate position of a user.
In order to achieve the above object, the present disclosure provides an augmented reality method based on a precise location of a user, including:
1, a user intelligent terminal device collects position information and video picture data;
2, collecting position information and video picture data of other electronic equipment nearby the position according to the position information of the user intelligent terminal equipment;
3, obtaining the accurate position of the user according to the position of the user in the video picture of the other electronic equipment;
4, comparing the video picture shot by the user intelligent terminal device with the pre-acquired accurate position picture to obtain the accurate position (including orientation) of the user;
5, comparing and identifying the AR target object at the accurate position with the AR target object position in the video picture shot by the intelligent terminal equipment of the user, and matching the AR target object with an image consistent with the video picture provided by the user;
And 6, the user intelligent terminal performs superposition rendering on virtual information corresponding to the matched consistent image and the video picture shot by the user intelligent terminal to obtain an augmented reality video picture for interactive use of the user.
Preferably, the user is a person, animal or vehicle, etc.
Preferably, the AR target object at the precise position is a moving object, and the virtual information corresponding to the AR target object is displaced along with the displacement of the AR target object.
Preferably, the AR target object at the precise location is another user, and the other user presets own virtual information for interaction with another user.
Preferably, the virtual information is an image, text, sound, etc.
Preferably, in the augmented reality method based on the accurate position of the user, the other electronic devices near the accurate position are one electronic device or a plurality of electronic devices.
In order to achieve the above purpose, the invention discloses an augmented reality system based on a precise position of a user, which comprises a cloud server, intelligent terminal equipment and other electronic equipment in the nearby position.
The cloud server is used for collecting the position information and video picture data of the intelligent user terminal equipment, collecting the position information and video picture data of other electronic equipment nearby the position, calculating the accurate position of the intelligent user equipment, comparing and identifying the AR target object at the accurate position with the AR target object position in the video picture provided by the user, matching the AR target object with an image consistent with the video picture provided by the user, and sending virtual information corresponding to the matched consistent image to the intelligent user terminal;
the intelligent terminal equipment is used for collecting the position information of the user and video picture data, and is used for superposing and rendering the virtual information corresponding to the matched consistent image and the video picture provided by the intelligent terminal equipment of the user to obtain an augmented reality video picture;
And the other electronic equipment at the nearby position is used for collecting the position information and video picture data of the electronic equipment.
Preferably, the intelligent terminal device is configured to collect face data of a user, where the user sets corresponding virtual information for the face data of the user, and interacts with other users.
Preferably, the other electronic devices at the nearby position in the augmented reality system based on the accurate position of the user are one electronic device or a plurality of electronic devices.
Preferably, the intelligent terminal device includes a speaker for playing the sound signal in the virtual information.
According to the augmented reality method and system based on the accurate position of the user, the AR target object at the accurate position is compared with the AR target object position in the video picture shot by the user intelligent terminal device to be identified and matched with the image consistent with the video picture provided by the user by calculating the accurate position of the user, and the user intelligent terminal carries out superposition rendering on virtual information and the video picture shot by the user intelligent terminal to obtain an augmented reality video picture for interactive use of the user. According to the augmented reality method and system, the contrast identification is performed according to the accurate position of the user, so that the workload of the contrast identification can be greatly reduced, the matching success rate is improved, and the augmented reality picture is stably output.
Drawings
FIG. 1 is a schematic flow diagram of an augmented reality method based on a user's precise location according to an embodiment of the present invention;
Fig. 2 is a schematic diagram of an augmented reality system based on a precise location of a user according to an embodiment of the present invention.
Detailed description of the preferred embodiments
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It is to be noted that, in the following embodiments of the present invention, two other electronic devices near the precise location are provided, which is merely for simplicity of explanation and not for limitation of the present invention, and the other electronic devices near the location may be one or more, so that for brevity, the embodiments of the present invention are not illustrated one by one.
Referring to fig. 1 and 2, fig. 1 is a schematic flow chart of an augmented reality method based on a user accurate position according to an embodiment of the invention, and fig. 2 is a schematic structural diagram of an augmented reality system based on a user accurate position according to an embodiment of the invention, as shown in fig. 1 and 2, comprising the following steps:
S1, a cloud server A collects position information provided by a GPS module B1 of user intelligent terminal equipment B, and meanwhile, the cloud server A collects video picture data provided by a camera module B2 of the user intelligent terminal equipment B;
S2, the cloud server A collects position information and video picture data of other electronic equipment C and D nearby the position, and obtains the accurate position of the user intelligent terminal equipment B according to the positions of the users in video frame pictures of the other electronic equipment C and D;
s3, the cloud server A compares the acquired video picture of the user intelligent terminal equipment B with the accurate position picture acquired in advance by the system to obtain the accurate position of the user intelligent terminal equipment B;
S4, the cloud server A compares and identifies the AR target object at the accurate position with the AR target object position in the video picture provided by the user, and matches the AR target object position with an image consistent with the video picture provided by the user intelligent terminal equipment B;
S5, the cloud server A sends virtual information corresponding to the matched consistent images to the user intelligent terminal equipment B;
and S6, the rendering module B3 of the user intelligent terminal B performs superposition rendering on the virtual information and the video picture shot by the user intelligent terminal to obtain an augmented reality video picture for interactive use of the user.
The apparatus embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separate, and some or all of the modules may be selected according to actual needs to achieve the objectives of the embodiment.
The above embodiments are only for illustrating the technical solution of the present invention, but not for limiting the same, the technical features of the above embodiments may be combined in any order, and the steps may be implemented in any order, and there are many other variations in different aspects of the present invention as described above, which are not provided in detail for brevity, and although the present invention is described in detail with reference to the above embodiments, it will be understood by those skilled in the art that they may still make modifications to the technical solution described in the above embodiments or make equivalent substitutions to some of the technical features thereof, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiment of the present invention.