The content of the invention
Based on this, it is necessary to for traditional image shows content it is excessively dull the problem of, there is provided a kind of image enhaucament shows
Real method, energy rich image content, shows abundant information.
In addition, there is a need to the device for providing a kind of image enhaucament reality, energy rich image content, abundant letter is shown
Breath.
A kind of method of image enhaucament reality, including:
Call image capture device scan image;
Augmented reality identification is carried out to described image, obtains the augmented reality content identification of described image;
The augmented reality content according to corresponding to the augmented reality content identification obtains the augmented reality content identification
URL;
Augmented reality content requests are initiated according to the augmented reality content identification and URL;
Receive the augmented reality content returned according to the augmented reality content requests;
Viewfinder image is obtained, the viewfinder image and the augmented reality content overlap-add procedure are obtained into augmented reality figure
Picture.
In one of the embodiments, methods described also includes:
Instruction is shared in acquisition, according to it is described share instruction by the augmented reality images share into social platform.
In one of the embodiments, the acquisition viewfinder image, by the viewfinder image and the augmented reality content
Overlap-add procedure obtains augmented reality image, including:
Viewfinder image is obtained, using the viewfinder image as background image;
Using the augmented reality content as foreground content;
The background image and foreground content overlap-add procedure are obtained into augmented reality image.
In one of the embodiments, augmented reality identification is carried out to described image, obtains the augmented reality of described image
Content identification, including:
The signature of the image of scanning is obtained, by the signature of described image and the signature being locally stored and increasing
Corresponding relation between strong real content mark is matched, if matching, obtains the augmented reality content identification of described image,
If mismatching, the signature of described image is uploaded into augmented reality server, so that the augmented reality server root
The augmented reality content identification of described image is obtained according to the corresponding relation between the signature and augmented reality content identification.
In one of the embodiments, it is described that the augmented reality content mark is obtained according to the augmented reality content identification
The URL of augmented reality content corresponding to knowledge, including:
By the augmented reality content identification and the augmented reality content identification being locally stored and the system of augmented reality content
Corresponding relation between one URLs is matched, if matching, obtains increasing corresponding to the augmented reality content identification
The URL of strong real content, if mismatching, the augmented reality content identification is uploaded into augmented reality clothes
Business device, so that the augmented reality server is determined according to the augmented reality content identification and the unified resource of augmented reality content
Corresponding relation between the symbol of position obtains the URL of augmented reality content corresponding to the augmented reality content identification.
A kind of device of image enhaucament reality, including:
Calling module, for calling image capture device scan image;
Identification module, for carrying out augmented reality identification to described image, obtain the augmented reality content mark of described image
Know;
Address acquisition module, it is corresponding for obtaining the augmented reality content identification according to the augmented reality content identification
Augmented reality content URL;
Initiation module is asked, for initiating augmented reality according to the augmented reality content identification and URL
Content requests;
Receiving module, for receiving the augmented reality content returned according to the augmented reality content requests;
Processing module, for obtaining viewfinder image, the viewfinder image and the augmented reality content overlap-add procedure are obtained
To augmented reality image.
In one of the embodiments, described device also includes:
Sharing module, share instruction for obtaining, share instruction by the augmented reality images share to society according to described
Hand in platform.
In one of the embodiments, the processing module be additionally operable to obtain viewfinder image, using the viewfinder image as
Background image, using the augmented reality content as foreground content, and by the background image and foreground content overlap-add procedure
Obtain augmented reality image.
In one of the embodiments, the identification module is additionally operable to obtain the signature of the image of scanning, by described in
The signature of image is matched with the signature being locally stored with the corresponding relation between augmented reality content identification, if
Matching, then obtain the augmented reality content identification of described image, if mismatching, the signature of described image is uploaded into increasing
Strong real server, so that the augmented reality server is according to pair between the signature and augmented reality content identification
The augmented reality content identification for obtaining described image should be related to.
In one of the embodiments, the address acquisition module is additionally operable to the augmented reality content identification and local
The augmented reality content identification of storage is matched with the corresponding relation between the URL of augmented reality content, if
Matching, then the URL of augmented reality content corresponding to the augmented reality content identification is obtained, if mismatching,
The augmented reality content identification is uploaded into augmented reality server, so that the augmented reality server is according to the enhancing
The corresponding relation that real content is identified between the URL of augmented reality content obtains the augmented reality content
The URL of augmented reality content corresponding to mark.
The method and apparatus of above-mentioned image enhaucament reality, by calling image capture device scan image, to the figure of scanning
As carrying out augmented reality identification, the augmented reality content identification of image is obtained, is strengthened according to the augmented reality content identification
The URL of real content, the augmented reality content according to corresponding to obtaining the URL, by figure of finding a view
As having obtained augmented reality image with augmented reality content overlap-add procedure so that picture material is enriched, and illustrates abundant information.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 is the application environment schematic diagram of the method for image enhaucament reality in one embodiment.As shown in figure 1, the application
Environment includes user terminal 110 and augmented reality server 120.Augmented reality client is installed on user terminal 110, passed through
Augmented reality client call image capture device scan image, image is identified to obtain the augmented reality content mark of image
Know, the URL of augmented reality content according to corresponding to obtaining the augmented reality content identification, according to the unified money
Source finger URL receives the increasing that augmented reality server 120 returns to the acquisition request augmented reality content of augmented reality server 120
Strong real content.The augmented reality content client of user terminal 110 obtains viewfinder image, by viewfinder image and augmented reality
Hold superposition and obtain augmented reality content images, and share according to instruction is shared in social platform.User terminal 110 can be taken the photograph for band
As the mobile phone of head, tablet personal computer, personal digital assistant, Wearable etc..
Fig. 2 is the flow chart of the method for image enhaucament reality in one embodiment.As shown in Fig. 2 a kind of image enhaucament shows
Real method, described with user terminal angle, including:
Step 202, image capture device scan image is called.
In the present embodiment, the augmented reality client call image capture device scan image on user terminal 110.Image
Collecting device can be to image first-class collecting device.Image can be certain in image, multimedia in papery landscape picture album in scan image
One two field picture, image in 2 D code or packing box image or bill board images etc., not limited to this.
Step 204, augmented reality identification is carried out to described image, obtains the augmented reality content identification of described image.
In one embodiment, step 204 includes:The signature of the image of scanning is obtained, by the feature of described image
The corresponding relation between the signature being locally stored and augmented reality content identification is marked to be matched, if matching,
To the augmented reality content identification of described image, if mismatching, the signature of described image is uploaded into augmented reality clothes
Business device, so that the augmented reality server obtains according to the corresponding relation between the signature and augmented reality content identification
To the augmented reality content identification of described image.
Specifically, user terminal is locally referred to.It can be stored between signature and augmented reality content identification locally
Corresponding relation.Augmented reality content identification is the character string for uniquely representing augmented reality content corresponding to signature.It is special
Sign mark is some distinctive marks in augmented reality, such as the eyes of face, nose, lip etc., Mount Huang feature etc. in landscape.It is special
Sign mark can be the marker marks pre-set.By camera scan image, the marker identifications in being identified using AR should
The position and direction detection of image, marker, overlapped information is synthesized on the image of camera.
By pair between the signature of the image of scanning and the signature being locally stored and augmented reality content identification
It should be related to after being matched, if matching, obtains the augmented reality content identification of the image, if mismatching, by the image
Signature uploads to augmented reality server, by augmented reality server according to signature and augmented reality content identification it
Between corresponding relation obtain the augmented reality content identification of the image, and return to user terminal.
In other embodiments, can scan image obtain object identity corresponding to image, obtained pair according to the object identity
The URL for the augmented reality content answered.Object identity is for uniquely representing object identity.Pre-establish pair
As identifying the corresponding relation with the URL of augmented reality content.It is existing with enhancing from object identity according to object identity
The URL of augmented reality content corresponding to being found in the corresponding relation of the URL of real content.
Step 206, strengthen according to corresponding to the augmented reality content identification obtains the augmented reality content identification existing
The URL of real content.
In one embodiment, step 206 includes:By the augmented reality content identification and the augmented reality being locally stored
Corresponding relation between content identification and the URL of augmented reality content is matched, if matching, obtains institute
The URL of augmented reality content corresponding to augmented reality content identification is stated, it is if mismatching, the enhancing is existing
Real content identification uploads to augmented reality server, so that the augmented reality server is according to the augmented reality content identification
Corresponding relation between the URL of augmented reality content obtain the augmented reality content identification it is corresponding increase
The URL of strong real content.
Specifically, user terminal is locally referred to.United can locally store augmented reality content identification with augmented reality content
Corresponding relation between one URLs.
By in augmented reality content identification and the augmented reality content uniform resource finger URL and augmented reality that are locally stored
After corresponding relation between appearance mark is matched, if matching, obtains augmented reality corresponding to the augmented reality content identification
The URL of content, if mismatching, the augmented reality content identification is uploaded into augmented reality server, by increasing
Strong real server obtains according to the corresponding relation between augmented reality content uniform resource finger URL and augmented reality content identification
To the URL of augmented reality content corresponding to the augmented reality content identification, and return to user terminal.
Step 208, augmented reality content requests are initiated according to the augmented reality content identification and URL.
Step 210, the augmented reality content returned according to the augmented reality content requests is received.
In the present embodiment, user terminal receives unified resource of the augmented reality server in augmented reality content requests
Finger URL finds corresponding augmented reality content.
One or more augmented reality contents are stored on augmented reality server in advance.The augmented reality content can be pre-
The content of multimedia first made.
Complete augmented reality content is downloaded from augmented reality server.
Step 212, viewfinder image is obtained, the viewfinder image and the augmented reality content overlap-add procedure are strengthened
Real world images.
In the present embodiment, viewfinder image can be adjusted according to the needs of user.Obtain user and adjust image capture device
Shooting angle etc..Viewfinder image can be the personal images or landscape image or other images etc. of user.The personal images of user
Can be self-timer image or other people assist shooting image.
In the present embodiment, step 212 includes:Viewfinder image is obtained, using the viewfinder image as background image;By described in
Augmented reality content is as foreground content;The background image and foreground content overlap-add procedure are obtained into augmented reality image.Increase
Strong real content can be transparent content of multimedia.It can be fused to using viewfinder image as background image in augmented reality content.
The method of above-mentioned image enhaucament reality, by calling image capture device scan image, the image of scanning is carried out
Augmented reality identifies, obtains the augmented reality content identification of image, is obtained according to the augmented reality content identification in augmented reality
The URL of appearance, the augmented reality content according to corresponding to obtaining the URL, by viewfinder image with increasing
Strong real content overlap-add procedure has obtained augmented reality image so that picture material is enriched, and illustrates abundant information.
In one embodiment, the method for above-mentioned image enhaucament reality, in addition to:Instruction is shared in acquisition, according to described point
Enjoy and instructing the augmented reality images share into social platform.
In the present embodiment, it can be that user triggers the button for sharing social platform in augmented reality client to share instruction
It is caused to share instruction, or obtain user and share to trigger on interface in social platform and share finger caused by information issue button
Order.Social platform can be immediate communication platform or microblog or wechat platform etc..
By the approach for by augmented reality images share to social platform, expanding information propagation.
In one embodiment, the method for above-mentioned image enhaucament reality, in addition to:Obtain and delete instruction, deleted according to described
The augmented reality content of return is removed except instructing.By using the dynamic memory space removed, save user terminal of householder.
In one embodiment, the method for above-mentioned image enhaucament reality, in addition to:After detection reaches preset time, remove
The augmented reality content of return.Removed automatically by setting time, save the memory space of user terminal.
Fig. 3 is that the method for image enhaucament reality in one embodiment is applied to the timing diagram of landscape picture album.As shown in figure 3,
The process that the method for image enhaucament reality is applied to landscape picture album includes:
(1) visitor opens the augmented reality application client on mobile phone, calls in camera scanning landscape picture album
Picture carries out augmented reality identification.
(2) handset identity goes out the augmented reality content identification of the image.
(3) augmented reality content identification is uploaded to augmented reality server by mobile phone.
(4) unified resource of augmented reality server augmented reality content according to corresponding to obtaining augmented reality content identification
Finger URL, and URL is returned to mobile phone.
(5) mobile phone is initiated in augmented reality according to the URL of augmented reality content to augmented reality server
Hold request.
(6) augmented reality server obtains augmented reality content, and returns to mobile phone.
(7) mobile phone obtains the viewfinder image of visitor's selection, and viewfinder image and augmented reality content overlap-add procedure are closed
The augmented reality image that shadow is taken pictures.
(8) mobile phone acquisition visitor shares instruction, by augmented reality images share to social platform, and the displaying point on mobile phone
Enjoy success.
Fig. 4 is the structured flowchart of the device of image enhaucament reality in one embodiment.A kind of as shown in figure 4, image enhaucament
The device of reality, runs on user terminal, including calling module 402, identification module 404, address acquisition module 406, request
Initiation module 408, receiving module 410 and processing module 412.Wherein:
Calling module 402 is used to call image capture device scan image.
Identification module 404 is used to carry out augmented reality identification to described image, obtains the augmented reality content of described image
Mark.
In the present embodiment, identification module 404 is additionally operable to obtain the signature of the image of scanning, by the feature of described image
The corresponding relation between the signature being locally stored and augmented reality content identification is marked to be matched, if matching,
To the augmented reality content identification of described image, if mismatching, the signature of described image is uploaded into augmented reality clothes
Business device, so that the augmented reality server obtains institute according to the corresponding relation between described image and augmented reality content identification
State the augmented reality content identification of image.
Address acquisition module 406 is used to obtain the augmented reality content identification pair according to the augmented reality content identification
The URL for the augmented reality content answered.
In the present embodiment, address acquisition module 406 is additionally operable to the augmented reality content identification and the increasing being locally stored
Strong real content mark is matched with the corresponding relation between the URL of augmented reality content, if matching,
The URL of augmented reality content corresponding to the augmented reality content identification is obtained, if mismatching, by described in
Augmented reality content identification uploads to augmented reality server, so that the augmented reality server is according in the augmented reality
The corresponding relation held between mark and the URL of augmented reality content obtains the augmented reality content identification pair
The URL for the augmented reality content answered.
Initiation module 408 is asked to be used to initiate enhancing now according to the augmented reality content identification and URL
Real content requests.
Receiving module 410 is used to receive the augmented reality content returned according to the augmented reality content requests.
Processing module 412 is used to obtain viewfinder image, by the viewfinder image and the augmented reality content overlap-add procedure
Obtain augmented reality image.
In the present embodiment, processing module 412 is additionally operable to obtain viewfinder image, using the viewfinder image as background image,
Using the augmented reality content as foreground content, and the background image and foreground content overlap-add procedure are obtained into enhancing and showed
Real image.
The device of above-mentioned image enhaucament reality, by calling image capture device scan image, the image of scanning is carried out
Augmented reality identifies, obtains the augmented reality content identification of image, is obtained according to the augmented reality content identification in augmented reality
The URL of appearance, the augmented reality content according to corresponding to obtaining the URL, by viewfinder image with increasing
Strong real content overlap-add procedure has obtained augmented reality image so that picture material is enriched, and illustrates abundant information.
Fig. 5 is the structured flowchart of the device of image enhaucament reality in another embodiment.As shown in figure 5, a kind of image increases
The device of strong reality, runs on user terminal, except including calling module 402, identification module 404, address acquisition module
406th, initiation module 408, receiving module 410 and processing module 412, in addition to sharing module 414 are asked.
Sharing module 414 shares instruction for acquisition, shares instruction according to described and arrives the augmented reality images share
In social platform.
In the present embodiment, it can be that user triggers the button for sharing social platform in augmented reality client to share instruction
It is caused to share instruction, or obtain user and share to trigger on interface in social platform and share finger caused by information issue button
Order.Social platform can be immediate communication platform or microblog or wechat platform etc..
By the approach for by augmented reality images share to social platform, expanding information propagation.
In one embodiment, the device of above-mentioned image enhaucament reality also includes removing module.Removing module is used to obtain
Instruction is deleted, according to the augmented reality content removing for deleting instruction by return.Removed by using householder is dynamic, it is whole to save user
The memory space at end;Or after removing module reaches preset time for detection, remove the augmented reality content of return.By setting
Fix time automatic removing, save the memory space of user terminal.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can be read
In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage is situated between
Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.