[go: up one dir, main page]

CN105808782B - Method and device for adding image tags - Google Patents

Method and device for adding image tags Download PDF

Info

Publication number
CN105808782B
CN105808782B CN201610200502.8A CN201610200502A CN105808782B CN 105808782 B CN105808782 B CN 105808782B CN 201610200502 A CN201610200502 A CN 201610200502A CN 105808782 B CN105808782 B CN 105808782B
Authority
CN
China
Prior art keywords
information
label
picture
user
label information
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.)
Active
Application number
CN201610200502.8A
Other languages
Chinese (zh)
Other versions
CN105808782A (en
Inventor
武志华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201610200502.8A priority Critical patent/CN105808782B/en
Publication of CN105808782A publication Critical patent/CN105808782A/en
Application granted granted Critical
Publication of CN105808782B publication Critical patent/CN105808782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Television Signal Processing For Recording (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention is applicable to the technical field of computers, and provides a method and a device for adding a picture label, wherein the method comprises the following steps: when the end of photo shooting is detected in the running process of a shooting process, a tag input area is presented, and tag information input by a user is acquired; adding the label information into the shot picture to generate a target picture; the method and the device have the advantages that the time information is obtained from the time process, the label information and the time information are written into the attribute information of the target picture, the target picture is stored according to the label information and the time information, the user-defined label information is added into the picture, the operation is convenient and fast, the label editing complexity of the picture is low, the user can input and store the label information in the picture, the narrative performance of the picture is improved, the user participation and the controllability are improved, meanwhile, the label information is written into the attribute information, the picture classification is facilitated, and the accuracy and the efficiency of later picture searching are improved.

Description

一种图片标签的添加方法及装置Method and device for adding image tags

技术领域technical field

本发明属于计算机技术领域,尤其涉及一种图片标签的添加方法及装置。The invention belongs to the technical field of computers, and in particular relates to a method and a device for adding picture tags.

背景技术Background technique

随着数字采集技术和计算机技术的发展,越来越多的图片以数字形式存储,用户用图片记载更多的信息。图片一般由成像设备(如相机、手机或平板电脑等包含摄像头的设备)从外界获取,通过采样等手段转换成点阵数据生成。现有的移动终端中内置的拍照程序或者用户安装的拍照应用程序在拍摄完成后,采用默认方式自动保存拍摄的图片,图片的默认信息包括图片名称、图片格式、图片大小、拍摄地理位置信息、拍摄日期、拍摄机型信息等属性信息,用户无法进行编辑,缺乏个性化体验,但可到属性查看该图片的属性,将图片传送到电脑中后,用户可在电脑中查阅图片的属性或修改部分属性,大大增加了编辑的复杂度,用户可参与度、可控性低,不便于后期图片查找,大大降低了图片查找准确率和效率。With the development of digital acquisition technology and computer technology, more and more pictures are stored in digital form, and users use pictures to record more information. Pictures are generally acquired from the outside world by imaging devices (such as cameras, mobile phones, or tablet computers, etc.), and converted into dot matrix data by means of sampling. The built-in photographing program in the existing mobile terminal or the photographing application program installed by the user adopts a default mode to automatically save the photographed picture after the photographing is completed. The default information of the photograph includes the photograph name, photograph format, photograph size, shooting location information, Attribute information such as shooting date and shooting model information cannot be edited by the user, which lacks a personalized experience, but you can go to the attribute to view the attributes of the picture. After transferring the picture to the computer, the user can check the attributes of the picture or modify it on the computer. Some attributes greatly increase the complexity of editing, the user's participation and controllability are low, and it is not convenient for later image search, which greatly reduces the accuracy and efficiency of image search.

发明内容Contents of the invention

本发明的目的在于提供一种图片标签的添加方法及装置,旨在解决由于现有技术图片标签的编辑复杂度高,以致带来用户可参与度低、可控性低、图片查找准确率和效率低的问题。The purpose of the present invention is to provide a method and device for adding picture tags, aiming to solve the problem of low user participation, low controllability, low accuracy of picture search and low picture search accuracy due to the high complexity of editing picture tags in the prior art. The problem of low efficiency.

一方面,本发明提供了一种图片标签的添加方法,所述方法包括:In one aspect, the present invention provides a method for adding a picture tag, the method comprising:

在拍照进程运行过程中检测到照片拍摄结束时,呈现标签输入区域,获取用户输入的标签信息;When the end of photo shooting is detected during the running of the photo taking process, the tag input area is presented to obtain the tag information input by the user;

将标签信息添加到所述拍摄的照片中,生成目标图片;adding tag information to the photograph taken to generate a target picture;

从时间进程获取时间信息,将所述标签信息、所述时间信息写入所述目标图片的属性信息中,并依据所述标签信息和所述时间信息存储所述目标图片。Acquiring time information from a time course, writing the tag information and the time information into the attribute information of the target picture, and storing the target picture according to the tag information and the time information.

另一方面,本发明提供了一种图片标签的添加装置,所述装置包括:In another aspect, the present invention provides a device for adding a picture tag, the device comprising:

标签输入单元,用于在拍照进程运行过程中检测到照片拍摄结束时,呈现标签输入区域,获取用户输入的标签信息;The tag input unit is used to display the tag input area when it is detected that the photo shooting ends during the running of the photo taking process, and obtain the tag information input by the user;

标签添加单元,用于将标签信息添加到所述拍摄的照片中,生成目标图片;A tag adding unit, configured to add tag information to the photograph taken to generate a target image;

标签存储单元,用于从时间进程获取时间信息,将所述标签信息、所述时间信息写入所述目标图片的属性信息中,并依据所述标签信息和所述时间信息存储所述目标图片。A tag storage unit, configured to acquire time information from a time course, write the tag information and the time information into the attribute information of the target picture, and store the target picture according to the tag information and the time information .

在本发明实施例中,通过在拍摄中添加标签功能,提供用户为拍摄的照片添加自定义标签的界面入口,实现了将用户自定义的标签信息添加到图片中,操作便捷,照片的标签编辑复杂度低,使得用户可在照片中输入并保存标签信息,增加了照片的叙事性。提高了用户参与度和可控性,同时将标签信息写入属性信息中,便于图片分类,提高了后期图片查找的准确率和效率。In the embodiment of the present invention, through the function of adding tags during shooting, an interface entry for users to add custom tags to photographed photos is provided, which realizes adding user-defined tag information to pictures, convenient operation, and photo tag editing The complexity is low, so that users can input and save tag information in photos, which increases the narrative of photos. It improves user participation and controllability, and at the same time writes label information into attribute information, which is convenient for picture classification and improves the accuracy and efficiency of post-picture search.

附图说明Description of drawings

图1是本发明实施例一提供的图片标签的添加方法的实现流程图;Fig. 1 is the implementation flowchart of the method for adding picture tags provided by Embodiment 1 of the present invention;

图2是本发明实施例一提供的图片标签的添加示意图;Fig. 2 is a schematic diagram of adding a picture tag provided by Embodiment 1 of the present invention;

图3是本发明实施例二提供的图片标签的添加方法的实现流程图;FIG. 3 is a flow chart of the implementation of the method for adding a picture tag provided in Embodiment 2 of the present invention;

图4是本发明实施例三提供的图片标签的添加方法的实现流程图;FIG. 4 is a flow chart of the implementation of the method for adding image tags provided by Embodiment 3 of the present invention;

图5是本发明实施例四提供的图片标签添加装置的结构图;Fig. 5 is a structural diagram of an image tag adding device provided by Embodiment 4 of the present invention;

图6是本发明实施例提供的一种图片标签添加系统的示意图。Fig. 6 is a schematic diagram of a picture tag adding system provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

在本发明实施例中,一种图片标签的添加装置可以为:智能手机、相机、便携设备等包含摄像头的终端,也可以通过终端中的客户端模块实现,例如:终端内置拍摄软件、拍摄应用程序、图片处理客户端等。In the embodiment of the present invention, a device for adding a picture tag can be: a terminal including a camera such as a smart phone, a camera, or a portable device, or it can also be realized through a client module in the terminal, for example: a terminal built-in shooting software, a shooting application program, image processing client, etc.

以下结合具体实施例对本发明的具体实现进行详细描述:The specific realization of the present invention is described in detail below in conjunction with specific embodiment:

实施例一:Embodiment one:

图1示出了本发明实施例一提供的图片添加方法的实现流程,为了便于说明,仅示出了与本发明实施例相关的部分,该方法可以包括以下步骤: S101~S103。Fig. 1 shows the implementation process of the picture adding method provided by Embodiment 1 of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown. The method may include the following steps: S101-S103.

步骤S101,在拍照进程运行过程中检测到照片拍摄结束时,呈现标签输入区域,获取用户输入的标签信息。Step S101 , when it is detected that the photo shooting is finished during the running of the photo taking process, a tag input area is presented, and tag information input by the user is obtained.

作为一种可选的实施方式,本发明实施例中用户输入的标签信息包括文本信息、语言信息、图像信息等,具体不受本发明实施例的限制。具体的,用户可通过屏幕上的虚拟键盘输入文本信息,通过麦克风输入音频信息,从而终端可获取到用户输入的标签信息。As an optional implementation manner, the tag information input by the user in this embodiment of the present invention includes text information, language information, image information, etc., and is not specifically limited by this embodiment of the present invention. Specifically, the user can input text information through the virtual keyboard on the screen, and input audio information through the microphone, so that the terminal can obtain the tag information input by the user.

应用场景示例:用户打开手机终端中内置的拍照软件,提前开启标签模式,用户点击拍摄按钮拍下一张照片,此时终端在运行拍照进程且检测到照片拍摄结束,则在显示界面上呈现标签输入区域,标签输入区域可以为一个文本输入框、一个用户语音输入按钮或者图像信息添加选项等,则用户在标签输入区域输入标签信息,进而终端获取到用户输入的标签信息。Application scenario example: the user opens the built-in camera software in the mobile terminal, enables the label mode in advance, and the user clicks the capture button to take a photo. At this time, the terminal is running the camera process and detects that the photo is taken, and the label is displayed on the display interface. In the input area, the label input area can be a text input box, a user voice input button, or an option to add image information, etc., then the user enters label information in the label input area, and then the terminal obtains the label information input by the user.

步骤S102,将标签信息添加到拍摄的照片中,生成目标图片。Step S102, adding label information to the photograph taken to generate a target picture.

作为一种可选的实施方式,标签信息以文本形式添加到拍摄的照片中,可把用户输入标签区域的音频信息转换为文本信息,若用户输入标签区域的是图像信息,则将图像信息添加到拍摄的图片中。以将标签信息以文本形式添加到拍摄的图片中为例进行编码举例,具体如下:创建一个函数对象从源图片(拍摄的照片)获取数据流,创建一个图片对象并以源图片数据填充,得到源图宽、源图长,创建一个函数对象来作为图像操作容器,创建一个绘图环境来进行绘制图像,将源图像数据流载入图像操作容器,设定文本字体、颜色等,将便签信息写入图像操作容器,并生效,创建输出文件流和图片编码对象,进行图片编码,关闭输出文件流,生成目标图片。As an optional implementation, the label information is added to the photos taken in the form of text, and the audio information entered by the user in the label area can be converted into text information. If the user enters image information in the label area, the image information will be added into the captured image. Take the example of adding tag information to the captured picture in the form of text for coding example, as follows: Create a function object to obtain the data stream from the source picture (taken picture), create a picture object and fill it with the source picture data, get Source image width, source image length, create a function object as the image operation container, create a drawing environment to draw the image, load the source image data stream into the image operation container, set the text font, color, etc., and write the note information Enter the image operation container and take effect, create the output file stream and image encoding object, perform image encoding, close the output file stream, and generate the target image.

步骤S103,从时间进程获取时间信息,将标签信息、时间信息写入目标图片的属性信息中,并依据标签信息和时间信息存储目标图片。Step S103, acquiring time information from the time course, writing the label information and time information into the attribute information of the target picture, and storing the target picture according to the label information and time information.

作为一种可选的实施方式,从时间进程获取时间信息,如年月日时分秒,将标签信息、时间信息写入目标图片的属性信息中,将目标图片存储到指定存储区,并根据标签信息和时间信息分类存储目标图片,具体的,可以将属于同一类的标签信息的图片归类为一类,在该类中以时间排序存储图片。As an optional implementation, time information is obtained from the time course, such as year, month, day, hour, minute, and second, and the tag information and time information are written into the attribute information of the target picture, and the target picture is stored in a designated storage area, and according to the tag The information and time information classify and store target pictures. Specifically, pictures with tag information belonging to the same category may be classified into one category, and the pictures are stored in time order in this category.

进一步可选的,步骤S102将标签信息添加到拍摄的照片中,生成目标图片,具体还可以包括:对拍摄的照片进行分析,依据分析结果和标签信息确定标签信息在照片中的添加位置,将标签信息添加到确定的添加位置,并呈现给用户以及允许用户编辑添加位置。Further optionally, step S102 adds tag information to the captured photo to generate a target image, which may specifically include: analyzing the captured photo, determining the location where the tag information is added in the photo according to the analysis result and the tag information, and adding The tag information is added to the determined adding location, presented to the user and allowed to edit the adding location.

对拍摄的图片进行图像分析处理,提取图片的特征点,对图片进行SIFT (scale-invariant feature transform,尺度不变特征转换)特征、色彩直方图、纹理特征等分析,对图片的特征点进行数据聚类,确定每个特征点所属的类别,再与训练库进行匹配,确定图片所属类别,如风景、人物、建筑物、动物等。由图像分析处理得到图片的类别,确定标签信息在照片中的添加位置,从而将标签信息添加到确定的添加位置,并呈现给用户以及允许用户编辑添加位置。Perform image analysis and processing on the captured pictures, extract the feature points of the pictures, analyze the SIFT (scale-invariant feature transform) features, color histograms, texture features, etc. of the pictures, and perform data analysis on the feature points of the pictures Clustering, to determine the category of each feature point, and then match it with the training library to determine the category of the picture, such as landscapes, people, buildings, animals, etc. The category of the picture is obtained by the image analysis process, and the adding position of the label information in the photo is determined, so that the label information is added to the determined adding position, presented to the user and allowed to edit the adding position.

参见图3所示,为本发明实施例一提供的图片标签的添加示意图,用户预先在相机设置中打开如300所示的使用标签功能。用户可在标签输入区域201 输入标签信息,进而可将标签信息添加到照片200中,还可以将标签信息写入该照片的属性中。Referring to FIG. 3 , which is a schematic diagram of adding a picture tag provided by Embodiment 1 of the present invention, the user enables the use tag function shown at 300 in the camera settings in advance. The user can input tag information in the tag input area 201, and then can add the tag information to the photo 200, and can also write the tag information into the attribute of the photo.

在本发明实施例中,通过在拍摄中添加标签功能,提供用户为拍摄的照片添加自定义标签的界面入口,呈现标签输入区域,实现了将用户自定义的标签信息添加到照片中,操作便捷,照片的标签编辑复杂度低,使得用户可在照片中输入并保存标签信息,增加了照片的叙事性。提高了用户参与度和可控性,同时将标签信息写入属性信息中,便于图片分类,提高了后期图片查找的准确率和效率。In the embodiment of the present invention, through the function of adding tags during shooting, an interface entry for users to add custom tags to photographed photos is provided, and a tag input area is presented, so that user-defined tag information can be added to photos, and the operation is convenient , the complexity of photo tag editing is low, so that users can input and save tag information in photos, which increases the narrative of photos. It improves user participation and controllability, and at the same time writes label information into attribute information, which is convenient for picture classification and improves the accuracy and efficiency of post-picture search.

对拍摄的图片进行图像分析,由分析结果和标签信息确定标签信息在图片中的添加位置,同时支持用户再编辑,实现了随用户输入的标签信息以及不同的图片类型进行标签信息显示的不同位置形态,使得图片标签添加更加智能,避免了固定位置,遮住主要图片画面的情况。Carry out image analysis on the captured pictures, determine the adding position of the label information in the picture based on the analysis results and label information, and support user re-editing at the same time, realizing different positions for label information display according to the label information entered by the user and different picture types The shape makes the addition of picture tags more intelligent, avoiding the situation of fixing the position and covering the main picture screen.

实施例二:Embodiment two:

图2示出了本发明实施例二提供的图片添加方法的实现流程,为了便于说明,仅示出了与本发明实施例相关的部分,该方法可以包括以下步骤:Figure 2 shows the implementation process of the picture adding method provided by the second embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown. The method may include the following steps:

S301,运行拍照进程。S301, running a photographing process.

S302,判断照片拍摄是否结束,若是,执行步骤S303,若否,返回步骤 S302。S302, judging whether the photographing is finished, if yes, execute step S303, if not, return to step S302.

S303,判断是否第一次开启标签模式,若判断结果为是,执行步骤S304,若判断结果为否,执行步骤S306。S303, judging whether to start the label mode for the first time, if the judgment result is yes, execute step S304, if the judgment result is no, execute step S306.

S304,呈现空白的标签输入区域。S304, presenting a blank label input area.

S305,获取用户在空白的标签输入区域输入的标签信息。S305. Obtain tag information input by the user in the blank tag input area.

S306,读取历史拍照事件记录的历史标签信息。S306. Read historical tag information of historical photographing event records.

S307,在标签输入区域显示读取的历史标签信息。S307, displaying the read historical tag information in the tag input area.

S308,获取用户对标签输入区域显示的标签信息的确认结果。S308. Obtain a confirmation result of the label information displayed in the label input area by the user.

作为一种可选的实施方式,对拍摄的图片进行图像分析处理,将分析处理结果与历史拍照事件记录的历史标签信息进行匹配,依据匹配关联度在标签输入区域显示匹配的历史标签信息。提取图片的特征点,对图片进行SIFT特征、色彩直方图、纹理特征等分析,对图片的特征点进行数据聚类,确定每个特征点所属的类别,再与训练库进行匹配,确定图片所属类别,如风景、人物、建筑物、动物等。由图像分析处理得到图片的类别,再与历史拍照事件记录的历史标签信息进行匹配,如风景对应游玩相关的历史标签信息等。进一步的,还可以依据匹配关联度在标签输入区域显示,如匹配关联度高的显示在前面。As an optional implementation, image analysis and processing are performed on the captured pictures, the analysis and processing results are matched with historical tag information recorded in historical photographing events, and the matched historical tag information is displayed in the tag input area according to the degree of matching correlation. Extract the feature points of the picture, analyze the SIFT feature, color histogram, texture feature, etc. of the picture, perform data clustering on the feature points of the picture, determine the category to which each feature point belongs, and then match it with the training database to determine the picture belongs to Categories such as Landscape, People, Buildings, Animals, etc. The category of the picture is obtained by image analysis and processing, and then matched with the historical tag information recorded in the historical photo event, such as the scenery corresponding to the historical tag information related to play, etc. Furthermore, it can also be displayed in the label input area according to the degree of matching association, for example, the one with the highest degree of matching association is displayed at the front.

S309,将标签信息添加到拍摄的照片中,生成目标图片。S309, adding tag information to the captured photo to generate a target picture.

S310,获得当前时刻的地理位置信息。S310. Obtain the geographic location information at the current moment.

S311,根据用户输入的标签信息确定地理位置信息在照片中的显示位置和显示界面元素。S311. Determine, according to the label information input by the user, a display position and display interface elements of the geographic location information in the photo.

S312,将地理位置信息添加到照片中。S312. Add the geographic location information to the photo.

作为一种可选的实施方式,可将地理位置信息添加到照片中,如图2所示区域201中将地理位置信息添加到照片中。对应用户输入的不同的标签信息可匹配不同的地理位置信息显示状态,预先为不同类别的标签信息配对不同的地理位置信息显示模板,如卡通版、唯美版的地理位置信息显示模板等。更进一步的,用户还可对S311中地理位置信息的状态进行编辑,修改、更换模板或者删除等。As an optional implementation manner, geographic location information may be added to the photo, for example, the geographic location information is added to the photo in area 201 as shown in FIG. 2 . Corresponding to different tag information input by the user, different geographic location information display states can be matched, and different geographic location information display templates are matched in advance for different types of tag information, such as cartoon version, aesthetic version of geographic location information display template, etc. Furthermore, the user can also edit, modify, replace or delete the status of the geographic location information in S311.

S313,生成目标图片。S313. Generate a target picture.

S314,在显示屏幕上显示包括标签信息和/或地理位置信息的目标图片。S314. Display the target picture including tag information and/or geographic location information on a display screen.

S315,从时间进程获取时间信息。S315. Acquire time information from the time course.

S316,将标签信息、时间信息写入目标图片的属性信息中。S316. Write the tag information and time information into the attribute information of the target picture.

S317,依据标签信息和时间信息存储目标图片。S317. Store the target picture according to the tag information and time information.

在本发明实施例中,通过在拍摄中添加标签功能,提供用户为拍摄的照片添加自定义标签的界面入口,呈现标签输入区域,实现了将用户自定义的标签信息添加到照片中,操作便捷,照片的标签编辑复杂度低,使得用户可在照片中输入并保存标签信息,增加了照片的叙事性。提高了用户参与度和可控性,同时将标签信息写入属性信息中,便于图片分类,提高了后期图片查找的准确率和效率。In the embodiment of the present invention, through the function of adding tags during shooting, an interface entry for users to add custom tags to photographed photos is provided, and a tag input area is presented, so that user-defined tag information can be added to photos, and the operation is convenient , the complexity of photo tag editing is low, so that users can input and save tag information in photos, which increases the narrative of photos. It improves user participation and controllability, and at the same time writes label information into attribute information, which is convenient for picture classification and improves the accuracy and efficiency of post-picture search.

对历史添加的标签信息形成记忆功能,并在标签输入区域显示历史标签信息,用户可直接选择其中一个历史标签信息,也可对选择的历史标签信息进行修改,大大降低了照片标签编辑的复杂度。Form a memory function for the tag information added in the history, and display the historical tag information in the tag input area. The user can directly select one of the historical tag information, or modify the selected historical tag information, which greatly reduces the complexity of photo tag editing. .

对拍摄的图片进行图像分析,将分析结果与历史标签信息进行匹配,即为拍摄的图片推荐历史标签信息,根据匹配关联度进行推荐,从而增加了标签自动显示的灵活性和智能性,提高了匹配度。Image analysis is performed on the captured pictures, and the analysis results are matched with historical label information, that is, historical label information is recommended for the captured pictures, and recommendations are made according to the matching correlation degree, thereby increasing the flexibility and intelligence of automatic label display, and improving the suitability.

在拍摄的图片中显示地理位置信息,且地理位置信息的显示状态与用户输入的标签信息匹配,即地理位置信息随着用户不同的标签信息将呈现不同的显示形态,增加了图片标签显示的趣味性。The geographic location information is displayed in the captured pictures, and the display status of the geographic location information matches the label information input by the user, that is, the geographic location information will show different display forms with different label information of the user, which increases the interest of the image label display sex.

实施例三:Embodiment three:

图4示出了本发明实施例三提供的图片添加方法的实现流程,为了便于说明,仅示出了与本发明实施例相关的部分,该方法可以包括以下步骤:Figure 4 shows the implementation process of the picture adding method provided by the third embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown. The method may include the following steps:

S401,在拍照进程运行过程中检测到照片拍摄结束时,呈现标签输入区域,获取用户输入的标签信息。S401. When it is detected that the photo shooting is finished during the operation of the photo taking process, a tag input area is presented to acquire tag information input by the user.

S402,将标签信息添加到拍摄的照片中,生成目标图片。S402. Add tag information to the captured photo to generate a target picture.

S403,对用户输入的标签信息进行分词处理,提取关键字,匹配标签类型,依据标签类型对目标图片进行分类。S403, performing word segmentation processing on the label information input by the user, extracting keywords, matching label types, and classifying target pictures according to the label types.

具体实现中,对用户输入的标签信息进行分词处理,提取关键字,将提取的关键字与标签类型模板对应的关键字进行配对,确定用户输入的标签信息对应的标签类型,从而依据匹配的标签类型对目标图片进行分类。如将目标图片依据标签信息“一家人到XXX风景区一游”匹配到标签类型“游玩”等。In the specific implementation, word segmentation is performed on the tag information input by the user, keywords are extracted, the extracted keywords are paired with the keywords corresponding to the tag type template, and the tag type corresponding to the tag information input by the user is determined, so that according to the matched tag Type classifies the target image. For example, match the target picture to the tag type "play" according to the tag information "a family visits XXX scenic spot".

S404,从时间进程获取时间信息,将标签信息、时间信息写入目标图片的属性信息中,并依据标签信息和时间信息分类存储目标图片。S404. Acquire time information from the time course, write the tag information and time information into the attribute information of the target picture, and classify and store the target pictures according to the tag information and time information.

S405,在接收到用户的图片搜索命令时,将图片搜索命令与目标图片的标签信息进行匹配,确定图片搜索命令对应的标签类型,并将匹配结果呈现给用户。S405. When receiving a picture search command from the user, match the picture search command with tag information of the target picture, determine a tag type corresponding to the picture search command, and present the matching result to the user.

具体实现中,用户在终端中可搜索图片,在搜索框输入关键字,终端收到用户的图片搜索命令,该图片搜索命令中包含用户在搜索框输入的关键字,则将该关键字与目标图片的标签信息进行匹配,从而确定图片搜索命令对应的标签类型,再将对应标签类型的图片呈现给用户。进一步的,还可以根据匹配关联度显示对应的图片的次序。In the specific implementation, the user can search for pictures in the terminal, enter keywords in the search box, and the terminal receives the user's picture search command. The tag information of the pictures is matched to determine the tag type corresponding to the image search command, and then the image corresponding to the tag type is presented to the user. Further, the order of corresponding pictures may also be displayed according to the degree of matching relevance.

在本发明实施例中,通过在拍摄中添加标签功能,提供用户为拍摄的照片添加自定义标签的界面入口,实现了将用户自定义的标签信息添加到图片中,操作便捷,照片的标签编辑复杂度低,使得用户可在照片中输入并保存标签信息,增加了照片的叙事性。提高了用户参与度和可控性,同时将标签信息写入属性信息中,便于图片分类,提高了后期图片查找的准确率和效率。In the embodiment of the present invention, through the function of adding tags during shooting, an interface entry for users to add custom tags to photographed photos is provided, which realizes adding user-defined tag information to pictures, convenient operation, and photo tag editing The complexity is low, so that users can input and save tag information in photos, which increases the narrative of photos. It improves user participation and controllability, and at the same time writes label information into attribute information, which is convenient for picture classification and improves the accuracy and efficiency of post-picture search.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘、光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage Media such as ROM/RAM, magnetic disk, optical disk, etc.

实施例四:Embodiment four:

图5示出了本发明实施例四提供的图片标签添加装置的结构图,为了便于说明,仅示出了与本发明实施例相关的部分,其中包括:标签输入单元501、标签添加单元502和标签存储单元503。Fig. 5 shows the structural diagram of the picture tag adding device provided by Embodiment 4 of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown, including: a tag input unit 501, a tag adding unit 502 and Label storage unit 503 .

标签输入单元501,用于在拍照进程运行过程中检测到照片拍摄结束时,呈现标签输入区域,获取用户输入的标签信息。The tag input unit 501 is configured to present a tag input area and acquire tag information input by the user when it is detected that the photo shooting is finished during the running of the photo taking process.

作为一种可选的实施方式,本发明实施例中用户输入的标签信息包括文本信息、语言信息、图像信息等,具体不受本发明实施例的限制。具体的,用户可通过屏幕上的虚拟键盘输入文本信息,通过麦克风输入音频信息,从而标签输入单元501可获取到用户输入的标签信息。As an optional implementation manner, the tag information input by the user in this embodiment of the present invention includes text information, language information, image information, etc., and is not specifically limited by this embodiment of the present invention. Specifically, the user can input text information through the virtual keyboard on the screen, and input audio information through the microphone, so that the label input unit 501 can obtain the label information input by the user.

应用场景示例:用户打开手机终端中内置的拍照软件,提前开启标签模式,用户点击拍摄按钮拍下一张照片,此时在运行拍照进程且检测到照片拍摄结束,则在显示界面上呈现标签输入区域,标签输入区域可以为一个文本输入框、一个用户语音输入按钮或者图像信息添加选项等,则用户在标签输入区域输入标签信息,进而标签输入单元501获取到用户输入的标签信息。Application scenario example: The user opens the built-in camera software in the mobile terminal, enables the label mode in advance, and the user clicks the capture button to take a photo. At this time, the camera process is running and the photo shooting is detected, and the label input will be displayed on the display interface. area, the tag input area can be a text input box, a user voice input button, or an option to add image information, etc., then the user inputs tag information in the tag input area, and then the tag input unit 501 obtains the tag information input by the user.

作为一种可选的实施方式,标签输入单元501可以包括判断子单元、第一输入子单元或第二输入子单元。As an optional implementation manner, the label input unit 501 may include a judging subunit, a first input subunit, or a second input subunit.

判断子单元,用于在拍照进程运行时判断是否第一次开启标签模式。The judging subunit is used to judge whether to start the label mode for the first time when the photographing process is running.

第一输入子单元,用于在所述判断子单元的判断结果为是时,呈现空白的标签输入区域。The first input subunit is configured to present a blank label input area when the judging result of the judging subunit is yes.

第二输入子单元,用于在判断子单元的判断结果为否时,读取历史拍照事件记录的历史标签信息,在标签输入区域显示读取的历史标签信息,获取用户对标签输入区域显示的标签信息的确认结果,确认为用户输入的标签信息。The second input subunit is used to read the historical label information of the historical photographing event record when the judgment result of the judging subunit is No, display the read historical label information in the label input area, and obtain the user's display of the label input area. The confirmation result of the label information, which is the label information entered by the user.

进一步的,第二输入子单元具体用于:对拍摄的图片进行图像分析处理,将分析处理结果与历史拍照事件记录的历史标签信息进行匹配,依据匹配关联度在标签输入区域显示匹配的历史标签信息。Further, the second input subunit is specifically used to: perform image analysis and processing on the captured pictures, match the analysis and processing results with the historical tag information recorded in the historical photographing events, and display the matched historical tags in the tag input area according to the degree of matching correlation information.

作为一种可选的实施方式,第二输入子单元对拍摄的图片进行图像分析处理,将分析处理结果与历史拍照事件记录的历史标签信息进行匹配,依据匹配关联度在标签输入区域显示匹配的历史标签信息。提取图片的特征点,对图片进行SIFT特征、色彩直方图、纹理特征等分析,对图片的特征点进行数据聚类,确定每个特征点所属的类别,再与训练库进行匹配,确定图片所属类别,如风景、人物、建筑物、动物等。由图像分析处理得到图片的类别,再与历史拍照事件记录的历史标签信息进行匹配,如风景对应游玩相关的历史标签信息等。进一步的,还可以依据匹配关联度在标签输入区域显示,如匹配关联度高的显示在前面。As an optional implementation, the second input subunit performs image analysis and processing on the captured pictures, matches the analysis and processing results with the historical label information recorded in the historical photographing events, and displays the matching information in the label input area according to the degree of matching correlation. Historical label information. Extract the feature points of the picture, analyze the SIFT feature, color histogram, texture feature, etc. of the picture, perform data clustering on the feature points of the picture, determine the category to which each feature point belongs, and then match it with the training database to determine the picture belongs to Categories such as Landscape, People, Buildings, Animals, etc. The category of the picture is obtained by image analysis and processing, and then matched with the historical tag information recorded in the historical photo event, such as the scenery corresponding to the historical tag information related to play, etc. Furthermore, it can also be displayed in the label input area according to the degree of matching association, for example, the one with the highest degree of matching association is displayed at the front.

标签添加单元502,用于将标签信息添加到拍摄的照片中,生成目标图片。The tag adding unit 502 is configured to add tag information to the captured photo to generate a target image.

作为一种可选的实施方式,标签信息以文本形式添加到拍摄的照片中,可把用户输入标签区域的音频信息转换为文本信息,若用户输入标签区域的是图像信息,则将图像信息添加到拍摄的图片中。以将标签信息以文本形式添加到拍摄的图片中为例进行编码举例,具体如下:创建一个函数对象从源图片(拍摄的照片)获取数据流,创建一个图片对象并以源图片数据填充,得到源图宽、源图长,创建一个函数对象来作为图像操作容器,创建一个绘图环境来进行绘制图像,将源图像数据流载入图像操作容器,设定文本字体、颜色等,将便签信息写入图像操作容器,并生效,创建输出文件流和图片编码对象,进行图片编码,关闭输出文件流,生成目标图片。As an optional implementation, the label information is added to the photos taken in the form of text, and the audio information entered by the user in the label area can be converted into text information. If the user enters image information in the label area, the image information will be added into the captured image. Take the example of adding tag information to the captured picture in the form of text for coding example, as follows: Create a function object to obtain the data stream from the source picture (taken picture), create a picture object and fill it with the source picture data, get Source image width, source image length, create a function object as the image operation container, create a drawing environment to draw the image, load the source image data stream into the image operation container, set the text font, color, etc., and write the note information Enter the image operation container and take effect, create the output file stream and image encoding object, perform image encoding, close the output file stream, and generate the target image.

进一步可选的,标签添加单元502具体用于:Further optionally, the label adding unit 502 is specifically used for:

对拍摄的照片进行分析,依据分析结果和标签信息确定标签信息在照片中的添加位置,将标签信息添加到确定的添加位置,并呈现给用户以及允许用户编辑添加位置。Analyze the photos taken, determine the adding position of the tag information in the photo according to the analysis result and the tag information, add the tag information to the determined adding position, present it to the user and allow the user to edit the adding position.

作为一种可选的实施方式,可将地理位置信息添加到照片中。对应用户输入的不同的标签信息可匹配不同的地理位置信息显示状态,预先为不同类别的标签信息配对不同的地理位置信息显示模板,如卡通版、唯美版的地理位置信息显示模板等。更进一步的,用户还可对地理位置信息的状态进行编辑,修改、更换模板或者删除等。As an optional implementation manner, geographic location information may be added to the photo. Corresponding to different tag information input by the user, different geographic location information display states can be matched, and different geographic location information display templates are matched in advance for different types of tag information, such as cartoon version, aesthetic version of geographic location information display template, etc. Furthermore, the user can also edit, modify, replace or delete the status of the geographic location information.

标签存储单元503,用于从时间进程获取时间信息,将标签信息、时间信息写入目标图片的属性信息中,并依据标签信息和时间信息存储目标图片。The label storage unit 503 is configured to obtain time information from the time course, write the label information and time information into the attribute information of the target picture, and store the target picture according to the label information and time information.

作为一种可选的实施方式,从时间进程获取时间信息,如年月日时分秒,将标签信息、时间信息写入目标图片的属性信息中,将目标图片存储到指定存储区,并根据标签信息和时间信息分类存储目标图片,具体的,可以将属于同一类的标签信息的图片归类为一类,在该类中以时间排序存储图片。As an optional implementation, time information is obtained from the time course, such as year, month, day, hour, minute, and second, and the tag information and time information are written into the attribute information of the target picture, and the target picture is stored in a designated storage area, and according to the tag The information and time information classify and store target pictures. Specifically, pictures with tag information belonging to the same category may be classified into one category, and the pictures are stored in time order in this category.

进一步可选的,本发明实施例提供的装置还可以包括:位置获取单元、位置添加单元和显示单元。Further optionally, the device provided in the embodiment of the present invention may further include: a location acquiring unit, a location adding unit, and a display unit.

位置获取单元,用于在拍照进程运行过程中,获得当前时刻的地理位置信息。The position obtaining unit is used to obtain the geographic location information at the current moment during the operation of the photographing process.

位置添加单元,用于根据用户输入的标签信息确定地理位置信息在照片中的显示位置和显示界面元素,将地理位置信息添加到照片中,生成目标图片。The position adding unit is configured to determine the display position and display interface elements of the geographic location information in the photo according to the tag information input by the user, add the geographic location information to the photo, and generate a target image.

显示单元,用于在显示屏幕上显示包括标签信息和/或地理位置信息的目标图片。The display unit is used for displaying the target picture including label information and/or geographic location information on a display screen.

具体实现中,对拍摄的图片进行图像分析处理,提取图片的特征点,对图片进行SIFT特征、色彩直方图、纹理特征等分析,对图片的特征点进行数据聚类,确定每个特征点所属的类别,再与训练库进行匹配,确定图片所属类别,如风景、人物、建筑物、动物等。由图像分析处理得到图片的类别,确定标签信息在照片中的添加位置,从而将标签信息添加到确定的添加位置,并呈现给用户以及允许用户编辑添加位置。In the specific implementation, image analysis and processing are performed on the captured pictures, the feature points of the pictures are extracted, SIFT features, color histograms, texture features, etc. are analyzed on the pictures, data clustering is performed on the feature points of the pictures, and each feature point is determined category, and then match it with the training library to determine the category of the picture, such as landscapes, people, buildings, animals, etc. The category of the picture is obtained by the image analysis process, and the adding position of the label information in the photo is determined, so that the label information is added to the determined adding position, presented to the user and allowed to edit the adding position.

进一步可选的,本发明实施例提供的装置还包括搜索单元。Further optionally, the device provided in the embodiment of the present invention further includes a search unit.

标签存储单元503具体用于:对用户输入的标签信息进行分词处理,提取关键字,匹配标签类型,依据标签类型对目标图片进行分类。The tag storage unit 503 is specifically configured to: perform word segmentation processing on tag information input by the user, extract keywords, match tag types, and classify target pictures according to tag types.

搜索单元用于在接收到用户的图片搜索命令时,将图片搜索命令与目标图片的标签信息进行匹配,确定图片搜索命令对应的标签类型,并将匹配结果呈现给用户。The search unit is configured to match the image search command with tag information of the target image when receiving the user's image search command, determine the tag type corresponding to the image search command, and present the matching result to the user.

在本发明实施例中提供一种图片标签的添加装置,包括标签输入单元、标签添加单元以及标签存储单元,标签输入单用于在拍照进程运行过程中检测到照片拍摄结束时,呈现标签输入区域,获取用户输入的标签信息;标签添加单元用于将标签信息添加到拍摄的照片中,生成目标图片;标签存储单元用于从时间进程获取时间信息,将标签信息、时间信息写入目标图片的属性信息中,并依据标签信息和时间信息存储所述目标图片。通过在拍摄中添加标签功能,提供用户为拍摄的照片添加自定义标签的界面入口,呈现标签输入区域,实现了将用户自定义的标签信息添加到照片中,操作便捷,照片的标签编辑复杂度低,使得用户可在照片中输入并保存标签信息,增加了照片的叙事性。提高了用户参与度和可控性,同时将标签信息写入属性信息中,便于图片分类,提高了后期图片查找的准确率和效率。In an embodiment of the present invention, a device for adding a picture tag is provided, including a tag input unit, a tag adding unit, and a tag storage unit, and the tag input sheet is used to present a tag input area when it is detected that the photo shooting is completed during the running of the photo taking process , to obtain the tag information input by the user; the tag adding unit is used to add the tag information to the photo taken to generate the target picture; the tag storage unit is used to obtain the time information from the time course, and write the tag information and time information into the target picture attribute information, and store the target picture according to tag information and time information. Through the function of adding tags during shooting, it provides an interface entry for users to add custom tags to the photos taken, presents the tag input area, and realizes adding user-defined tag information to photos. The operation is convenient and the photo tag editing is complicated. Low, allowing users to enter and save tag information in photos, increasing the storytelling of photos. It improves user participation and controllability, and at the same time writes label information into attribute information, which is convenient for picture classification and improves the accuracy and efficiency of post-picture search.

对历史添加的标签信息形成记忆功能,并在标签输入区域显示历史标签信息,用户可直接选择其中一个历史标签信息,也可对选择的历史标签信息进行修改,大大降低了照片标签编辑的复杂度。Form a memory function for the tag information added in the history, and display the historical tag information in the tag input area. The user can directly select one of the historical tag information, or modify the selected historical tag information, which greatly reduces the complexity of photo tag editing. .

对拍摄的图片进行图像分析,将分析结果与历史标签信息进行匹配,即为拍摄的图片推荐历史标签信息,根据匹配关联度进行推荐,从而增加了标签自动显示的灵活性和智能性,提高了匹配度。Image analysis is performed on the captured pictures, and the analysis results are matched with historical label information, that is, historical label information is recommended for the captured pictures, and recommendations are made according to the matching correlation degree, thereby increasing the flexibility and intelligence of automatic label display, and improving the suitability.

在拍摄的图片中显示地理位置信息,且地理位置信息的显示状态与用户输入的标签信息匹配,即地理位置信息随着用户不同的标签信息将呈现不同的显示形态,增加了图片标签显示的趣味性。The geographic location information is displayed in the captured pictures, and the display status of the geographic location information matches the label information input by the user, that is, the geographic location information will show different display forms with different label information of the user, which increases the interest of the image label display sex.

对拍摄的图片进行图像分析,由分析结果和标签信息确定标签信息在图片中的添加位置,同时支持用户再编辑,实现了随用户输入的标签信息以及不同的图片类型进行标签信息显示的不同位置形态,使得图片标签添加更加智能,避免了固定位置,遮住主要图片画面的情况。Carry out image analysis on the captured pictures, determine the adding position of the label information in the picture based on the analysis results and label information, and support user re-editing at the same time, realizing different positions for label information display according to the label information entered by the user and different picture types The shape makes the addition of picture tags more intelligent, avoiding the situation of fixing the position and covering the main picture screen.

在本发明实施例中,各单元可由相应的硬件或软件单元实现,各单元可以为独立的软、硬件单元,也可以集成为一个软、硬件单元,在此不用以限制本发明。In the embodiment of the present invention, each unit can be realized by corresponding hardware or software unit, and each unit can be an independent software and hardware unit, or can be integrated into one software and hardware unit, which is not used to limit the present invention.

本发明实施例还公开了一种拍摄终端,该拍摄终端包含摄像机,包括图5 所示的装置;该装置的结构和功能可参见图5所示实施例的相关描述,在此不赘述。在拍摄终端本端进行图片标签的输入、添加、处理和存储,无需外部设备或者装置。需要说明的是,本实施例提供的拍摄终端与图1、图3所示的图片标签的添加方法相对应,为基于图1~图3所示的图片标签的添加方法的执行主体。The embodiment of the present invention also discloses a shooting terminal. The shooting terminal includes a camera, including the device shown in FIG. 5 ; the structure and function of the device can refer to the relevant description of the embodiment shown in FIG. 5 , and will not be repeated here. The input, addition, processing and storage of picture tags are performed on the shooting terminal itself, without external equipment or devices. It should be noted that the photographing terminal provided in this embodiment corresponds to the methods for adding picture tags shown in FIG. 1 and FIG. 3 , and is the subject of execution based on the methods for adding picture tags shown in FIGS. 1 to 3 .

本发明实施例还公开了一种图片标签的添加系统,如图6所示,是本发明实施例提供的一种图片标签的添加系统的结构示意图。如图6所示,本发明实施例提供的图片标签的添加系统可包括拍摄终端10和服务器20。进一步的,目标图片可存储于拍摄终端10本地,也可以存储于服务器20中,还可以存储于云端等,具体不受本发明实施例的限制。The embodiment of the present invention also discloses a system for adding a picture label, as shown in FIG. 6 , which is a schematic structural diagram of a system for adding a picture label provided by the embodiment of the present invention. As shown in FIG. 6 , the image tag adding system provided by the embodiment of the present invention may include a shooting terminal 10 and a server 20 . Further, the target picture may be stored locally in the shooting terminal 10, or in the server 20, or in the cloud, etc., and is not limited by the embodiments of the present invention.

拍摄终端10用于在拍照进程运行过程中检测到照片拍摄结束时,呈现标签输入区域,获取用户输入的标签信息。拍摄终端将拍摄的照片和用户输入的标签信息上传服务器20。服务器20用于将标签信息添加到拍摄的照片中,生成目标图片,并将目标图片在拍摄终端10中呈现。拍摄终端从时间进程获取时间信息,将标签信息、时间信息写入目标图片的属性信息中,并依据标签信息和时间信息存储目标图片。The photographing terminal 10 is configured to present a tag input area and acquire tag information input by the user when it detects that the photo shooting is finished during the running process of the photo shooting process. The photographing terminal uploads the photograph taken and the tag information input by the user to the server 20 . The server 20 is configured to add tag information to the photographed photos, generate a target picture, and present the target picture in the photographing terminal 10 . The shooting terminal obtains time information from the time course, writes the tag information and time information into the attribute information of the target picture, and stores the target picture according to the tag information and time information.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (10)

1. a kind of adding method of picture tag, which is characterized in that the described method includes:
At the end of detecting photograph taking in process operational process of taking pictures, label input area is presented, obtains user's input Label information;
Label information is added in the photo of the shooting, generates Target Photo;
From time course acquisition time information, the label information, the temporal information are written to the attribute of the Target Photo In information, and the Target Photo is stored according to the label information and the temporal information,
In the photo that label information is added to the shooting, Target Photo is generated, comprising:
Image analysis processing is carried out to the picture of shooting, extracts the characteristic point of picture, data clusters are carried out to the characteristic point of picture, It determines classification belonging to each characteristic point, then is matched with training library, picture generic is determined, by label information and image Analysis handles to obtain the classification of picture, determines point of addition of the label information in photo, so that label information is added to really Fixed point of addition, and be presented to the user and user is allowed to edit point of addition.
2. the method as described in claim 1, which is characterized in that described to detect photograph taking in process operational process of taking pictures At the end of, label input area is presented, obtains the label information of user's input, comprising:
Judge whether to open label mode for the first time when taking pictures process operation;
If so, the label input area of blank is presented;
The history tab information of logout if it is not, reading history is taken pictures, shows the reading in the label input area History tab information obtains the confirmation for the label information that user shows the label input area as a result, to be confirmed as user defeated The label information entered.
3. method according to claim 2, which is characterized in that it is described read history take pictures logout history tab letter Breath, shows the history tab information of the reading in the label input area, comprising:
Image analysis processing is carried out to the picture of the shooting, analysis and processing result and the history are taken pictures the going through of logout History label information is matched, and shows the matched history tab letter in the label input area according to the matching degree of association Breath.
4. the method as described in claim 1, which is characterized in that in the photo that label information is added to the shooting, After generating Target Photo, the method also includes:
In process operational process of taking pictures, the geographical location information at current time is obtained;
Display position of the geographical location information in the photo and display circle are determined according to the label information that user inputs The geographical location information is added in the photo by surface element, generates the Target Photo;
Display includes the Target Photo of the label information and/or the geographical location information on the display screen.
5. the method as described in claim 1, which is characterized in that described to be stored according to the label information and the temporal information The Target Photo includes:
Word segmentation processing is carried out to the label information of user input, keyword is extracted, matches tag types, according to tag types Classify to Target Photo;
After storing the Target Photo according to the label information and the temporal information, the method also includes:
In the picture searching order for receiving user, by the progress of the label information of picture searching order and the Target Photo Match, determines the corresponding tag types of picture searching order, and matching result is presented to the user.
6. a kind of adding set of picture tag, which is characterized in that described device includes:
At the end of for detecting photograph taking in process operational process of taking pictures, label input area is presented in label input unit Domain obtains the label information of user's input;
Label adding unit generates Target Photo for label information to be added in the photo of the shooting;
Tag memory cell, for from time course acquisition time information, institute to be written in the label information, the temporal information It states in the attribute information of Target Photo, and stores the Target Photo according to the label information and the temporal information,
The label adding unit is specifically used for:
Image analysis processing is carried out to the picture of shooting, extracts the characteristic point of picture, data clusters are carried out to the characteristic point of picture, It determines classification belonging to each characteristic point, then is matched with training library, picture generic is determined, by label information and image Analysis handles to obtain the classification of picture, determines point of addition of the label information in photo, so that label information is added to really Fixed point of addition, and be presented to the user and user is allowed to edit point of addition.
7. device as claimed in claim 6, which is characterized in that the label input unit includes:
Judgment sub-unit, for judging whether to open label mode for the first time when taking pictures process operation;
First input subelement, is when being for the judging result in the judgment sub-unit, the label that blank is presented is defeated Enter region;
When second input subelement for the judging result in the judgment sub-unit is no, reads history and take pictures logout History tab information, show the history tab information of the reading in the label input area, obtain user to the mark The confirmation for the label information that label input area is shown is as a result, be confirmed as the label information of user's input.
8. device as claimed in claim 7, which is characterized in that the second input subelement is specifically used for: to the shooting Picture carry out image analysis processing, the take pictures history tab information of logout of analysis and processing result and the history is carried out Matching shows the matched history tab information in the label input area according to the matching degree of association.
9. device as claimed in claim 7, which is characterized in that described device further include:
Position acquisition unit, for obtaining the geographical location information at current time in process operational process of taking pictures;
Position adding unit, the label information for being inputted according to user determine the geographical location information in the photo Display position and display interface element, the geographical location information is added in the photo, generates the Target Photo;
Display unit, for being shown on the display screen including described in the label information and/or the geographical location information Target Photo.
10. device as claimed in claim 7, which is characterized in that described device further includes search unit;
The tag memory cell is specifically used for: word segmentation processing carried out to the label information of user input, extracts keyword, Tag types are matched, are classified according to tag types to Target Photo;
Described search unit is used in the picture searching order for receiving user, by picture searching order and the Target Photo Label information matched, determine the corresponding tag types of picture searching order, and matching result is presented to the user.
CN201610200502.8A 2016-03-31 2016-03-31 Method and device for adding image tags Active CN105808782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610200502.8A CN105808782B (en) 2016-03-31 2016-03-31 Method and device for adding image tags

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610200502.8A CN105808782B (en) 2016-03-31 2016-03-31 Method and device for adding image tags

Publications (2)

Publication Number Publication Date
CN105808782A CN105808782A (en) 2016-07-27
CN105808782B true CN105808782B (en) 2019-10-29

Family

ID=56460042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610200502.8A Active CN105808782B (en) 2016-03-31 2016-03-31 Method and device for adding image tags

Country Status (1)

Country Link
CN (1) CN105808782B (en)

Families Citing this family (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339479A (en) * 2016-08-30 2017-01-18 深圳市金立通信设备有限公司 Picture naming method and terminal
CN106371702A (en) * 2016-09-07 2017-02-01 北京金山软件有限公司 Image information editing method and device and mobile terminal
CN106484789A (en) * 2016-09-20 2017-03-08 深圳鼎智通讯股份有限公司 The storage management system and method for pictorial information
CN106596863A (en) * 2016-12-22 2017-04-26 邬东强 System and method for acquiring plant information based on camera of mobile phone
CN106919357A (en) * 2017-02-28 2017-07-04 宇龙计算机通信科技(深圳)有限公司 Image display method and terminal device
CN107315781A (en) * 2017-06-07 2017-11-03 上海斐讯数据通信技术有限公司 A kind of management system and implementation method of photograph album label
CN107391703B (en) * 2017-07-28 2019-11-15 北京理工大学 Image library establishment method and system, image library and image classification method
CN107679068B (en) * 2017-08-15 2021-03-05 深圳天珑无线科技有限公司 Information importing and displaying method of multimedia file, mobile terminal and storage device
CN107589889A (en) * 2017-09-21 2018-01-16 北京金山安全软件有限公司 Image processing triggering method and device, electronic equipment and storage medium
CN107644214A (en) * 2017-09-27 2018-01-30 广州市万表科技股份有限公司 Method and system for trying on items worn on hands
CN109658486B (en) * 2017-10-11 2022-12-23 腾讯科技(深圳)有限公司 Image processing method and device, and storage medium
CN109872266A (en) * 2017-12-04 2019-06-11 广东电网有限责任公司中山供电局 A kind of method that picture compares layout
CN108664195B (en) * 2018-05-15 2023-02-03 维沃移动通信有限公司 Note generation method and mobile terminal
CN108763350B (en) * 2018-05-15 2021-02-02 Oppo广东移动通信有限公司 Text data processing method and device, storage medium and terminal
CN108848270B (en) * 2018-06-29 2021-05-11 维沃移动通信(深圳)有限公司 Screenshot image processing method and mobile terminal
CN110858222A (en) * 2018-08-08 2020-03-03 珠海格力电器股份有限公司 Method for marking real object and data processing device
CN109522071B (en) * 2018-10-30 2022-03-04 维沃移动通信有限公司 Photo management method and terminal equipment
CN109710827B (en) * 2018-12-13 2021-07-13 百度在线网络技术(北京)有限公司 Picture attribute management method and device, picture server and business processing terminal
CN109977252A (en) * 2019-03-15 2019-07-05 吕丹青 A kind of photo method for sorting, system and storage medium
CN109977246B (en) * 2019-03-22 2023-07-07 深圳金袋鼠科技有限公司 Method and system for classifying photos based on user travel
CN112148873A (en) * 2019-06-27 2020-12-29 珠海金山办公软件有限公司 Document classification method and device
CN110515902A (en) * 2019-07-15 2019-11-29 义乌工商职业技术学院 Based on image content classifying intelligently management method
CN110427508A (en) * 2019-08-01 2019-11-08 湖南航天天麓新材料检测有限责任公司 A kind of generation method and system of position variable electronic label
CN110765482A (en) * 2019-09-19 2020-02-07 维沃移动通信有限公司 Information processing method and terminal equipment
CN111684441A (en) * 2019-11-15 2020-09-18 深圳海付移通科技有限公司 Message pushing method and device based on image data and computer storage medium
CN110929076A (en) * 2019-12-03 2020-03-27 深圳集智数字科技有限公司 Information processing method and device
CN112306976A (en) * 2020-01-09 2021-02-02 北京字节跳动网络技术有限公司 Information processing method and device and electronic equipment
CN113434717A (en) * 2020-03-20 2021-09-24 华为技术有限公司 Content recommendation method and device, electronic equipment and storage medium
CN112765386A (en) * 2020-06-14 2021-05-07 黄雨勤 Information management method and system based on big data and Internet and cloud server
CN112783986B (en) * 2020-09-23 2022-12-13 上海芯翌智能科技有限公司 Object grouping compiling method and device based on label, storage medium and terminal
CN112765647A (en) * 2020-12-29 2021-05-07 北斗天地股份有限公司 Data processing method and system
CN112836149A (en) * 2021-02-01 2021-05-25 郑耀明 Message marking and positioning solution
CN114967992A (en) * 2021-02-26 2022-08-30 北京字跳网络技术有限公司 Information interaction method, label viewing method and device
CN113505259A (en) * 2021-06-28 2021-10-15 惠州Tcl云创科技有限公司 Media file labeling method, device, equipment and medium based on intelligent identification
CN115168637B (en) * 2022-06-17 2023-03-17 杭州晶彩数字科技有限公司 Method, system and storage medium for adding label to picture

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239568A (en) * 2014-09-29 2014-12-24 上海斐讯数据通信技术有限公司 System and method for quickly searching photo based on description of photo
CN104933146A (en) * 2015-06-19 2015-09-23 深圳天珑无线科技有限公司 Photo management method, photo management device and mobile terminal
CN105389398A (en) * 2015-12-21 2016-03-09 广东欧珀移动通信有限公司 Method and device for photographing and searching

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2656245B1 (en) * 2010-12-21 2020-02-19 Qualcomm Incorporated Computerized method and device for annotating at least one feature of an image of a view
CN104298694A (en) * 2013-07-19 2015-01-21 深圳市康睿祥通讯有限公司 Picture message adding method and device and mobile terminal
US10121060B2 (en) * 2014-02-13 2018-11-06 Oath Inc. Automatic group formation and group detection through media recognition

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239568A (en) * 2014-09-29 2014-12-24 上海斐讯数据通信技术有限公司 System and method for quickly searching photo based on description of photo
CN104933146A (en) * 2015-06-19 2015-09-23 深圳天珑无线科技有限公司 Photo management method, photo management device and mobile terminal
CN105389398A (en) * 2015-12-21 2016-03-09 广东欧珀移动通信有限公司 Method and device for photographing and searching

Also Published As

Publication number Publication date
CN105808782A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN105808782B (en) Method and device for adding image tags
US11822600B2 (en) Content tagging
US9058375B2 (en) Systems and methods for adding descriptive metadata to digital content
US9317531B2 (en) Autocaptioning of images
US10679063B2 (en) Recognizing salient video events through learning-based multimodal analysis of visual features and audio-based analytics
JP5612310B2 (en) User interface for face recognition
CN106575361B (en) Method for providing visual sound image and electronic equipment for implementing the method
US20180025215A1 (en) Anonymous live image search
US20140164927A1 (en) Talk Tags
CN109189879B (en) Electronic book display method and device
US10755087B2 (en) Automated image capture based on emotion detection
CN105302315A (en) Image processing method and device
CN112422804B (en) Video special effect generation method and terminal
WO2010047336A1 (en) Image photographing system and image photographing method
CN103988202A (en) Image attractiveness based indexing and searching
CN115867905A (en) Augmented reality based speech translation in travel situations
CN115836292A (en) Augmented reality-based translation associated with travel
US20220075511A1 (en) Systems and methods for analyzing and organizing digital photos and videos
CN104298694A (en) Picture message adding method and device and mobile terminal
CN103403765B (en) Content processing unit (plant) and integrated circuit, method
US20210342303A1 (en) Electronic apparatus and control method thereof
WO2018192244A1 (en) Shooting guidance method for intelligent device
US20180189602A1 (en) Method of and system for determining and selecting media representing event diversity
CN111324755A (en) Label determining method and device, electronic equipment and storage medium
AU2013273790A1 (en) Heterogeneous feature filtering

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant