Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide a kind of method and system of automatic generation tourism diary, can automatically generate tourism diary according to the sight spot comprised in photo, save the process of user's typewriting.
In order to achieve the above object, this invention takes following technical scheme:
A method for automatic generation tourism diary, it comprises:
Obtain the photo comprising sight spot image;
Obtain the picture data of description bag comprising sight spot in described photo, and by the contrast of picture in itself and scene data storehouse, to the photo record comprising sight spot corresponding sight spot coding;
The photo with identical sight spot coding is classified as one group, and automatically generates the recommended information at corresponding sight spot, form tourism diary.
In the method for described automatic generation tourism diary, described the photo with identical sight spot coding is classified as one group, and automatically generates the recommended information at corresponding sight spot, after forming the step of tourism diary, also comprise:
Described tourism diary is distributed in the microblogging of user, QQ space or micro-letter circle of friends.
In the method for described automatic generation tourism diary, described microblogging, the step in QQ space or micro-letter circle of friends described tourism diary being distributed on user also comprises: arrange tourism diary publicity pattern.
In the method for described automatic generation tourism diary, the picture data of description bag at sight spot is comprised in the described photo of described acquisition, and by the contrast of picture in itself and scene data storehouse, to the step of the photo record comprising sight spot corresponding sight spot coding, specifically comprise:
Extract the key point of photo, generate the picture data of description bag of pre-sizing;
By the contrast of picture in picture data of description bag and scene data storehouse, obtain the picture data of description bag comprising sight spot;
According to the sight spot comprised in picture data of description bag, obtain the coding at corresponding sight spot in scene data storehouse, the original photo that this picture data of description bag is corresponding records corresponding sight spot coding.
In the method for described automatic generation tourism diary, described the photo with identical sight spot coding is classified as one group, and automatically generates the recommended information at corresponding sight spot, the step forming tourism diary specifically comprises:
Obtain the original photo that data of description bag is corresponding, and the original photo with identical sight spot coding is classified as one group;
Same group of original photo is temporally stabbed sequence;
Make each group original photo associate the recommended information at corresponding sight spot, form tourism diary.
A system for automatic generation tourism diary, it comprises:
Camera terminal, for obtaining the photo comprising sight spot image;
Sight spot server, for obtaining the picture data of description bag comprising sight spot in described photo, and by the contrast of picture in itself and scene data storehouse, to the photo record comprising sight spot corresponding sight spot coding; And the photo with identical sight spot coding is classified as one group, and automatically generate the recommended information at corresponding sight spot, form tourism diary.
In the system of described automatic generation tourism diary, described sight spot server, also for described tourism diary being distributed in the microblogging of user, QQ space or micro-letter circle of friends.
In the system of described automatic generation tourism diary, described sight spot server, also for arranging tourism diary publicity pattern.
In the system of described automatic generation tourism diary, described sight spot server comprises:
Picture processing module, for extracting the key point of photo, generates the picture data of description bag of pre-sizing;
Picture contrast module, for the contrast by picture in picture data of description bag and scene data storehouse, obtains the picture data of description bag comprising sight spot;
Sight spot information generation module, for according to the sight spot comprised in picture data of description bag, obtains the coding at corresponding sight spot in scene data storehouse, and the original photo that this picture data of description bag is corresponding records corresponding sight spot coding.
In the system of described automatic generation tourism diary, described sight spot server also comprises:
Classifying module, for obtaining original photo corresponding to data of description bag, and is classified as one group by the original photo with identical sight spot coding;
Order module, for temporally stabbing sequence by same group of original photo;
Diary generation module, for the recommended information making each group original photo associate corresponding sight spot, forms tourism diary.
Compared to prior art, the method and system of a kind of automatic generation tourism diary provided by the invention, first obtains the photo comprising sight spot image; Obtain the picture data of description bag comprising sight spot in described photo afterwards, and by the contrast of picture in itself and scene data storehouse, to the photo record comprising sight spot corresponding sight spot coding; Be classified as one group by having the photo of encoding at identical sight spot again, and automatically generate the recommended information at corresponding sight spot, form tourism diary, thus eliminate the process of user manual editing sight spot name and sight spot introduction, save the time of user, and user-friendly.
Embodiment
The invention provides a kind of method and system of automatic generation tourism diary, tourism photo automatic arranging, classification can be carried out according to sight spot and terrestrial reference and form tourism diary, make to share process simple especially.For making object of the present invention, technical scheme and effect clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, the method for the automatic generation tourism diary that the embodiment of the present invention provides comprises:
S100, obtain and comprise the photo of sight spot image;
S200, obtain the picture data of description bag comprising sight spot in described photo, and by the contrast of picture in itself and scene data storehouse, to the photo record comprising sight spot corresponding sight spot coding;
S300, the photo with identical sight spot coding is classified as one group, and automatically generates the recommended information at corresponding sight spot, form tourism diary.
In the step s 100, user can use the mobile terminal such as digital camera, smart mobile phone to take tourism photo, is automatically uploaded to high in the clouds preserves, for follow-up contrast by subsequent manual or predetermined manner.
In described step S200, described scene data storehouse comprises clear picture and the pretreated sight spot characteristic point data (for subsequent pictures contrast search) at each sight spot (mainly landmark building and landscape), and the related introduction information at this sight spot.
Therefore, before step S100, the method for automatic generation tourism diary of the present invention also comprises: first make scene data storehouse, preserve the key picture at each sight spot; Afterwards pre-service is carried out to the sight spot characteristic point data in each picture, the related introduction information at each sight spot of postedit; Again the picture at corresponding sight spot, sight spot characteristic point data and sight spot recommended information are associated and preserve in a database.Wherein, the picture at each sight spot can comprise multiple, can also obtain photo, as a comparison an object respectively to the everywhere landscape at each sight spot in each angle.
See also Fig. 2, described step S200 specifically comprises:
The key point of S201, extraction photo, generates the picture data of description bag of pre-sizing;
S202, by the contrast of picture in picture data of description bag and scene data storehouse, obtain and comprise the picture data of description bag at sight spot;
S203, according to the sight spot comprised in picture data of description bag, obtain the coding at corresponding sight spot in scene data storehouse, the original photo that this picture data of description bag is corresponding records corresponding sight spot coding.
Wherein, when carrying out picture contrast, CDVS technology is adopted to extract the key point of photo, thus the picture data of description bag that formation one is very little, afterwards the sight spot characteristic stored in this picture data of description bag and scene data storehouse is compared, can carry out fuzzy matching when comparison, only need have in a picture data of description bag has plural key point identical with the sight spot characteristic in scene data storehouse, namely thinks and have found corresponding sight spot picture.
CDVS technology is more suitable for the judgement of the hard fixing object (as buildings, mountain etc.) of profile, utilize CDVS technology to carry out search to have many good qualities: 1, comparison is picture data of description bag (picture data of description bag is less than 1KB usually) instead of original image, and efficiency improves greatly; 2, be applicable to mobile network, take flow little; 3, CDVS technology requires low to camera, common VGA(Video Graphics Array, VGA to be IBM proposed in 1987 a computer display standard using simulating signal) camera just can meet the demands; 4, can part searches be carried out, though shooting be article some be blocked, also can search for (namely needing to find plural key point just to draw Search Results); Also can search for even if 5 pictures are a bit fuzzy.Certain the present invention also can adopt other image comparison recognition technology, as long as can find corresponding sight spot fast.
See also Fig. 3, described step S300 specifically comprises:
S301, the original photo that acquisition data of description bag is corresponding, and the original photo with identical sight spot coding is classified as one group;
S302, same group of original photo is temporally stabbed sequence;
S303, make each group original photo associate the recommended information at corresponding sight spot, form tourism diary.
Wherein, after step S300, described tourism diary is distributed in the microblogging of user, QQ space or micro-letter circle of friends.Further, in the present embodiment, user can also arrange tourism diary publicity pattern, as only oneself is visible, good friend is visible, everyone is visible, tourism diary is shared with the friend of user.
Further, when generating tourism diary, in association after the recommended information of sight spot, whether automatically prompting user increases this tourism thoughts, if user's refusal, directly delivers tourism diary, if user agrees to increase, then generates text edit box, for user writing.
Based on above-mentioned method, the present invention is the corresponding system providing a kind of automatic generation tourism diary also, and refer to Fig. 4, it comprises: camera terminal 10, for obtaining the photo comprising sight spot image.Sight spot server 20, for obtaining the picture data of description bag comprising sight spot in described photo, and by the contrast of picture in itself and scene data storehouse, to the photo record comprising sight spot corresponding sight spot coding; And the photo with identical sight spot coding is classified as one group, and automatically generate the recommended information at corresponding sight spot, form tourism diary.Specifically refer to the embodiment corresponding with said method.
Wherein, described sight spot server 20, also for described tourism diary being distributed in the microblogging of user, QQ space or micro-letter circle of friends, and arranges tourism diary publicity pattern.Specifically refer to the embodiment corresponding with said method.
Particularly, described sight spot server comprises: picture processing module 201, for extracting the key point of photo, generates the picture data of description bag of pre-sizing; Picture contrast module 202, for the contrast by picture in picture data of description bag and scene data storehouse, obtains the picture data of description bag comprising sight spot; Sight spot information generation module 203, for according to the sight spot comprised in picture data of description bag, obtains the coding at corresponding sight spot in scene data storehouse, and the original photo that this picture data of description bag is corresponding records corresponding sight spot coding.Specifically refer to the embodiment corresponding with said method.
Further, described sight spot server also comprises: classifying module 204, for obtaining original photo corresponding to data of description bag, and the original photo with identical sight spot coding is classified as one group; Order module 205, for temporally stabbing sequence by same group of original photo; Diary generation module 206, for the recommended information making each group original photo associate corresponding sight spot, forms tourism diary.Specifically refer to the embodiment corresponding with said method.
In sum, the method and system of a kind of automatic generation tourism diary provided by the invention, first obtains the photo comprising sight spot image; Obtain the picture data of description bag comprising sight spot in described photo afterwards, and by the contrast of picture in itself and scene data storehouse, to the photo record comprising sight spot corresponding sight spot coding; Again the photo with identical sight spot coding is classified as one group, and automatically generates the recommended information at corresponding sight spot, form tourism diary, thus eliminate the process of user manual editing sight spot name and sight spot introduction, save the time of user, and user-friendly, improve Consumer's Experience.
Be understandable that, for those of ordinary skills, can be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, and all these change or replace the protection domain that all should belong to the claim appended by the present invention.