CN116975337A - Image searching method, device, electronic equipment and readable storage medium - Google Patents

Image searching method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN116975337A
CN116975337A CN202310946448.1A CN202310946448A CN116975337A CN 116975337 A CN116975337 A CN 116975337A CN 202310946448 A CN202310946448 A CN 202310946448A CN 116975337 A CN116975337 A CN 116975337A
Authority
CN
China
Prior art keywords
image
input
search
information
search 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.)
Pending
Application number
CN202310946448.1A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310946448.1A priority Critical patent/CN116975337A/en
Publication of CN116975337A publication Critical patent/CN116975337A/en
Pending legal-status Critical Current

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/53Querying
    • G06F16/532Query formulation, e.g. graphical querying
    • 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/53Querying
    • G06F16/538Presentation of query results
    • 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 application discloses an image searching method, an image searching device, electronic equipment and a readable storage medium, and belongs to the technical field of electronic equipment. The image searching method comprises the following steps: displaying an image search interface including an image search information input area; receiving a first input of a first input location of an image search information input area; displaying image search information at a first input location in response to a first input; searching for a target image according to the image search information, wherein a first image position of the target image corresponds to the first input position, and an image element of the first image position is matched with the image search information.

Description

Image searching method, device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to an image searching method and device, electronic equipment and a readable storage medium.
Background
With the development of intelligent terminal technology, the functions provided by the intelligent terminal are more and more abundant. For example, a local album or cloud album created by a user through an intelligent terminal is used for storing image data such as images and videos. The user can conveniently review the content stored in the album by accessing the local album or the cloud album. However, as more and more images are stored in the album, it is increasingly difficult for the user to find the desired target image in the album. At present, the intelligent terminal provides an album classification function, and by providing a way of establishing albums of different categories, the search range of a user can be reduced, but the image search efficiency still cannot be effectively improved.
Disclosure of Invention
An object of an embodiment of the application is to provide an image searching method, an image searching device, an electronic device and a readable storage medium, which can improve image searching efficiency.
In a first aspect, an embodiment of the present application provides an image searching method, including:
displaying an image search interface including an image search information input area;
receiving a first input of a first input location of an image search information input area;
in response to the first input, displaying image search information at a first input location, the image search information describing an image element corresponding to the first input location;
searching for a target image based on the image search information.
In a second aspect, an embodiment of the present application provides an image search apparatus including
A display module for displaying an image search interface including an image search information input area;
a receiving module for receiving a first input to a first input location of the image search information input area;
the display module is also used for responding to the first input and displaying image searching information at a first input position;
and the processing module is used for searching the target image according to the image searching information, the first image position of the target image corresponds to the first input position, and the image element of the first image position is matched with the image searching information.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, under the condition of displaying the image searching interface comprising the image searching information input area, receiving the first input of the first input position of the image searching information input area, responding to the first input, displaying the image searching information at the first input position, searching the target image according to the image searching information, wherein the first image position of the target image corresponds to the first input position, and the image element of the first image position is matched with the image searching information, so that a user can input the image searching information according to the composition impression of the image, quickly find the target image through the image searching information, and improve the image searching efficiency.
Drawings
Fig. 1 is a schematic flow chart of an image searching method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an image search interface according to an embodiment of the present application;
FIG. 3 is a schematic diagram of first image search information provided by an embodiment of the present application;
FIG. 4 is a diagram of second image search information provided by an embodiment of the present application;
fig. 5 (a) is a schematic diagram of third image search information provided in an embodiment of the present application;
FIG. 5 (b) is a schematic diagram of fourth image search information provided by an embodiment of the present application;
fig. 6 is a schematic diagram of fifth image search information provided by an embodiment of the present application;
fig. 7 (a) is a schematic diagram of sixth image search information provided in an embodiment of the present application;
fig. 7 (b) is a schematic diagram of seventh image search information provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an image searching apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic diagram of a hardware structure of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
With the development of electronic equipment technology, the functions provided by the electronic equipment are more and more abundant. For example, a local album or cloud album created by a user through an electronic device is used to store image data such as images, videos, and the like. The user can conveniently review the content stored in the album by accessing the local album or the cloud album. However, as more and more images are stored in the album, it is increasingly difficult for the user to find the desired target image in the album. At present, electronic equipment provides an album classification function, and by providing a way of establishing albums of different categories, the search range of a user can be reduced, but the efficiency of image search cannot be effectively improved.
In view of the foregoing, it is an object of an embodiment of the present application to provide an image searching method, apparatus, electronic device, and readable storage medium, capable of improving efficiency of searching images.
The image searching provided by the embodiment of the application is described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of an image searching method according to an embodiment of the present application. As shown in connection with fig. 1, the note taking method may include steps 110 through 140.
Step 110, displaying an image searching interface comprising an image searching information input area;
step 120, receiving a first input of a first input position of an image search information input area;
step 130, responding to the first input, and displaying image searching information at a first input position;
step 140, searching a target image according to the image searching information, wherein the first image position of the target image corresponds to the first input position, and the image element of the first image position is matched with the image searching information.
The above steps are described in detail below, and are specifically described below.
Specifically, in the embodiment of the present application, the image searching method may be applied to electronic devices such as mobile phones, tablet computers, notebook computers, etc. that may be used to view image data, where the electronic devices are not specifically limited. A user may create a local album or cloud album in an electronic device for storing image data such as images, videos, etc.
Referring to step 110 above, in some embodiments, the electronic device may display an image search interface of the image search information input area. Illustratively, after the electronic device opens the album, the user opens an image search interface that includes an input area for image search information.
In some embodiments, the image search information input area may be displayed in the entire area of the image search interface or may be displayed in a partial area of the image search interface. Fig. 2 is a schematic diagram of an image search interface according to an embodiment of the present application, and, in conjunction with the illustration shown in fig. 2, an image search information input area 210 is displayed in a partial area of the image search interface, another partial area 220 of the image search interface may display thumbnails of images included in an album, or the like, and alternatively, the thumbnails of images included in the album may be displayed in the area 220 in chronological order of photographing time.
Referring to the above-described steps 120 and 130, after the electronic device displays the image search information input area, the user may input the image search information in the image search information input area through the first input. The electronic device displays image search information at a first input location in response to a first input by a user, the image search information being operable to describe an image element corresponding to the first input location.
The electronic device displays the image search information at the first input position, so that a user can conveniently know whether the image search information meets the requirement of the user, and can understand that the user can adjust the specific content of the image search information and the specific position of the image search information again under the condition that the image search information does not meet the requirement of the user.
In some embodiments, the image search information includes at least one of: drawing content, text content, tag information, an emoticon, and a non-emoticon.
By way of example, the drawing content may be an image drawn by a user by graffiti, color filling, etc. using a drawing tool, the text content may include information such as letters, numbers, etc., an expressive image such as an emoticon, a facial image, etc., and a non-expressive image such as an environment, a pet image, etc., and the image search information is not listed here one by one.
Based on the embodiment of the application, a user can draw image search information through a painting brush, can supplement the image search information through texts, labels, expression images and non-expression images, can improve the convenience of adding the image search information with high complexity, and can also search the target image through electronic equipment with high precision and efficiency.
Continuing with the illustration of FIG. 2, the image search information input area 210 may include a canvas 211, and a plurality of functionality controls, such as a brush tool 212, text input controls 213, and emoticon adding controls 214, as illustrated in FIG. 2, wherein the brush tool 212 may also provide functionality controls such as erasers, color fills, color pickups, etc., it being understood that the functionality controls may also be image insertion controls, etc., and the specific functionality controls are not limited thereto.
In some embodiments, the user may select a desired functionality control according to the search needs, and input image search information in the image search information input area, for example, drawing an outline of an image element included in the target image, an action of the image element, an expression of the image element, where the image element may be a person, a pet, or the like. The image element may also be an environment, and the user may draw information such as ornaments, trees, lakes, etc. in the environment, where the drawing content of the user is not particularly limited.
Fig. 3 is a schematic diagram of image search information according to an embodiment of the present application, and in conjunction with the illustration shown in fig. 3, a user may use a drawing tool to draw an action gesture of a person in a canvas 211, so as to facilitate an electronic device to extract gesture features in the drawn content.
After the user inputs the image search information, the final display position of the image search information may be the first input position by adjusting the display position of the image search information in the canvas 211. Thus, the electronic device can also identify the relative display position of the image search information and the canvas 211, and the electronic device takes the relative display position of the image search information and the canvas 211 as one of the search conditions in the process of searching the image, so that the accuracy of searching the target image is improved.
In some embodiments, referring to step 140 above, after the user finishes inputting the image search information, the electronic device may identify the first input location, obtain the image elements included in the image location corresponding to the first input location in each image in the album, identify that the image search information includes the avatar characteristics, and use the image corresponding to the image element matching the avatar characteristics included in the image search information as the target image, where the number of the target images may be one or multiple.
Alternatively, the electronic device may search for the target image in all the images stored in the local album or the cloud album, or may search for the target image in the album specified by the user. Wherein the album designated by the user can be one or more.
For example, the electronic device may pre-configure a neural network model, which may determine key features of the image search information based on lines drawn by a user and colors used, and identify corresponding preset categories of the image search information based on the key features, where the preset categories are, for example, portrait, self-timer or still, landscape, and the like. Wherein, if the image searching information is an article or a landscape, the image searching information can further identify the main body of the article or the landscape of what type, such as a cup, a bicycle and the like, and the landscape is similar to mountain and water, ocean and the like. If the image search information is a person, the number of people in the image search information and some head characteristics, posture characteristics and the like of each person can be further identified, and the head characteristics such as hairstyles, hair amounts, expressions and the positioning information of bones of the posture characteristic figures in the picture can be further identified.
In some embodiments, the electronic device displays the target image after searching for the target image. At this time, the image drawing window can be automatically hidden, and the display area can be reduced, so that a user can conveniently view the target image.
It may be appreciated that, in a case where the electronic device does not search for the target image, the electronic device may output a prompt message, for example: no relevant image is found. At this time, the user may restart the electronic device image search information input area, and readjust the drawing content in the image search information input area. After the user can also replace the album, the electronic device searches for the target image in the replaced album.
According to the embodiment of the application, by providing the image search information input area in the image search interface, the user can input the image element for describing the first input position in the image search information input area. Therefore, the electronic equipment searches the target image according to the image search information input by the user, so that the efficiency and the matching precision of searching the image are improved, the required image is provided for the user, and the convenience and the efficiency of searching the required image by the user are improved. The user can also adjust the first input position corresponding to the image search information, and the electronic device can also acquire the first input position corresponding to the image search information in the process of searching the image, and take the relative display position of the image search information and the image search information input area as one of search conditions, so that the accuracy of searching the target image is further improved.
In some embodiments of the present application, displaying an image search interface including an image search information input area, specifically includes: displaying a display area including an image search information input area and an image to be searched; the image search method may further include: and updating the image to be searched in the image searching interface by using the target image.
For example, as shown in connection with fig. 2, the image search information input area 210 may be displayed in a partial area in the image search interface. Another partial area 220 of the image search interface serves as a display area of an image to be searched in which an image in an album or a thumbnail of the image may be displayed.
In the process of inputting the image searching information by the user, the electronic equipment can extract the image searching information input by the user in the image searching information input area in real time and search the image in the album according to the image searching information by the user, wherein the target image searched by the electronic equipment in real time is matched with the image searching information, and the target image searched by the electronic equipment in real time is used as the target image to be updated and displayed in the display area of the image to be searched.
For example, the user may edit the image search information at any time in the image search information input area, and the electronic device may search for a target image in the album according to the edited image search information and display the searched target image in the display area of the search image. It will be appreciated that as the user inputs more image search information in the image search information input area 210, the more accurate the target image is searched for by the electronic device.
In some embodiments, the image search information is first image search information.
Specifically, before the step of searching for the target image according to the image search information, the method further includes: receiving a second input to the first input location; in response to the second input, second image search information is additionally displayed at the first input position.
Next, searching for a target image based on the image search information, specifically includes: searching for a target image based on the first image search information and the second image search information displayed at the first input position.
The first image search information may be at least one of drawn content, text content, tag information, emoticons, and the like, for example. For example, the first image search information may include drawing content as shown in fig. 3.
After the user inputs the first image search information, the user may also perform a second input to the first input location, thereby inputting the second image search information. The electronic device additionally displays second image search information at the first input location in response to a second input by the user. The second image search information may be at least one of drawn content, text content, tag information, emoticons, and emoticons.
For example, the second image search information is an emoticon, and an exemplary emoticon editing control is shown as a function control 214 shown in fig. 2, and the user can select a desired emoticon as description information of the image element through the second input using the emoticon editing control. For example, fig. 4 is a schematic diagram of second image search information provided in an embodiment of the present application, and in combination with fig. 4, a user may add an emoticon in an image search information input area, where an emoticon 402 corresponding to the second image search information and a drawn content 401 corresponding to the first image search information are displayed at a first input position.
Based on the user adding the first image search information and the second image search information at the first input position, the electronic device may search the album for a target image that matches the first image search information and the second image search information.
According to the embodiment of the application, the user can conveniently increase the image searching information at the same position in the image searching information input area, thereby being beneficial to improving the accuracy of the target image searched by the electronic equipment.
In another embodiment of the present application, the image search information is first image search information.
Specifically, before the step of searching for the target image according to the image search information, the method further includes:
receiving a third input of a second input location of the image search information input area; displaying third image search information at a second input position in response to the third input;
next, searching for a target image based on the image search information, specifically includes: searching for a target image based on the first image search information displayed at the first input position and the third image search information displayed at the second input position.
After the user inputs the first image search information, the user may further perform a third input to the second input location, thereby inputting the third image search information. The third image search information may be at least one of drawn content, text content, tag information, emoticons, and emoticons.
For example, the third image search information may be text content, and the first text editing control is illustrated as a function control 213 shown in fig. 2, and the user may input description information of the image element using the first text editing control through the third input. Fig. 5 (a) is a schematic diagram of third image search information provided in an embodiment of the present application, and in combination with fig. 5 (a), a user may add text content "flower clusters" in the image search information input area.
The electronic device may search for a target image in the album that matches the first image search information and the second image search information based on the user adding the first image search information at the first input location and the second image search information at the second input location. In the process of searching the image, the electronic device can also acquire the first input position and the second input position, and take the relative display position of the image search information and the image search information input area as one of search conditions, so as to further improve the accuracy of searching the target image.
In some embodiments of the present application, the image search information may be an image. In response to the first input, displaying image search information at a first input location, the following steps may also be referenced:
step 1301, in response to a first input, displaying a first search interface corresponding to a first input position;
step 1302, receiving a fourth input to the first search interface;
step 1303, responding to the fourth input, and displaying a search image on the first search interface according to the search keyword corresponding to the fourth input;
a step 1304 of receiving a fifth input of a target search image in the search images;
in response to the fifth input, a target search image is displayed at the first input location, step 1305.
Specifically, after displaying the image search information, the first search interface may be displayed at the image search information. Taking the example that the image search information is text content, when the user is not skilled in drawing the content of a certain area, the search keyword can be used for searching for a target search image, a description object corresponding to the search keyword is included in the target search image, and the target search image is taken as the image search information.
For example, with a hydrant on the road, if the user does not draw, three words "hydrant" may be added at the first input location. Furthermore, if the user does not determine how to describe the color or texture of a certain area, it can also be described using text. For example, words such as "deep blue", "wavy", etc. may be added at the first input location. Furthermore, if the user wants to express the size or shape of a certain area, it may be described using different words or phrases such as "rectangle", "circle", "sharp", "gentle", and the like.
For example, as shown in fig. 5 (a), the "flower cluster" in fig. 5 (a) is used as a search keyword. The electronic device, in response to a "rosette" entered by the user in the canvas, may search for images within the album that include the "rosette". In the case where an image including "a flower cluster" is found, the image including "a flower cluster" is displayed on the first search interface 501 as shown in fig. 5 (a).
It may be appreciated that the number of images including "flowers" may be one or more, and if no image including "flowers" is found in the album, a prompt message, for example, "no" flowers "are found" may be displayed in the first search interface 501.
The user may view the image displayed in the first search interface 501, if the image displayed in the first search interface 501 includes an image including "a cluster" required by the user, the image including "a cluster" is a target search image, and after the target search image is added to the image search information input area, the target search image including "a cluster" is image search information.
Specifically, the user may select, through the fifth input, a target search image from among the images including "flower clusters" displayed in the selection first search interface 501, and add, as image search information, an image corresponding to an image area where "flower clusters" are located in the target search image to the image search information input area. For example, continuing to include "flower clusters" in the image 502 as shown in fig. 5 (a), taking the image 502 in fig. 5 (a) as an image required by the user as an example, the user may select the image 502 by clicking the image 502, then the electronic device may respond to the clicking input to display only the image 502 on the first search interface 501, then the user may identify and extract the image of the image area where "flower clusters" is located by long pressing the electronic device in response to the long pressing input of the user, so as to obtain the target search image, and then the user may drag the image of the image area where "flower clusters" is located to the first input position as shown in fig. 5 (b) by dragging the input. Optionally, the user may also edit operations such as adjusting a rotation angle and adjusting a display area of the "flower cluster", and it is understood that the edited "flower cluster" image is the final image search information.
According to the embodiment of the application, the user can acquire the target search image through the text description and apply the target search image to the supplementary image search information, so that the convenience of adding the image search information with high complexity by the user can be improved, the precision of searching the target image by the electronic equipment can be improved, and the search time is shortened.
In some embodiments, the search keywords are used to describe features of a target object, and the target search image includes an image of the image element.
Specifically, in the process of searching information by the user through the input image, in response to the first input of the user, a first search interface is displayed at an associated position of the first input position, a second text editing control may be further included in the first search interface, and the user may input a search keyword for describing the characteristics of the target object in the second text editing control. And the electronic equipment displays the searched search images on the first search interface according to the search keywords input by the user, and images related to the search keywords in the album.
As a specific example, fig. 6 is a schematic diagram of fifth image search information provided in an embodiment of the present application, in which an emoticon is added during the process of inputting the image search information by the user, and the electronic device displays a second text editing control 601 in response to the added emoticon. The user may enter a search keyword in the second text editing control 601.
The search keywords may include information of gender, name, age, etc. After the user inputs the search keyword, the electronic device may search for images related to the search keyword in the album based on the search keyword. It is understood that when a person corresponding to gender, name or age is included in an image of an album, the image is a related image, and the image is taken as a search image. The number of search images may be one or more, and if no search image related to the search keyword is found in the album, a prompt message may be displayed, for example, "no search keyword related image is found".
After the first search interface displays the search image, the user may view the search image displayed in the first search interface 501, and when the image displayed in the first search interface 501 includes the target search image required by the user, the user may select the target search image from the images displayed in the first search interface 501 through the fifth input, and add the image corresponding to the image area where the expression in the target search image is located as the image search information to the image search information input area.
Fig. 7 (a) is a schematic diagram of sixth image search information provided by the embodiment of the present application, and in combination with fig. 7 (a), an expression image is included in the image 701, taking the image 701 in fig. 7 (a) as an image required by the user as an example, the user realizes selecting the image 701 by clicking the image 701, then the electronic device responds to the clicking input, only the image 701 is displayed on the first search interface 501, then the user can identify and extract the image of the image area where the expression is located by pressing the image area for a long time, the electronic device responds to the long time pressing input of the user, so as to obtain a target search image, that is, an expression image 702 shown in fig. 7 (b), and then the user can drag the expression image 702 to the first input position shown in fig. 7 (b) through drag input. Optionally, the user may further adjust the rotation angle of the expression image, adjust the display area, and edit the expression image, and it is understood that the edited expression image is the final image search information.
According to the embodiment of the application, the user can supplement the image search information through the search keywords. Especially under the condition that the user needs to add complex emotion, the user's searching intention can be intuitively described by adding the expression image, and the convenience of adding the image searching information with high complexity for the user is improved.
In addition, the search keywords are input to the user, so that the accuracy of searching the search images in the album can be improved, and the search images required by the user can be more effectively found. Under the condition that the first search interface comprises a search image required by a user, the user can directly replace the original expression image by using the object image of the target object, so that the user can describe the search intention conveniently, the precision of searching the target image by the electronic equipment is improved, and the search efficiency is improved.
It can be understood that if the first search interface displays the search image without including the target search image required by the user, the user may select to close the first search interface and simultaneously keep the expression image as the image search information, so that the electronic device may still search the album for the target image according to the expression image.
According to the embodiment of the application, the user can supplement the image search information through the expression symbol, so that the convenience of adding the emotion with complex emotion by the user is improved, the search intention of the user is intuitively described, the precision of searching the target image by the electronic equipment is improved, and the search efficiency is improved.
In some embodiments of the present application, when an image in an album includes a preset tag, an electronic device may specifically identify image search information when searching for a target image matching with the image search information in the album, and determine a tag corresponding to the image search information; and determining a target image in the album according to the preset label corresponding to each image in the album, wherein the preset label corresponding to the target image is matched with the label corresponding to the image searching information.
Specifically, the preset label may include a character label, an animal label, a landscape label, a color label, and the like. For example, the character tag may include tags of actions, expressions, clothing colors, etc. of characters, the animal tag may include tags of categories, colors, etc., and the landscape tag may include tags of mountains, buildings, oceans, etc., and the specific tags are not particularly limited herein.
The electronic equipment can regularly scan the images in the local album, analyze the content of each image, determine the label corresponding to the image, and mark the images according to the preset label corresponding to the image. The user can actively set a label for the image according to own requirements, for example, the name of a person in the image is used as the label and the name is used for marking, and for example, the name of a pet in the image is used as the label and the name of the pet is used for marking. By adding a preset label to the image, the search speed and accuracy of the target image can be increased.
According to the embodiment of the application, under the condition that the image search interface comprising the image search information input area is displayed, the first input of the first input position of the image search information input area is received, the image search information is displayed at the first input position in response to the first input, the target image is searched according to the image search information, wherein the first image position of the target image corresponds to the first input position, and the image element of the first image position is matched with the image search information, so that a user can quickly search the image according to the impression of composition of the image, and the image search efficiency is improved.
According to the image searching method provided by the embodiment of the application, the execution subject can be an image searching device. In the embodiment of the present application, a method for performing image searching by using an image searching device is taken as an example, and the image searching device provided by the embodiment of the present application is described.
Fig. 8 is a schematic diagram of an image searching apparatus according to an embodiment of the present application, and in combination with fig. 8, the image searching apparatus may include a display module 810, a receiving module 820, and a processing module 830.
A display module 810 for displaying an image search interface including an image search information input area;
a receiving module 820 for receiving a first input to a first input location of the image search information input area;
the display module 810 is further configured to display image search information at a first input location in response to a first input;
the processing module 830 is configured to search for a target image according to the image search information, where a first image position of the target image corresponds to the first input position, and an image element of the first image position matches the image search information.
In some embodiments, the image search information includes at least one of: drawing content, text content, tag information, an emoticon, and a non-emoticon.
Based on the embodiment of the application, a user can draw image search information through a painting brush, can supplement the image search information through texts, labels, expression images and non-expression images, can improve the convenience of adding the image search information with high complexity, and can also search the target image through electronic equipment with high precision and efficiency.
In some embodiments, the image search information is first image search information;
a receiving module 820 for receiving a second input to the first input location;
a display module 810 for additionally displaying second image search information at the first input location in response to the second input;
the processing module 830 is further configured to search for a target image according to the first image search information and the second image search information displayed at the first input location.
According to the embodiment of the application, the user can conveniently increase the image searching information at the same position in the image searching information input area, thereby being beneficial to improving the accuracy of the target image searched by the electronic equipment.
In some embodiments, the image search information is first image search information;
the receiving module 820 is further configured to receive a third input to the second input location of the image search information input area;
The display module 810 is further configured to display third image search information at a second input location in response to a third input;
the processing module 830 is further configured to search for the target image according to the first image search information displayed at the first input location and the third image search information displayed at the second input location.
In this way, the electronic device can search for a target image in the album that matches the first image search information and the second image search information based on the user adding the first image search information at the first input position and the second image search information at the second input position. In the process of searching the image, the electronic device can also acquire the first input position and the second input position, and take the relative display position of the image search information and the image search information input area as one of search conditions, so as to further improve the accuracy of searching the target image.
In some embodiments, the image search information is an image;
the display module 810 is further configured to display a first search interface corresponding to the first input location in response to the first input;
the receiving module 820 is further configured to receive a fourth input to the first search interface;
the display module 810 is further configured to display a search image on the first search interface according to a search keyword corresponding to the fourth input in response to the fourth input;
A receiving module 820 for receiving a fifth input of a target search image of the search images;
the display module 810 is further configured to display the target search image at the first input location in response to the fifth input.
According to the embodiment of the application, the user can supplement the image search information through the text description, so that the convenience of adding the image search information with high complexity by the user can be improved, the accuracy of searching the target image by the electronic equipment is improved, and the search time is shortened.
In some embodiments, the search keywords are used to describe features of image elements, the target search image comprising an image of the image element.
According to the embodiment of the application, the user can supplement the image search information through the search keywords. Especially under the condition that the user needs to add complex emotion, the user's searching intention can be intuitively described by adding the emoticons, and the convenience of adding the image searching information with high complexity for the user is improved.
In some embodiments, the display module 810 is further configured to display a display area including an image search information input area and an image to be searched;
the processing module 830 is further configured to update the image to be searched in the image search interface with the target image.
According to the embodiment of the application, the richness of the image searching information can be effectively improved, and the accuracy of the target image searched by the electronic equipment can be improved.
The image searching device in the embodiment of the application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The image search device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The image searching device provided by the embodiment of the application can realize each process realized by the embodiment provided in the image searching method of the application, and in order to avoid repetition, the description is omitted here.
Optionally, as shown in fig. 9, the embodiment of the present application further provides an electronic device 900, which includes a processor 901 and a memory 902, where a program or an instruction that can be executed on the processor 901 is stored in the memory 902, and the program or the instruction when executed by the processor 901 implements each step of the embodiment of the image searching method, and the steps can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
A display unit 1006 for displaying an image search interface including an image search information input area;
a user input unit 1007 for receiving a first input of a first input position of the image search information input region;
a display unit 1006 for displaying image search information at a first input location in response to a first input;
the processor 1010 is configured to search for a target image according to the image search information, where a first image position of the target image corresponds to the first input position, and an image element of the first image position matches the image search information.
According to the embodiment of the application, under the condition that the image search interface comprising the image search information input area is displayed, the first input of the first input position of the image search information input area is received, the image search information is displayed at the first input position in response to the first input, the target image is searched according to the image search information, wherein the first image position of the target image corresponds to the first input position, and the image element of the first image position is matched with the image search information, so that a user can quickly search the image according to the impression of composition of the image, and the image search efficiency is improved.
In some embodiments, the image search information includes at least one of: drawing content, text content, tag information, an emoticon, and a non-emoticon.
Based on the embodiment of the application, a user can draw image search information through a painting brush, can supplement the image search information through texts, labels, expression images and non-expression images, can improve the convenience of adding the image search information with high complexity, and can also search the target image through electronic equipment with high precision and efficiency.
In some embodiments, the image search information is first image search information;
a user input unit 1007 also for receiving a second input to the first input location;
a display unit 1006 for additionally displaying second image search information at the first input position in response to the second input;
the processor 1010 is further configured to search for a target image according to the first image search information and the second image search information displayed at the first input position.
According to the embodiment of the application, the user can conveniently increase the image searching information at the same position in the image searching information input area, thereby being beneficial to improving the accuracy of the target image searched by the electronic equipment.
In some embodiments, the image search information is first image search information;
a user input unit 1007 also for receiving a third input of a second input position of the image search information input region;
a display unit 1006 for displaying third image search information at a second input location in response to a third input;
the processor 1010 is further configured to search for a target image according to the first image search information displayed at the first input location and the third image search information displayed at the second input location.
In this way, the electronic device can search for a target image in the album that matches the first image search information and the second image search information based on the user adding the first image search information at the first input position and the second image search information at the second input position. In the process of searching the image, the electronic device can also acquire the first input position and the second input position, and take the relative display position of the image search information and the image search information input area as one of search conditions, so as to further improve the accuracy of searching the target image.
In some embodiments, the image search information is an image;
the display unit 1006 is further configured to display a first search interface corresponding to the first input location in response to the first input;
A user input unit 1007 also for receiving a fourth input to the first search interface;
a display unit 1006, further configured to display a search image on the first search interface according to a search keyword corresponding to the fourth input in response to the fourth input;
a user input unit 1007 also for receiving a fifth input of a target search image from among the search images;
the display unit 1006 is further configured to display a target search image at the first input position in response to the fifth input.
According to the embodiment of the application, the user can supplement the image search information through the text description, so that the convenience of adding the image search information with high complexity by the user can be improved, the accuracy of searching the target image by the electronic equipment is improved, and the search time is shortened.
In some embodiments, the search keywords are used to describe features of the image elements, and the target search image is an image of the image elements.
According to the embodiment of the application, the user can supplement the image search information through the search keywords. Especially under the condition that the user needs to add complex emotion, the user's searching intention can be intuitively described by adding the emoticons, and the convenience of adding the image searching information with high complexity for the user is improved.
In some embodiments, the display unit 1006 is further configured to display a display area including an image search information input area and an image to be searched;
the processor 1010 is further configured to update the image to be searched in the image search interface with the target image.
According to the embodiment of the application, the richness of the image searching information can be effectively improved, and the accuracy of the target image searched by the electronic equipment can be improved.
It should be appreciated that in embodiments of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, the graphics processor 10041 processing image data of still images or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1009 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, implements each process of the above image searching method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as computer readable memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the image searching method embodiment can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-described image searching method embodiment, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (10)

1. An image search method, the method comprising:
displaying an image search interface including an image search information input area;
receiving a first input to a first input location of the image search information input area;
displaying image search information at the first input location in response to the first input;
and searching a target image according to the image searching information, wherein a first image position of the target image corresponds to the first input position, and an image element of the first image position is matched with the image searching information.
2. The method of claim 1, wherein the image search information comprises at least one of: drawing content, text content, tag information, an emoticon, and a non-emoticon.
3. The method of claim 1, wherein the image search information is first image search information;
before the step of searching for the target image according to the image search information, the method further includes: receiving a second input to the first input location;
additionally displaying second image search information at the first input location in response to the second input;
The searching for the target image according to the image searching information includes:
and searching the target image according to the first image searching information and the second image searching information displayed at the first input position.
4. The method of claim 1, wherein the image search information is first image search information;
before the step of searching for the target image according to the image search information, the method further includes:
receiving a third input of a second input location of the image search information input area;
displaying third image search information at the second input location in response to the third input;
the searching for the target image according to the image searching information includes:
and searching the target image according to the first image searching information displayed at the first input position and the third image searching information displayed at the second input position.
5. The method of claim 1, wherein the image search information is an image;
the displaying image search information at the first input location in response to the first input, comprising:
responding to the first input, and displaying a first search interface corresponding to the first input position;
Receiving a fourth input to the first search interface;
responding to the fourth input, and displaying a search image on the first search interface according to a search keyword corresponding to the fourth input;
receiving a fifth input of a target search image in the search images;
the target search image is displayed at the first input location in response to the fifth input.
6. The method of claim 5, wherein the search keyword is used to describe characteristics of an image element, and the target search image is an image including the image element.
7. The method of claim 1, wherein displaying an image search interface including an image search information input area comprises:
displaying a display area including an image search information input area and an image to be searched;
the method further comprises the steps of:
and updating the image to be searched in the image search interface by utilizing the target image.
8. An image search apparatus, the apparatus comprising:
a display module for displaying an image search interface including an image search information input area;
a receiving module for receiving a first input to a first input location of the image search information input area;
The display module is further used for responding to the first input and displaying image searching information at the first input position;
and the processing module is used for searching a target image according to the image searching information, a first image position of the target image corresponds to the first input position, and an image element of the first image position is matched with the image searching information.
9. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the image search method of any one of claims 1-7.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the image search method according to any of claims 1-7.
CN202310946448.1A 2023-07-28 2023-07-28 Image searching method, device, electronic equipment and readable storage medium Pending CN116975337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310946448.1A CN116975337A (en) 2023-07-28 2023-07-28 Image searching method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310946448.1A CN116975337A (en) 2023-07-28 2023-07-28 Image searching method, device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN116975337A true CN116975337A (en) 2023-10-31

Family

ID=88484565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310946448.1A Pending CN116975337A (en) 2023-07-28 2023-07-28 Image searching method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116975337A (en)

Similar Documents

Publication Publication Date Title
US20150277686A1 (en) Systems and Methods for the Real-Time Modification of Videos and Images Within a Social Network Format
CN111612873B (en) GIF picture generation method and device and electronic equipment
CN105009113A (en) Queryless search based on context
US11769500B2 (en) Augmented reality-based translation of speech in association with travel
US20230091214A1 (en) Augmented reality items based on scan
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN112306347B (en) Image editing method, image editing device and electronic equipment
CN112083863A (en) Image processing method and device, electronic equipment and readable storage medium
CN116017043A (en) Video generation method, device, electronic equipment and storage medium
CN113362426B (en) Image editing method and image editing device
CN116975337A (en) Image searching method, device, electronic equipment and readable storage medium
CN114416664A (en) Information display method, information display device, electronic apparatus, and readable storage medium
CN113779293A (en) Image downloading method, device, electronic equipment and medium
CN113438532A (en) Video processing method, video playing method, video processing device, video playing device, electronic equipment and storage medium
CN111639474A (en) Document style reconstruction method and device and electronic equipment
CN112492206B (en) Image processing method and device and electronic equipment
CN114500833B (en) Shooting method and device and electronic equipment
CN111833283B (en) Data processing method and device and electronic equipment
CN117786176A (en) Resource searching method, device, terminal equipment and storage medium
CN117519884A (en) Application remarking method and device, electronic equipment and storage medium
CN117666897A (en) Image display method, device, electronic equipment and readable storage medium
CN117010326A (en) Text processing method and device, and training method and device for text processing model
CN117331469A (en) Screen display method, device, electronic equipment and readable storage medium
CN117633273A (en) Image display method, device, equipment and readable storage medium
CN117331474A (en) Screenshot generation method and device, electronic equipment and storage medium

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