CN107679128B - Information display method and device, electronic equipment and storage medium - Google Patents

Information display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN107679128B
CN107679128B CN201710860970.2A CN201710860970A CN107679128B CN 107679128 B CN107679128 B CN 107679128B CN 201710860970 A CN201710860970 A CN 201710860970A CN 107679128 B CN107679128 B CN 107679128B
Authority
CN
China
Prior art keywords
information
target
image
label information
label
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
CN201710860970.2A
Other languages
Chinese (zh)
Other versions
CN107679128A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201710860970.2A priority Critical patent/CN107679128B/en
Publication of CN107679128A publication Critical patent/CN107679128A/en
Application granted granted Critical
Publication of CN107679128B publication Critical patent/CN107679128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Abstract

The embodiment of the invention provides an information display method, an information display device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a current geographic position and acquiring a first language category corresponding to the current geographic position; acquiring image characteristic information of a target image, and searching first label information matched with the image characteristic information and the first language category in an image label database; and displaying the first label information at a preset position of the target image. By adopting the invention, the editing intention of the user can be intelligently obtained, and the intelligence of image editing processing is improved.

Description

Information display method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information displaying method and apparatus, an electronic device, and a storage medium.
Background
Nowadays, with the wide application of digital camera shooting technology, people can shoot digital images more conveniently, and meanwhile, the requirements of people for image editing and beautifying are brought along. Existing image editing methods can be roughly divided into two categories: one is to provide a large amount of basic operations for editing the image for the user, and the user directly selects the operations to edit the image so as to achieve satisfactory effect; another category is to provide some inherent image editing templates, one of which is selected by the user and applied directly to edit the image. Both of the above-described conventional image editing methods require editing based on a user's explicit operation, and cannot intelligently obtain the user's editing intention.
Disclosure of Invention
The embodiment of the invention provides an information display method and device, electronic equipment and a storage medium, which can solve the problem of intelligently acquiring the editing intention of a user on an image.
A first aspect of an embodiment of the present invention provides an information display method, including:
acquiring a current geographic position and acquiring a first language category corresponding to the current geographic position;
acquiring image characteristic information of a target image, and searching first label information matched with the image characteristic information and the first language category in an image label database;
and displaying the first label information at a preset position of the target image.
By adopting the embodiment of the invention, the editing intention of the user can be intelligently obtained, and the intelligence of image editing processing is improved.
Optionally, the acquiring image feature information of the target image includes:
acquiring the selected target image, and sending the target image to a server so that the server can identify the image characteristic information of the target image;
and receiving the identified image characteristic information sent by the server.
By adopting the embodiment of the invention, the image characteristic information can be quickly and accurately identified by the server, and the efficiency of image editing processing is further improved.
Optionally, before the obtaining the current geographic location, the method further includes:
setting at least one language category, acquiring a label information set corresponding to each language category in the at least one language category, and acquiring feature tag information corresponding to each label information in the label information set;
and storing the at least one language, the label information set corresponding to each language category and the feature tag information corresponding to each label information into the image label database.
By adopting the embodiment of the invention, the label information is classified and set based on the language category, so that the suitable label information can be conveniently searched based on the geographic position in the later period.
Optionally, the searching for the first label information matching the image feature information and the first language category in the image label database includes:
acquiring a target label information set corresponding to a first language category from an image label database, and acquiring target feature tag information corresponding to each target label information in the target label information set;
matching the image characteristic information with the target characteristic mark information to obtain matched similarity;
and acquiring first label information in the target label information set according to the matching similarity.
By adopting the embodiment of the invention, the proper localized label information is searched in the label information set corresponding to the corresponding language category, and the searching process is simple, quick and high in accuracy.
Optionally, the obtaining first tag information in the target tag information set according to the matching similarity includes:
and obtaining the target label information with the highest matching similarity in the target label information set, and taking the target label information as first label information.
By adopting the embodiment of the invention, the feature mark information with the highest matching similarity is directly used as the display object, so that the matching accuracy is ensured and the matching intelligence is increased.
Optionally, the obtaining first tag information in the target tag information set according to the matching similarity includes:
sequentially displaying the target label information in the target label information set according to the sequence of the matching similarity;
and acquiring a selection operation input aiming at least one optional target tag information in the displayed target tag information, and determining first tag information in the at least one optional target tag information.
By adopting the embodiment of the invention, the matching result is displayed according to the sequence of the matching similarity, and can be selected by the user, so that the method is clear and intelligent, and the user experience is improved.
Optionally, the displaying the first tag information at the preset position of the target image includes:
acquiring second label information corresponding to the first label information based on a second language category;
and displaying the first label information and the second label information at a preset position of the target image.
By adopting the embodiment of the invention, the same label information is displayed by adopting multiple language categories, so that the personalized requirements of the user are met, the user can understand the content of the label information conveniently, and the user experience is improved.
A second aspect of the embodiments of the present invention provides an information display apparatus, including:
the language acquisition module is used for acquiring a current geographic position and acquiring a first language category corresponding to the current geographic position;
the label searching module is used for acquiring image characteristic information of a target image and searching first label information matched with the image characteristic information and the first language category in an image label database;
and the label display module is used for displaying the first label information at a preset position of the target image.
By adopting the embodiment of the invention, the editing intention of the user can be intelligently obtained, and the intelligence of image editing processing is improved.
Optionally, the tag search module obtains image feature information of the target image, and specifically is configured to:
acquiring the selected target image, and sending the target image to a server so that the server can identify the image characteristic information of the target image;
and receiving the identified image characteristic information sent by the server.
By adopting the embodiment of the invention, the image characteristic information can be quickly and accurately identified by the server, and the efficiency of image editing processing is further improved.
Optionally, the apparatus further comprises:
the information acquisition module is used for setting at least one language category, acquiring a label information set corresponding to each language category in the at least one language category and acquiring feature label information corresponding to each label information in the label information set;
and the information storage module is used for storing the at least one language, the label information set corresponding to each language category and the feature tag information corresponding to each label information into the image label database.
By adopting the embodiment of the invention, the label information is classified and set based on the language category, so that the suitable label information can be conveniently searched based on the geographic position in the later period.
Optionally, the tag search module is specifically configured to:
acquiring a target label information set corresponding to a first language category from an image label database, and acquiring target feature tag information corresponding to each target label information in the target label information set;
matching the image characteristic information with the target characteristic mark information to obtain matched similarity;
and acquiring first label information in the target label information set according to the matching similarity.
By adopting the embodiment of the invention, the proper localized label information is searched in the label information set corresponding to the corresponding language category, and the searching process is simple, quick and high in accuracy.
Optionally, the tag search module is specifically configured to:
and obtaining the target label information with the highest matching similarity in the target label information set, and taking the target label information as first label information.
By adopting the embodiment of the invention, the feature mark information with the highest matching similarity is directly used as the display object, so that the matching accuracy is ensured and the matching intelligence is increased.
Optionally, the tag search module is specifically configured to:
sequentially displaying the target label information in the target label information set according to the sequence of the matching similarity;
and acquiring a selection operation input aiming at least one optional target tag information in the displayed target tag information, and determining first tag information in the at least one optional target tag information.
By adopting the embodiment of the invention, the matching result is displayed according to the sequence of the matching similarity, and can be selected by the user, so that the method is clear and intelligent, and the user experience is improved.
Optionally, the label display module is specifically configured to:
acquiring second label information corresponding to the first label information based on a second language category;
and displaying the first label information and the second label information at a preset position of the target image.
By adopting the embodiment of the invention, the same label information is displayed by adopting multiple language categories, so that the personalized requirements of the user are met, the user can understand the content of the label information conveniently, and the user experience is improved.
A third aspect of embodiments of the present invention provides a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method of the first aspect.
A fourth aspect of an embodiment of the present invention provides an electronic device, including: a processor and a memory; wherein the memory stores a computer program which, when executed by the processor, implements the method of the first aspect.
A fifth aspect of embodiments of the present invention provides an application program, which includes program instructions, and when executed, is configured to perform the method of the first aspect.
In the implementation of the invention, the information display device obtains the current geographic position, obtains the first language category corresponding to the current geographic position, then obtains the image characteristic information of the target image, finds the proper first label information in the image label database based on the image characteristic information and the first language category, and displays the first label information at the preset position of the target image. Compared with the prior art, the method and the device have the advantages that the editing of the image needs to be realized based on the definite operation of the user, and the satisfactory label information can not be intelligently matched based on the current geographic position of the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an information displaying method according to an embodiment of the present invention;
FIG. 2 is a schematic interface diagram of a target image according to an embodiment of the present invention;
FIG. 3 is an interface schematic diagram of another target image provided by an embodiment of the invention;
FIG. 4 is a schematic interface diagram of an image tag database according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface for displaying tag information according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of another information displaying method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an interface for displaying tag information according to another embodiment of the present invention;
fig. 8 is a schematic flowchart of another information displaying method according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of an information display apparatus according to an embodiment of the present invention;
FIG. 10 is a schematic structural diagram of another information display device provided in an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
It is to be understood that the terminology used in the embodiments of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. In addition, the terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The information display method provided by the embodiment of the invention can be applied to the application scene of image editing, such as: the information display device obtains the current geographic position, obtains the first language category corresponding to the current geographic position, then obtains the image characteristic information of the target image, finds the proper first label information in the image label database based on the image characteristic information and the first language category, and displays the first label information at the preset position of the target image. Compared with the prior art, the method and the device have the advantages that the editing of the image needs to be realized based on the definite operation of the user, and the satisfactory label information can not be intelligently matched based on the current geographic position of the user.
The information display device related to the embodiment of the present invention may be any device having storage and communication functions, for example: tablet computers, mobile phones, electronic readers, Personal Computers (PCs), notebook computers, vehicle-mounted devices, network televisions, wearable devices, and the like.
The information display method provided by the embodiment of the invention will be described in detail with reference to fig. 1 to 8.
Referring to fig. 1, a schematic flow chart of an information display method according to an embodiment of the present invention is provided. As shown in fig. 1, the method of the embodiment of the present invention may include the following steps S101 to S103.
S101, acquiring a current geographic position and acquiring a first language category corresponding to the current geographic position.
Specifically, the current geographic location is obtained, and it is understood that the current location information (latitude and longitude coordinates) of the information presentation device may be obtained by a specific positioning technology. There are two common positioning technologies, one is positioning based on GPS, and the other is positioning based on base stations of a mobile operating network. The positioning mode based on the GPS is realized by sending a position signal of the positioning module to a positioning background by utilizing the GPS positioning module on the information display device. The positioning of the base station is determined by measuring and calculating the distance of the information display device by the base station. In addition, there are also ways of positioning within a small range using Wifi.
In specific implementation, after the current position information of the information display device is acquired through a specific positioning technology, the first language category corresponding to the current geographic position can be searched in a cache or a network server. The language category includes Chinese, English, Japanese, Korean and other languages.
For example, as shown in table 1, a mapping table of geographic locations and language classes in the cache is shown. After the current geographic position coordinate is obtained, the coordinate range to which the current address position coordinate belongs is determined through the lookup table 1, and if the current geographic position coordinate belongs to the range A, the first language category is determined to be Chinese.
TABLE 1
Geographic location Language category
A range Chinese character
B range English language
Range of C Japanese language
Range of D Korean language
S102, obtaining image characteristic information of a target image, and searching first label information matched with the image characteristic information and the first language type in an image label database.
Specifically, the image feature information of the target image is obtained, and it can be understood that the information display device may use a camera to currently perform image shooting, and use the shot image as the target image, or may use one of the images selected by the user in the read image buffer space, and use the selected image as the target image. The image characteristic information comprises information such as specific content in an image, a scene of the image, the mood of the image and the like, the target image can be sent to a server, the server analyzes the target image after receiving the target image so as to identify the image characteristic information of the target image and return the identified image characteristic information to an information display device, and the information display device receives the identified image characteristic information sent by the server. By adopting the embodiment of the invention, the image characteristic information can be quickly and accurately identified by the server, and the efficiency of image editing processing is further improved. The server analyzes the target image to identify image characteristic information in the target image, taking Amazon image identification system Amazon recognition as an example, after receiving the target image, Amazon recognition decomposes the image and compares the image with image information in a database, so as to identify various information (such as vehicles, pets or furniture), and at the same time, Amazon recognition can detect scenes (such as sunset or sand beach) in the image and provide confidence.
For example, the information display device sends the target image shown in FIG. 2 to the server, and the server analyzes the image and returns image feature information of { Labels [ { Name: Peaple, Confidence:99.27591}, { Name: Person, Confidence:99.27591}, { Name: Human, Confidence:99.27067}, { Name: Cap, Confidence:93.427284}, { Name: Hat, Confidence:93.427284}, { Name: Sun Hat, Confidence:93.427284}, { Name: Baby, Confidence:57.76139}, { Name: Child, Confidence:57.76139}, { Name: Kid, Confidence:57.76139}, Name: Face, Confidence:52.893036}, and Orientation: TATE _0 }. The Confidence is used for indicating the similarity of image feature information matching in the target image, a user can select partial image feature information from the displayed image feature information according to the displayed image feature information and the corresponding Confidence as the image feature information for matching of the target image, and the finally determined image feature information for matching can be { Cap, Sun Hat, Child, Face }, if the user selects the image feature information.
For another example, the information presentation apparatus sends the target image shown in fig. 3 to the server, and the server analyzes the image and returns image feature information of { Labels [ { Name: left Activities, Confidence:84.5983}, { Name: Beach, Confidence:84.19144}, { Name: Coast, Confidence:84.19144}, { Name: Outdoors, Confidence:84.19144}, { Name: Sea, Confidence:84.19144}, { Name: Water, Confidence:84.19144}, { Name: Sand, Confidence:56.582653}, { Name: Soil, Confidence:56.582653}, Naot: Maill, Confidence:53.152752}, Name: Swimar, Confidence:53.152752}, and OrientionTATionTATionROE 0 }.
Alternatively, the user may select a target language type (e.g., english) in advance, the information presentation apparatus sends the preselected target language type and the target image to the server, so that the server recognizes the image feature information of the target image and outputs the image feature information using the target language type, or after the server has set a target language type (e.g., english), the server recognizes the image feature information of the target image and outputs the image feature information using the preset target language type after receiving the target image sent by the information presentation apparatus. That is, the image feature information received by the information presentation device is displayed in a target language type, which may be selected by the user in advance and sent to the server by the information presentation device, or may be preset by the server.
In specific implementation, an information display device obtains a target label information set corresponding to a first language category from an image label database, obtains target feature tag information corresponding to each target label information in the target label information set, matches the image feature information with the target feature tag information to obtain matching similarity after matching, and obtains first label information from the target label information set according to the matching similarity. By adopting the embodiment of the invention, the proper localized label information is searched in the label information set corresponding to the corresponding language category, and the searching process is simple, quick and high in accuracy. The image tag database stores a plurality of tag information corresponding to each language type under different language categories, and the tag information can be multimedia information such as nameplate phrases, character strings, audio, video and the like. Each tag information may have a plurality of feature tag information, and the feature tag information includes content, application scene, expression mood, expression attitude, and the like of the tag information. For example, if the tag information is a name expression "do not identify the real face of the cottage mountain, only the edge is in the mountain", the feature tag information of the tag information may be "mountain, large, one-sided"; if the label information is the name phrase "Fool's taste is no speed", the feature label information of the label information may be "Fool, taste, speed".
The manner of storing information in the image tag database may be a list shown in table 2, or a subset shown in fig. 4. Taking the list shown in table 2 as an example, if the determined first language type is french and the image feature information of the target image is x1, x2, and x3, x1, x2, and x3 are respectively matched with C11, C12, C13, C21, and C22, so as to determine first tag information in the tag information set composed of C1 and C2.
TABLE 2
Figure BDA0001415072170000091
Figure BDA0001415072170000101
It should be noted that, when the first tag information is obtained from the target tag information set, a possible implementation manner is as follows: and obtaining the target label information with the highest matching similarity in the target label information set, and taking the target label information as first label information. By adopting the embodiment of the invention, the feature mark information with the highest matching similarity is directly used as the display object, so that the matching accuracy is ensured and the matching intelligence is increased.
For example, x1, x2 and x3 are respectively matched with c11, c12, c13, c21 and c22, if matching with c11, c12 and c13 is successful, matching similarity between x1, x2, x3, c11 and c12 is determined to be 67% if matching is successful in 2 out of 3, and similarly, matching similarity between c21 and c22 can also be obtained. And then in the matching result, determining the label information corresponding to the feature mark information with the highest matching similarity as the first label information for display.
Optionally, when the image feature information is matched with the feature mark information, an inverted index table of the image feature information and the tag information is established, and the size of the matching similarity is determined based on the total occurrence frequency of the image feature information in the inverted index table in each tag information. For example, as shown in table 3, the image feature information and the label information are in an inverted index table, and it is understood from the table that the matching similarity is in the order of C2> C1.
TABLE 3
Image characteristic information Tag information [ number of occurrences] Position of occurrence
x1 C1[2]C2[1] 2,5,1
x2 C1[2]C2[3] 1,4,1,5,8
x3 C1[1]C2[2] 2,2,5
Another possible implementation is: sequentially displaying the target label information in the target label information set according to the sequence of the matching similarity;
and acquiring a selection operation input aiming at least one optional target tag information in the displayed target tag information, and determining first tag information in the at least one optional target tag information.
By adopting the embodiment of the invention, the matching result is displayed according to the sequence of the matching similarity, and can be selected by the user, so that the method is clear and intelligent, and the user experience is improved. For example, if the matching similarity of C1 and C2 is s1 and s2, respectively, and s2> s1, C2 and C1 are presented in sequence from front to back, and if the user selects C2, C2 is displayed as the first label information.
Optionally, if all the tag information cannot be completely displayed on the current display interface displaying the tag information such as C1, C2, etc., the display may be scrolled in a circular manner.
Alternatively, only the tag information whose matching similarity is greater than or equal to the similarity threshold may be displayed. If the similarity threshold is s0, s2> s0> s1, only C2 is displayed at this time.
S103, displaying the first label information at a preset position of the target image.
Specifically, the preset position of the target image may be any position of the target image, such as on the target image, or below the page where the target image is located, and is not limited herein. As shown in fig. 5, where P1 is the target image, C2 may be displayed below the target image.
Optionally, a one-key forwarding touch key is arranged on the same interface for displaying the target image and the target feature mark information, and when a touch operation input by the user for the one-key forwarding touch key is detected, the page is forwarded.
Optionally, as shown in fig. 6, after S102, the following steps may also be performed:
s104, acquiring second label information corresponding to the first label information based on a second language category;
s105, displaying the first label information and the second label information at a preset position of the target image.
Specifically, the second language category is a preset language list, such as a device language based on a user, a main language of a region where the user is located, a priority order of language categories set in the information presentation device by the user, and the second language list may be the same as or different from the first language category. The second label information corresponding to the first label information is obtained based on the second language category, and it can be understood that the first label information is translated into the second label information corresponding to the second language category, or the second label information corresponding to the first label information is searched in a label information set corresponding to the second language category in the image label information base, and then the first label information and the second label information are displayed at the same time. By adopting the embodiment of the invention, the same label information is displayed by adopting multiple language categories, so that the personalized requirements of the user are met, the user can understand the content of the label information conveniently, and the user experience is improved.
For example, if the first language type is english, the second language type is chinese, the first tag information is "food 'fast is no speed", the first tag information is translated into the second tag information "speed is not reached" in chinese, or "speed is not reached" is searched in the tag information corresponding to chinese in the image tag database, and then "food's fast is no speed" and "speed is not reached" are displayed at the preset position of the target image at the same time, as shown in fig. 7.
Optionally, as shown in fig. 8, before executing S101, the following steps may also be executed:
s106, setting at least one language category, acquiring a label information set corresponding to each language category in the at least one language category, and acquiring feature label information corresponding to each label information in the label information set.
Specifically, in some feasible embodiments, the information display device sets various languages of different types, and may send a tag information search request based on a language type to a network server, so that the network server searches for a preset number of mainstream tag information and analyzes the searched mainstream tag information to obtain feature tag information of each tag information, and receives tag information returned by the network server and feature tag information corresponding to the tag information; the user can also set characteristic mark information for each label information for receiving the label information returned by the network server; it is also possible for the user to input label information in the information presentation device and for each label information to be provided with characteristic label information by the user.
Each language category may correspond to a plurality of label information, and the feature tag information corresponding to each label information may be a plurality of, specifically, but not limited to, feature tag information.
And S107, storing the at least one language, the label information set corresponding to each language type and the feature tag information corresponding to each label information into the image label database.
The storage manner is a correspondence between the tag information and the feature tag information, and may be a mapping table as shown in table 2, or a subset as shown in fig. 4, which is not limited specifically. By adopting the embodiment of the invention, the label information is classified and set based on the language category, so that the suitable label information can be conveniently searched based on the geographic position in the later period.
In the implementation of the invention, the information display device obtains the current geographic position, obtains the first language category corresponding to the current geographic position, then obtains the image characteristic information of the target image, finds the proper first label information in the image label database based on the image characteristic information and the first language category, and displays the first label information at the preset position of the target image. By adopting the method and the device, on one hand, the localized label information matched with the image can be intelligently matched after the current geographic position and the language type of the current geographic position are obtained, so that the editing intention of the user can be intelligently obtained, and the intelligence of image editing processing is improved; on the other hand, the first label information and the second label information can be displayed simultaneously based on the preselected language, so that the user can understand the meaning of the first label, and the user experience is improved.
Fig. 9 is a schematic structural diagram of an information display device according to an embodiment of the present invention. As shown in fig. 9, the input method testing apparatus 1 according to the embodiment of the present invention may include: a language acquisition module 11, a tag search module 12 and a tag display module 13.
The language obtaining module 11 is configured to obtain a current geographic location and obtain a first language category corresponding to the current geographic location.
And the tag searching module 12 is configured to obtain image feature information of the target image, and search, in an image tag database, first tag information that matches the image feature information and the first language category.
Optionally, the tag searching module 12 obtains image feature information of the target image, and specifically is configured to:
acquiring the selected target image, and sending the target image to a server so that the server can identify the image characteristic information of the target image;
and receiving the identified image characteristic information sent by the server.
Optionally, the tag searching module 12 is specifically configured to:
acquiring a target label information set corresponding to a first language category from an image label database, and acquiring target feature tag information corresponding to each target label information in the target label information set;
matching the image characteristic information with the target characteristic mark information to obtain matched similarity;
and acquiring first label information in the target label information set according to the matching similarity.
Optionally, the tag searching module 12 is specifically configured to:
sequentially displaying the target label information in the target label information set according to the sequence of the matching similarity;
and acquiring a selection operation input aiming at least one optional target tag information in the displayed target tag information, and determining first tag information in the at least one optional target tag information.
And the label display module 13 is configured to display the first label information at a preset position of the target image.
Optionally, the label display module 13 is specifically configured to:
acquiring second label information corresponding to the first label information based on a second language category;
and displaying the first label information and the second label information at a preset position of the target image.
Optionally, as shown in fig. 10, the apparatus 1 further includes:
the information acquisition module 14 is configured to set at least one language category, acquire a tag information set corresponding to each language category in the at least one language category, and acquire feature tag information corresponding to each tag information in the tag information set;
and an information storage module 15, configured to store the at least one language, the tag information set corresponding to each language category, and the feature tag information corresponding to each tag information into the image tag database.
In the implementation of the invention, the information display device obtains the current geographic position, obtains the first language category corresponding to the current geographic position, then obtains the image characteristic information of the target image, finds the proper first label information in the image label database based on the image characteristic information and the first language category, and displays the first label information at the preset position of the target image. By adopting the method and the device, on one hand, the localized label information matched with the image can be intelligently matched after the current geographic position and the language type of the current geographic position are obtained, so that the editing intention of the user can be intelligently obtained, and the intelligence of image editing processing is improved; on the other hand, the first label information and the second label information can be displayed simultaneously based on the preselected language, so that the user can understand the meaning of the first label, and the user experience is improved.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 11, the electronic device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 11, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an information presentation application program.
In the electronic apparatus 1000 shown in fig. 11, the user interface 1003 is mainly used as an interface for providing input for the user; the processor 1001 may be configured to call the information presentation application stored in the memory 1005, and specifically perform the following operations:
acquiring a current geographic position and acquiring a first language category corresponding to the current geographic position;
acquiring image characteristic information of a target image, and searching first label information matched with the image characteristic information and the first language category in an image label database;
and displaying the first label information at a preset position of the target image.
In one embodiment, when the processor 1001 performs the acquiring of the image feature information of the target image, the following steps are specifically performed:
acquiring the selected target image, and sending the target image to a server so that the server can identify the image characteristic information of the target image;
and receiving the identified image characteristic information sent by the server.
In one embodiment, the processor 1001 further performs the following steps before performing the step of acquiring the current geographic location:
setting at least one language category, acquiring a label information set corresponding to each language category in the at least one language category, and acquiring feature tag information corresponding to each label information in the label information set;
and storing the at least one language, the label information set corresponding to each language category and the feature tag information corresponding to each label information into the image label database.
In one embodiment, when the processor 1001 searches the image tag database for the first tag information matching the image feature information and the first language category, it specifically performs the following steps:
acquiring a target label information set corresponding to a first language category from an image label database, and acquiring target feature tag information corresponding to each target label information in the target label information set;
matching the image characteristic information with the target characteristic mark information to obtain matched similarity;
and acquiring first label information in the target label information set according to the matching similarity.
In an embodiment, when the processor 1001 acquires the first tag information from the target tag information set according to the matching similarity, the following steps are specifically performed:
and obtaining the target label information with the highest matching similarity in the target label information set, and taking the target label information as first label information.
In an embodiment, when the processor 1001 acquires the first tag information from the target tag information set according to the matching similarity, the following steps are specifically performed:
sequentially displaying the target label information in the target label information set according to the sequence of the matching similarity;
and acquiring a selection operation input aiming at least one optional target tag information in the displayed target tag information, and determining first tag information in the at least one optional target tag information.
In one embodiment, when the processor 1001 displays the first tag information at a preset position of the target image, the following steps are specifically performed:
acquiring second label information corresponding to the first label information based on a second language category;
and displaying the first label information and the second label information at a preset position of the target image.
In the implementation of the invention, the information display device obtains the current geographic position, obtains the first language category corresponding to the current geographic position, then obtains the image characteristic information of the target image, finds the proper first label information in the image label database based on the image characteristic information and the first language category, and displays the first label information at the preset position of the target image. By adopting the method and the device, on one hand, the localized label information matched with the image can be intelligently matched after the current geographic position and the language type of the current geographic position are obtained, so that the editing intention of the user can be intelligently obtained, and the intelligence of image editing processing is improved; on the other hand, the first label information and the second label information can be displayed simultaneously based on the preselected language, so that the user can understand the meaning of the first label, and the user experience is improved.
Embodiments of the present invention also provide a computer storage medium (non-transitory computer-readable storage medium), which stores a computer program, where the computer program includes program signaling, and the program signaling, when executed by a computer, causes the computer to execute the method according to the foregoing embodiments, and the computer may be a part of the above-mentioned information presentation apparatus or electronic device.
The non-transitory computer readable storage medium described above may take any combination of one or more computer readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM) or flash Memory, an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The embodiment of the present application further provides a computer program product, and when instructions in the computer program product are executed by a processor, the information presentation method provided in the embodiments shown in fig. 1 to 8 of the present application can be implemented.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. An information display method, comprising:
acquiring a current geographic position and acquiring a first language category corresponding to the current geographic position;
acquiring image characteristic information of a target image, acquiring a target label information set corresponding to a first language category in an image label database, and acquiring target characteristic mark information corresponding to each target label information in the target label information set, wherein the image characteristic information comprises one or more of specific content in the target image, scene of the target image or mood of the target image, the target label information comprises one or more of namephrase, audio or video, and the target characteristic mark information comprises one or more of content, application scene, mood of expression or attitude of expression of the target label information;
matching the image characteristic information with the target characteristic mark information to obtain matched similarity;
acquiring first label information in the target label information set according to the matching similarity;
and displaying the first label information at a preset position of the target image.
2. The method according to claim 1, wherein the acquiring image characteristic information of the target image comprises:
acquiring the selected target image, and sending the target image to a server so that the server can identify the image characteristic information of the target image;
and receiving the identified image characteristic information sent by the server.
3. The method of claim 1, wherein prior to obtaining the current geographic location, further comprising:
setting at least one language category, acquiring a label information set corresponding to each language category in the at least one language category, and acquiring feature tag information corresponding to each label information in the label information set;
and storing the at least one language, the label information set corresponding to each language category and the feature tag information corresponding to each label information into the image label database.
4. The method according to claim 1, wherein the obtaining first tag information in the target tag information set according to the matching similarity comprises:
and obtaining the target label information with the highest matching similarity in the target label information set, and taking the target label information as first label information.
5. The method according to claim 1, wherein the obtaining first tag information in the target tag information set according to the matching similarity comprises:
sequentially displaying the target label information in the target label information set according to the sequence of the matching similarity;
and acquiring a selection operation input aiming at least one optional target tag information in the displayed target tag information, and determining first tag information in the at least one optional target tag information.
6. The method according to claim 1, wherein the presenting the first tag information at a preset position of the target image comprises:
acquiring second label information corresponding to the first label information based on a second language category;
and displaying the first label information and the second label information at a preset position of the target image.
7. An information presentation device, comprising:
the language acquisition module is used for acquiring a current geographic position and acquiring a first language category corresponding to the current geographic position;
the label searching module is used for acquiring image characteristic information of the target image; acquiring a target label information set corresponding to a first language category from an image label database, and acquiring target feature tag information corresponding to each target label information in the target label information set; matching the image characteristic information with the target characteristic mark information to obtain matched similarity; acquiring first tag information from the target tag information set according to the matching similarity, wherein the image feature information comprises one or more of specific content in the target image, a scene of the target image or an artistic conception of the target image, the target tag information comprises one or more of a namese phrase, audio or video, and the target feature mark information comprises one or more of content, an application scene, an expressive conception, an expressive mood or an expressive attitude of the target tag information;
and the label display module is used for displaying the first label information at a preset position of the target image.
8. The apparatus according to claim 7, wherein the tag search module obtains image feature information of the target image, and is specifically configured to:
acquiring the selected target image, and sending the target image to a server so that the server can identify the image characteristic information of the target image;
and receiving the identified image characteristic information sent by the server.
9. The apparatus of claim 7, further comprising:
the information acquisition module is used for setting at least one language category, acquiring a label information set corresponding to each language category in the at least one language category and acquiring feature label information corresponding to each label information in the label information set;
and the information storage module is used for storing the at least one language, the label information set corresponding to each language category and the feature tag information corresponding to each label information into the image label database.
10. The apparatus of claim 7, wherein the tag lookup module is specifically configured to:
and obtaining the target label information with the highest matching similarity in the target label information set, and taking the target label information as first label information.
11. The apparatus of claim 7, wherein the tag lookup module is specifically configured to:
sequentially displaying the target label information in the target label information set according to the sequence of the matching similarity;
and acquiring a selection operation input aiming at least one optional target tag information in the displayed target tag information, and determining first tag information in the at least one optional target tag information.
12. The apparatus of claim 7, wherein the label display module is specifically configured to:
acquiring second label information corresponding to the first label information based on a second language category;
and displaying the first label information and the second label information at a preset position of the target image.
13. A computer storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to perform the method according to any of claims 1 to 6.
14. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program which, when executed by the processor, implements the method of any of claims 1 to 6.
CN201710860970.2A 2017-09-21 2017-09-21 Information display method and device, electronic equipment and storage medium Active CN107679128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710860970.2A CN107679128B (en) 2017-09-21 2017-09-21 Information display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710860970.2A CN107679128B (en) 2017-09-21 2017-09-21 Information display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107679128A CN107679128A (en) 2018-02-09
CN107679128B true CN107679128B (en) 2020-05-05

Family

ID=61137740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710860970.2A Active CN107679128B (en) 2017-09-21 2017-09-21 Information display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107679128B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10956487B2 (en) * 2018-12-26 2021-03-23 Industrial Technology Research Institute Method for establishing and processing cross-language information and cross-language information system
CN111738042A (en) * 2019-10-25 2020-10-02 北京沃东天骏信息技术有限公司 Identification method, device and storage medium
CN111090745A (en) * 2019-11-14 2020-05-01 拉扎斯网络科技(上海)有限公司 Information announcement method, device, server and readable storage medium
CN113298619A (en) * 2021-05-24 2021-08-24 成都威爱新经济技术研究院有限公司 3D commodity live broadcast display method and system based on free viewpoint technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488630A (en) * 2013-09-29 2014-01-01 小米科技有限责任公司 Method, device and terminal for processing picture
WO2014004536A2 (en) * 2012-06-25 2014-01-03 Apple Inc. Voice-based image tagging and searching
CN105094760A (en) * 2014-04-28 2015-11-25 小米科技有限责任公司 Picture marking method and device
CN105095498A (en) * 2015-08-24 2015-11-25 北京旷视科技有限公司 Information processing method and device
CN107015998A (en) * 2016-01-28 2017-08-04 阿里巴巴集团控股有限公司 A kind of image processing method, device and intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014004536A2 (en) * 2012-06-25 2014-01-03 Apple Inc. Voice-based image tagging and searching
CN103488630A (en) * 2013-09-29 2014-01-01 小米科技有限责任公司 Method, device and terminal for processing picture
CN105094760A (en) * 2014-04-28 2015-11-25 小米科技有限责任公司 Picture marking method and device
CN105095498A (en) * 2015-08-24 2015-11-25 北京旷视科技有限公司 Information processing method and device
CN107015998A (en) * 2016-01-28 2017-08-04 阿里巴巴集团控股有限公司 A kind of image processing method, device and intelligent terminal

Also Published As

Publication number Publication date
CN107679128A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN107633066B (en) Information display method and device, electronic equipment and storage medium
CN107679128B (en) Information display method and device, electronic equipment and storage medium
TWI546519B (en) Method and device for displaying points of interest
CN105517679B (en) Determination of the geographic location of a user
CN109189879B (en) Electronic book display method and device
US20180276896A1 (en) System and method for augmented reality annotations
CN109582880B (en) Interest point information processing method, device, terminal and storage medium
CN109618222A (en) A kind of splicing video generation method, device, terminal device and storage medium
CN104111954B (en) A kind of methods, devices and systems obtaining location information
US20100135527A1 (en) Image recognition algorithm, method of identifying a target image using same, and method of selecting data for transmission to a portable electronic device
CN104199906B (en) A kind of recommendation method and device of shooting area
US9251395B1 (en) Providing resources to users in a social network system
US20170351371A1 (en) Touch interaction based search method and apparatus
CN104036476A (en) Method for providing augmented reality, and portable terminal
US20150187139A1 (en) Apparatus and method of providing augmented reality
US20140330814A1 (en) Method, client of retrieving information and computer storage medium
TW201339863A (en) Device and method for recognizing and searching image
CN110909209B (en) Live video searching method and device, equipment, server and storage medium
CN104602128A (en) Video processing method and device
US20190197133A1 (en) Shape-based graphics search
JP2013167973A (en) Retrieval device, retrieval method, retrieval program, and recording medium for storing the program
CN104520848A (en) Searching for events by attendants
CN111629247A (en) Information display method and device and electronic equipment
WO2014176938A1 (en) Method and apparatus of retrieving information
CN106980612A (en) Information recommendation system and method

Legal Events

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