WO2022228373A1 - Image management method and apparatus, electronic device, and readable storage medium - Google Patents

Image management method and apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
WO2022228373A1
WO2022228373A1 PCT/CN2022/088948 CN2022088948W WO2022228373A1 WO 2022228373 A1 WO2022228373 A1 WO 2022228373A1 CN 2022088948 W CN2022088948 W CN 2022088948W WO 2022228373 A1 WO2022228373 A1 WO 2022228373A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
target
key
input
key object
Prior art date
Application number
PCT/CN2022/088948
Other languages
French (fr)
Chinese (zh)
Inventor
刘合良
谢昭晖
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022228373A1 publication Critical patent/WO2022228373A1/en

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/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • 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/55Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a picture management method, apparatus, electronic device and readable storage medium.
  • electronic devices can use artificial intelligence (Artificial Intelligence, AI) image recognition to identify people, animals, plants, landscapes and other picture content in pictures to classify pictures, and store them in the classified picture library accordingly.
  • AI Artificial Intelligence
  • the user wants to further perform picture management on the pictures in the classified picture library, he needs to select pictures one by one in the classified picture library for picture management.
  • the user can quickly locate the classified image library to which the target image belongs.
  • the picture content contained in each picture in the classified picture library is still relatively broad. In order to meet the user's differentiated and refined screening needs, it takes a lot of time for users to manage pictures. Select the target pictures one by one.
  • the purpose of the embodiments of the present application is to provide a picture management method, apparatus, electronic device, and readable storage medium, which can solve the problem that managing pictures takes a long time.
  • an embodiment of the present application provides a picture management method.
  • the method includes:
  • the target picture is: a picture that does not contain the target key object.
  • an embodiment of the present application provides a picture management apparatus.
  • the device includes: a first receiving module, an identification module, a second receiving module and a first display module;
  • a first receiving module configured to receive the first input of the user
  • an identification module configured to identify at least one key object in the first picture in response to the first input received by the first receiving module
  • a second receiving module configured to receive a second input from the user to the target key object in the at least one key object identified by the identification module
  • a first display module for displaying a target picture or a thumbnail of the target picture in response to the second input received by the second receiving module
  • the target picture is: a picture that does not contain the target key object.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, the program or instruction being executed by the processor When executed, the steps of the method as provided in the first aspect are implemented.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method provided in the first aspect are implemented.
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the method provided in the first aspect.
  • key objects that may meet the user's refined screening requirements may be determined by identifying key objects in the first picture. Then, after receiving the second input from the user on the target key object in the at least one key object, based on the target key object selected by the user, the target picture that does not contain the target key object, or the thumbnail of the target picture can be directly displayed, Without the need for the user to select target images one by one, all images that meet the user's screening requirements can be obtained, so as to reduce the time spent on managing target images.
  • FIG. 1 is one of the schematic diagrams of a picture management method provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a first picture provided by an embodiment of the present application.
  • FIG. 3 is the second schematic diagram of a picture management method provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an object prompt box provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a method for displaying key pictures according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a key picture provided by an embodiment of the present application.
  • FIG. 7 is the third schematic diagram of a picture management method provided by an embodiment of the present application.
  • FIG. 8 is a fourth schematic diagram of a picture management method provided by an embodiment of the present application.
  • FIG. 9 is a fifth schematic diagram of a picture management method provided by an embodiment of the present application.
  • FIG. 10 is one of the schematic structural diagrams of the picture management apparatus provided by the embodiment of the present application.
  • FIG. 11 is a second schematic structural diagram of a picture management apparatus provided by an embodiment of the present application.
  • FIG. 12 is one of the schematic hardware diagrams of the electronic device provided by the embodiment of the application.
  • FIG. 13 is the second schematic diagram of the hardware of the electronic device provided by the embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • the electronic device uses AI image recognition to save the picture containing the person in the person picture library.
  • the picture that user A wants to delete is all pictures excluding "A”
  • the user can open the "Gallery” ” software, and further open the character picture library, view the picture thumbnails displayed on the thumbnail display interface corresponding to the character picture library in turn, and then manually filter out the pictures that do not contain “A” from the character picture library, and finally , delete these images.
  • the whole process is not only time-consuming, but also prone to omissions, and it is impossible to manage pictures in a refined manner.
  • One input in response to the first input, identify all the key objects in the picture (including the face pictures of all the characters in the picture), and then receive the user's response to the target key object (that is, the face picture of "A") the second input, in response to the second input, based on the face picture of "Jia", obtain the target picture that does not contain the face picture of "Jia" in the character picture library, and then delete these target pictures, the whole picture
  • the search process does not require users to filter one by one, and can obtain pictures that meet the user's screening needs, which reduces the time spent on managing target pictures and realizes refined management of pictures.
  • an embodiment of the present application provides a picture management method.
  • the method may include steps 101 to 104 described below.
  • the method is exemplarily described below by taking the execution subject as a picture management apparatus as an example.
  • Step 101 Receive a first input from the user.
  • the first input is an input for identifying key objects in the first picture.
  • the above-mentioned first input may include: a user's touch input on the first picture (such as a single click, a double click, a screen gesture), a voice input, or other feasible input, which is implemented in this application. The example does not limit this.
  • the above-mentioned first input may include: dragging input of the first picture after the user opens the gallery software; or, the above-mentioned first input may include: after the user opens the gallery software and activates the search function, the first picture Click to input; or, the above-mentioned first input may include: the user opens the picture shooting software, and performs a long-press input on the first picture currently captured by the camera.
  • Step 102 In response to the first input, identify at least one key object in the first picture.
  • the picture management apparatus in response to the first input, identifies at least one key object in the first picture according to the preset artificial intelligence A1 picture recognition algorithm.
  • the above-mentioned key objects may include, but are not limited to, face pictures, animal pictures, plant pictures, and object pictures.
  • FIG. 2 is the first picture indicated by the first input, wherein the key objects include a plum blossom, a house and a little girl.
  • Step 103 Receive a second input from the user on the target key object in the at least one key object.
  • the above-mentioned second input may include: a user's touch input on the target key object (for example, a single click, a double click, a screen gesture), a voice input, or other feasible input.
  • a user's touch input on the target key object for example, a single click, a double click, a screen gesture
  • voice input or other feasible input.
  • the application embodiments do not limit this.
  • Step 104 In response to the second input, display the target picture or a thumbnail of the target picture.
  • the above-mentioned target picture is a picture that does not include the target key object.
  • the picture management device may obtain the target picture from the picture library based on the target key object, wherein the picture library includes at least one sub-picture library, and each sub-picture corresponds to a image categories. Further, the user may select one or more sub-picture libraries from the at least one sub-picture library as a source for picture screening, and filter out target pictures that do not contain the target key object. In this way, the number of pictures to be filtered is reduced by selecting the target picture library, so as to improve the speed of acquiring the target picture.
  • the target picture or the thumbnail of the target picture is displayed, so that the user can directly browse the target picture, so that the user can view, delete or share the target picture.
  • the apparatus may further include step 301 and step 302 .
  • Step 301 Merge the target key object into the target image, and obtain the merged merged image.
  • Step 302 Display the fused picture or the thumbnail of the fused picture.
  • key objects that may meet the user's refined screening requirements may be determined by identifying key objects in the first picture. Then, after receiving the second input from the user on the target key object in the at least one key object, based on the target key object selected by the user, the target picture that does not contain the target key object, or the thumbnail of the target picture can be directly displayed, Without the need for the user to select target images one by one, all images that meet the user's screening requirements can be obtained, so as to reduce the time spent on managing target images.
  • the embodiment of the present application may further prompt the user for the key object in the following manners.
  • the picture management method provided by this embodiment of the present application may further include step 102a.
  • Step 102a Display an object prompt box corresponding to each key object on the first picture.
  • the object prompt box is used to prompt the position of the key object in the region of the first picture
  • the object prompt box may include but not limited to fixed shapes such as square, rectangle, circle, ellipse and diamond.
  • Figure 4 on the basis of Figure 2, a rectangular outline shape is used to generate and display object prompt boxes for key objects, wherein the three key object prompt boxes correspond to "Little Girl", “Plum Blossom” and “House” respectively. .
  • the picture management device recognizes that the first picture includes at least two key objects
  • the fixed-shaped object prompt boxes corresponding to different key objects may overlap each other.
  • at least one of the following methods can be used to avoid interference: reduce the object prompt box according to the preset ratio, change the object prompt according to the position of the key points in the AI recognition map Box border, reduce the border width of the object tooltip.
  • the picture management method provided by this embodiment of the present application may further include step 102b.
  • Step 102b According to a preset outline drawing rule, generate and display an object outline frame corresponding to each key object in the first picture.
  • the object outline frame of the key object is formed by extending to the outside of the key object based on the outer outline of the key object, and includes the outline boundary of the key object.
  • the above-mentioned preset outline drawing rule is used to indicate the outline attribute of the object outline frame corresponding to the above-mentioned key object, wherein the above-mentioned outline attribute may include at least one item: outline shape, outline edge width, outline color and so on.
  • the picture management method provided in this embodiment of the present application may further include step 102c.
  • Step 102c According to the main body color of the key object, the picture color of the object prompt box or the object outline box corresponding to the key object at the position of the first picture, and the complementary color rule, select the border color of the object prompt box or the object outline box.
  • a border color that is easy to be captured by human eyes may be set for the object prompt box or the object outline box. For example, black, dark blue, orange and so on. If the color of the border is similar to the color of the picture where the object prompt box or the object outline box is located in the first picture, the prompting effect of the object prompt box or the object outline box is not obvious enough, and step 102c can also be used to change the border color.
  • the two colors are called “complementary colors", thus forming a complementary color rule.
  • the main color of the key object is green
  • the color corresponding to green according to the complementary color rule is red
  • red is selected as the outline color of the object outline.
  • the color of the first picture around the object outline of the key object is also red, mix red with green to get yellow, and use blue, the complementary color of yellow, as the outline color of the object outline.
  • the picture management method provided by this embodiment of the present application may further include step 102d.
  • Step 102d Set a serial number identifier for each key object according to the identification sequence of the key objects.
  • the key objects are operated through the serial number identification, so as to reduce the misoperation caused by the short distance between the multiple key objects displayed in the first picture.
  • a corresponding specific display area can also be set for each serial number identifier.
  • the specific display area is used to display other parameters of key objects, such as the object category, the shooting parameters of the first picture, and the total number of key objects. Wait.
  • a mapping relationship between the serial number identifier and the object prompt box or the object outline box is established.
  • the mapping relationship can be represented by connecting lines.
  • the serial number mark is set, the serial number mark, and the object prompt box or object outline frame, highlight key objects in a linked manner.
  • the highlighting method includes at least one of the following: bold, blinking, highlighting, and the like.
  • the target serial number identifier is highlighted, and simultaneously the object prompt box or object outline corresponding to the target serial number identifier is highlighted. frame. If a sixth input by the user to the target object prompt box in the object prompt box is received, the target object prompt box is highlighted in response to the sixth input, and the serial number identifier corresponding to the target object prompt box is simultaneously highlighted. If a seventh input by the user to the target object prompt box in the object outline box is received, in response to the seventh input, the target object outline box is highlighted, and at the same time the serial number identifier corresponding to the target object outline box is highlighted.
  • the picture management method provided by this embodiment of the present application may further include steps 501 and 502 .
  • Step 501 Receive a third input from a user for the first picture.
  • Step 502 In response to the third input, intercept a key picture corresponding to each key object in the first picture, and display the key picture in the picture display area according to a preset adjustment ratio.
  • no prompting method is adopted, or the above-mentioned first to third possible prompting methods may be adopted, and the third possible implementation manner of receiving the user's third input of the first picture may be used to prompt the fourth possible realization method.
  • key object The key picture is used to indicate the corresponding key object.
  • the picture management apparatus may also receive operations such as individual display, zoom-in display, zoom-out display, and editing of key objects by the user, so that the user can clearly view the key pictures corresponding to the key objects.
  • the picture management apparatus may also receive the user's cropping operation on the key object, so that the user can correct the key object included in the key picture.
  • the key picture of each key object in the first picture may be: a region picture corresponding to the region where the key object is located in the first picture. Because each key picture in the first picture may be small in size, closely arranged, and the outlines of objects overlap each other, therefore, in order to better display each key picture, each key picture is displayed separately and adjusted according to the preset.
  • the scale adjusts the size of the key image so that the key image is suitable for display.
  • a fixed display area for key pictures is set in the picture management apparatus, and the fixed display area is used for displaying key pictures.
  • the number of fixed display areas, the number of display pages that can be displayed in the picture display area, and the size of the fixed display area are not limited.
  • the picture display area of the management device includes three fixed display areas, and the three fixed display areas respectively display the key picture of "Little Girl", the key picture of "Plum Blossom” and "House” key image.
  • the number of target key objects is multiple, then for multiple target key objects, one target key object can be selected at a time, and then the target corresponding to each selected target key object can be saved. image, and finally merge all the target images to display the merged target image that meets the user's needs.
  • the picture management apparatus may be implemented by steps 103 a and 104 a.
  • Step 103a Receive the second input from the user on the above-mentioned target key object and the logical relationship of the object.
  • the target key object includes a first key object and at least one second key object
  • the object logical relationship is used to indicate the logical relationship between each of the above-mentioned target key objects, that is, the above-mentioned object logical relationship includes: the first key The logical relationship between the object and each second key object, and the logical relationship between each second key object.
  • the key pictures corresponding to the first key object and the at least one second key object are marked in a manner of displaying a selection mark, so that the second input to all target key objects can be simultaneously received according to the mark.
  • the object logical relationship is marked on the key picture corresponding to the first key object or the second key object, so that the second input for all the object logical relationships can be simultaneously received according to the above marking.
  • the object logical relationship includes at least one of the following: logical AND, logical OR, and logical NOT.
  • a logical relationship display area may also be set, and in the logical relationship display area, thumbnail images of the first key object and the second key object are displayed, and each thumbnail image corresponds to the logical relationship of the objects.
  • a logical relationship identifier connection may also be set, and in the logical relationship display area, thumbnail images of the first key object and the second key object are displayed, and each thumbnail image corresponds to the logical relationship of the objects.
  • the above-mentioned object logical relationship may be identified by at least one of the following: a text identification, an icon identification, and a text-icon combination identification. It should be noted that, in order to trigger the corresponding logical association relationship through the logical association relationship identification, the logical association relationship identification can be displayed in the form of a control, such as an embedded control, a floating control, a virtual button control, and the like.
  • Step 104a In response to the above-mentioned second input, obtain a first target picture that does not include the above-mentioned first key object, and a second target picture that does not include the above-mentioned at least second key object in the target picture library, and merge according to the above-mentioned object logical relationship.
  • the above-mentioned first target picture and the above-mentioned second target picture obtain a target picture, and display the above-mentioned target picture or a thumbnail of the above-mentioned target picture.
  • the target picture library may be a picture library of an electronic device, a certain category picture library in the picture library, a cached picture library of an application program, or a downloaded picture library of a certain application program.
  • the picture management apparatus may be implemented by steps 103 a and 104 b.
  • Step 103a Receive the second input from the user on the above-mentioned target key object and the logical relationship of the object.
  • Step 104b In response to the second input, according to the first key object, the second key object and the logical relationship of the object, obtain the target picture in the target picture library, and display the target picture or the thumbnail of the target image.
  • the target key object includes a first key object and at least one second key object
  • the object logical relationship is used to indicate the logical relationship between each of the above-mentioned target key objects, that is, the above-mentioned object logical relationship includes: the first key The logical relationship between the object and each second key object, and the logical relationship between each second key object.
  • the target picture library may be a picture library of an electronic device, a certain category picture library in the picture library, a cached picture library of an application program, or a downloaded picture library of a certain application program.
  • the target picture is directly obtained from the target image library.
  • the target picture is directly obtained from the target image library.
  • the picture management method provided by the embodiment of the present application further includes step 104c.
  • Step 104c In response to the second input, display at least one of the following: the target key object, the object logical relationship, and the name of the target picture library.
  • At least one of the following target key objects, the logical relationship of the objects, and the name of the target picture library may also be displayed, so as to prompt the user for the screening target.
  • the picture management method provided in this embodiment of the present application may further include step 901 and step 902 .
  • Step 901 Receive a fourth input from the user.
  • Step 902 In response to the fourth input, create a target folder, and save the target picture in the target folder.
  • At least one of the following methods may be adopted for saving the target picture: copying the target picture and pasting it to the target folder, cutting the target picture and pasting it to the target folder.
  • the deletion method of the target folder may be at least one of the following: receiving a management input for the target picture once, receiving an input for deleting the target folder, and the creation time of the target folder exceeds a preset time.
  • the execution body may be a picture management device, or a control module in the picture management device for executing the picture management method.
  • the picture management device provided by the embodiment of the present application is described by taking the picture management method performed by the picture management device as an example.
  • the execution body of the above picture management method may also be other equipment or apparatuses that can execute the picture management method, which is not limited in this embodiment of the present application.
  • an embodiment of the present application provides a picture management apparatus.
  • the picture management device includes: a first receiving module 1001, an identification module 1002, a second receiving module 1003 and a first display module 1004;
  • a first receiving module 1001 configured to receive a first input from a user
  • an identification module 1002 configured to identify at least one key object in the first picture in response to the first input received by the first receiving module 1001;
  • the second receiving module 1003 is configured to receive the second input from the user to the target key object in the at least one key object identified by the identifying module 1002;
  • the first display module 1004 is configured to display the thumbnail of the target picture or the target key picture in response to the second input received by the second receiving module 1003;
  • the target picture is: a picture that does not contain the target key object.
  • the apparatus further includes: an acquisition module 1005 and a second display module 1006;
  • the acquiring module 1005 is used for, in response to the second input received by the second receiving module 1003, after displaying the target picture or the thumbnail of the target picture, merge the target key object into the target picture, and obtain the merged fusion picture;
  • the second display module 1006 is configured to display the fused picture acquired by the acquisition module 1005 or the thumbnail of the fused picture acquired by the acquisition module.
  • the apparatus further includes: a third receiving module 1007 and an executing module 1008;
  • the third receiving module 1007 is configured to receive the third input of the user to the first picture
  • the executing module 1008 is configured to, in response to the third input received by the third receiving module 1007, intercept the key pictures corresponding to each key object in the first picture, and adjust the ratio according to the preset, and display the key pictures intercepted by the screenshot module.
  • the second receiving module 1003 is specifically configured to receive the second input from the user to the target key object and the object logical relationship, the target key object includes a first key object and at least one second key object, and the object logical relationship is used to indicate The logical relationship between each target key object;
  • the first display module 1004 is specifically configured to, in response to the second input received by the second receiving module 1003, obtain a first target picture that does not include the first key object and does not include at least one second key object in the target picture library
  • the second target picture is obtained by combining the first target picture and the second target picture according to the object logical relationship, and the target picture or the thumbnail of the target picture is displayed.
  • the second receiving module 1003 is further configured to receive the second input of the user to the target key object and the object logical relationship, the target key object includes a first key object and at least one second key object, and the object logical relationship is used for Indicate the logical relationship between each target key object;
  • the first display module 1004 is further configured to, in response to the second input received by the second receiving module 1003, obtain the target picture in the target picture library according to the first key object, at least one second key object and the logical relationship of the object, And display the target image or thumbnail of the target image.
  • key objects that may meet the user's refined screening requirements can be determined by identifying the key objects in the first picture. Then, after receiving the second input from the user on the target key object in the at least one key object, based on the target key object selected by the user, the target picture that does not contain the target key object, or the thumbnail of the target picture can be directly displayed, Without the need for the user to select target images one by one, all images that meet the user's screening requirements can be obtained, so as to reduce the time spent on managing target images.
  • the picture management apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • the picture management apparatus in this embodiment of the present application may be an apparatus having an operating system.
  • the operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the picture management apparatus provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and to avoid repetition, details are not repeated here.
  • an embodiment of the present application further provides an electronic device 1200, including a processor 1201, a memory 1202, and a program or instruction stored in the memory 1202 and executable on the processor 1201, the program Or when the instruction is executed by the processor 1201, each process of the above picture management method embodiments can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 13 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1300 includes but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, and a processor 1310, etc. part.
  • the electronic device 1300 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1310 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 13 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 1307 is used to receive the first input of the user
  • a processor 1310 configured to identify at least one key object in the first picture in response to the above-mentioned first input
  • the user input unit 1307 is further configured to receive a second input from the user to the target key object in the at least one key object;
  • the display unit 1306 is configured to display a target picture or a thumbnail of the target picture in response to the above-mentioned second input, wherein the target picture is a picture that does not contain the target key object.
  • the processor 1310 is further configured to merge the above-mentioned target key object into the above-mentioned target picture, and obtain the merged fused picture;
  • the display unit 1306 is further configured to display the above-mentioned fused picture or a thumbnail of the above-mentioned fused picture.
  • the user input unit 1307 is further configured to receive a third input from the user to the above-mentioned first picture;
  • the display unit 1306 is further configured to, in response to the third input, intercept a key picture corresponding to each of the key objects in the first picture, and adjust the ratio according to a preset to display the key picture.
  • the user input unit 1307 is further configured to receive a second input from the user on the target key object and the logical relationship of the objects, the target key object includes a first key object and at least one second key object, the object The logical relationship is used to indicate the logical relationship between each of the target key objects;
  • the display unit 1306 is further configured to, in response to the second input, acquire a first target picture that does not include the first key object and a second target that does not include the at least one second key object in the target picture library Picture, combining the first target picture and the second target picture according to the object logical relationship to obtain a target picture, and displaying the target picture or a thumbnail of the target picture.
  • the user input unit 1307 is further configured to receive a second input from the user on the target key object and the logical relationship of the objects, the target key object includes a first key object and at least one second key object, the object The logical relationship is used to indicate the logical relationship between each of the target key objects;
  • the display unit 1306 is further configured to, in response to the second input, obtain the target picture in the target picture library according to the first key object, the at least one second key object and the logical relationship of the object, and display all the target picture or the thumbnail of the target image.
  • key objects that may meet the user's refined screening requirements can be determined by identifying key objects in the first picture. Then, after receiving the second input from the user on the target key object in the at least one key object, based on the target key object selected by the user, the target picture that does not contain the target key object, or the thumbnail of the target picture can be directly displayed, Without the need for the user to select target images one by one, all images that meet the user's screening requirements can be obtained, so as to reduce the time spent on managing target images.
  • the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 1306 may include a display panel 13061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1307 includes a touch panel 13071 and other input devices 13072 .
  • the touch panel 13071 is also called a touch screen.
  • the touch panel 13071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 13072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.
  • Memory 1309 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1310 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1310.
  • the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium.
  • a program or an instruction is stored on the readable storage medium.
  • a readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
  • ROM computer read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk and the like.
  • An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above image management method embodiments, and The same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to enable a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to the technical field of communications, and discloses an image management method and apparatus, an electronic device, and a readable storage medium. The method comprises: receiving a first input of a user; in response to the first input, identifying at least one critical object in a first image; receiving a second input of the user for a target critical object in the at least one critical object; and in response to the second input, displaying a target image or a thumbnail of the target image, wherein the target image is an image that does not comprise the target critical object.

Description

图片管理方法、装置、电子设备和可读存储介质Picture management method, apparatus, electronic device and readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2021年4月28日在中国提交的中国专利申请号202110470454.5的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110470454.5 filed in China on April 28, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种图片管理方法、装置、电子设备和可读存储介质。The present application belongs to the field of communication technologies, and in particular relates to a picture management method, apparatus, electronic device and readable storage medium.
背景技术Background technique
目前,电子设备可以通过人工智能(Artificial Intelligence,AI)识图识别图片中的人物、动物、植物或者山水等图片内容对图片进行分类,并对应保存在分类图片库中。此时,若用户想要对分类图片库内的图片进一步进行图片管理,则需要在该分类图片库中逐张选择图片进行图片管理。At present, electronic devices can use artificial intelligence (Artificial Intelligence, AI) image recognition to identify people, animals, plants, landscapes and other picture content in pictures to classify pictures, and store them in the classified picture library accordingly. At this time, if the user wants to further perform picture management on the pictures in the classified picture library, he needs to select pictures one by one in the classified picture library for picture management.
虽然每个分类图片库中的图片具有相似的内容属性,使得用户能快速定位目标图片所属的分类图片库。但是,当分类图片库中的图片数量特别巨大的情况下,分类图片库中各个图片所包含图片内容仍然比较宽泛,为了满足用户差异化、精细化的筛选需求,用户进行图片管理需要耗费大量时间逐张选择目标图片。Although the pictures in each classified image library have similar content attributes, the user can quickly locate the classified image library to which the target image belongs. However, when the number of pictures in the classified picture library is extremely large, the picture content contained in each picture in the classified picture library is still relatively broad. In order to meet the user's differentiated and refined screening needs, it takes a lot of time for users to manage pictures. Select the target pictures one by one.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种图片管理方法、装置、电子设备和可读存储介质,能够解决管理图片耗时较长的问题。The purpose of the embodiments of the present application is to provide a picture management method, apparatus, electronic device, and readable storage medium, which can solve the problem that managing pictures takes a long time.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种图片管理方法。该方法包括:In a first aspect, an embodiment of the present application provides a picture management method. The method includes:
接收用户的第一输入;receiving the first input from the user;
响应于第一输入,识别第一图片中的至少一个关键对象;responsive to the first input, identifying at least one key object in the first picture;
接收用户对至少一个关键对象中的目标关键对象的第二输入;receiving a second user input to a target key object of the at least one key object;
响应于第二输入,显示目标图片或目标图片的缩略图;in response to the second input, displaying the target picture or a thumbnail of the target picture;
其中,目标图片为:不包含目标关键对象的图片。The target picture is: a picture that does not contain the target key object.
第二方面,本申请实施例提供了一种图片管理装置。该装置包括:第一接收模块、识别模块、第二接收模块和第一显示模块;In a second aspect, an embodiment of the present application provides a picture management apparatus. The device includes: a first receiving module, an identification module, a second receiving module and a first display module;
第一接收模块,用于接收用户的第一输入;a first receiving module, configured to receive the first input of the user;
识别模块,用于响应于第一接收模块接收的第一输入,识别第一图片中的至少一个关键对象;an identification module, configured to identify at least one key object in the first picture in response to the first input received by the first receiving module;
第二接收模块,用于接收用户对识别模块识别出的至少一个关键对象中的目标关键对象的第二输入;a second receiving module, configured to receive a second input from the user to the target key object in the at least one key object identified by the identification module;
第一显示模块,用于响应于第二接收模块接收的第二输入,显示目标图片或目标图片的缩略图;a first display module for displaying a target picture or a thumbnail of the target picture in response to the second input received by the second receiving module;
其中,目标图片为:不包含目标关键对象的图片。The target picture is: a picture that does not contain the target key object.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在该存储器上并可在该处理器上运行的程序或指令,该程序或指令被该处理器执行时实现如第一方面提供的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, the program or instruction being executed by the processor When executed, the steps of the method as provided in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,该程序或指令被处理器执行时实现如第一方面提供的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method provided in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和该处理器耦合,该处理器用于运行程序或指令,实现如第一方面提供的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the method provided in the first aspect.
在本申请实施例中,在接收到用户的第一输入后,可以通过识别第一图片中的关键对象,来确定出可能符合用户精细化的筛选需求的关键对象。然后,在接收到用户对至少一个关键对象中的目标关键对象的第二输入后,便可基于用户选择的目标关键对象,直接显示不包含目标关键对象的目标图片,或者目标图片的缩略图,无需用户逐张选择目标图片,即可获取符合用户筛选需求的全部图片,以减少管理目标图片所耗费的时间。In this embodiment of the present application, after receiving the user's first input, key objects that may meet the user's refined screening requirements may be determined by identifying key objects in the first picture. Then, after receiving the second input from the user on the target key object in the at least one key object, based on the target key object selected by the user, the target picture that does not contain the target key object, or the thumbnail of the target picture can be directly displayed, Without the need for the user to select target images one by one, all images that meet the user's screening requirements can be obtained, so as to reduce the time spent on managing target images.
附图说明Description of drawings
图1为本申请实施例提供的一种图片管理方法的示意图之一;1 is one of the schematic diagrams of a picture management method provided by an embodiment of the present application;
图2为本申请实施例提供的一种第一图片的示意图;2 is a schematic diagram of a first picture provided by an embodiment of the present application;
图3为本申请实施例提供的一种图片管理方法的示意图之二;3 is the second schematic diagram of a picture management method provided by an embodiment of the present application;
图4为本申请实施例提供的一种对象提示框的示意图;4 is a schematic diagram of an object prompt box provided by an embodiment of the present application;
图5为本申请实施例提供的一种关键图片显示方法的示意图;FIG. 5 is a schematic diagram of a method for displaying key pictures according to an embodiment of the present application;
图6为本申请实施例提供的一种关键图片的示意图;6 is a schematic diagram of a key picture provided by an embodiment of the present application;
图7为本申请实施例提供的一种图片管理方法的示意图之三;FIG. 7 is the third schematic diagram of a picture management method provided by an embodiment of the present application;
图8为本申请实施例提供的一种图片管理方法的示意图之四;FIG. 8 is a fourth schematic diagram of a picture management method provided by an embodiment of the present application;
图9为本申请实施例提供的一种图片管理方法的示意图之五;FIG. 9 is a fifth schematic diagram of a picture management method provided by an embodiment of the present application;
图10为本申请实施例提供的图片管理装置的结构示意图之一;FIG. 10 is one of the schematic structural diagrams of the picture management apparatus provided by the embodiment of the present application;
图11为本申请实施例提供的图片管理装置的结构示意图之二;11 is a second schematic structural diagram of a picture management apparatus provided by an embodiment of the present application;
图12为本申请实施例提供的电子设备的硬件示意图之一;FIG. 12 is one of the schematic hardware diagrams of the electronic device provided by the embodiment of the application;
图13为本申请实施例提供的电子设备的硬件示意图之二。FIG. 13 is the second schematic diagram of the hardware of the electronic device provided by the embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图片管理方法进行详细地说明。The image management method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
针对删除图片的场景,电子设备通过AI识图将包含人物的图片保存在人物图片库,假设用户A想要删除的图片为不包括“甲某”的全部图片,此时,用户可以打开“图库”软件,并进一步打开人物图片库,通过依次查看人物图片库对应的缩略图展示界面上展示的图片缩略图,然后,从该人物图片库中手动筛选出不包含“甲某”的图片,最后,删除这些图片。整个过程不仅耗时较长、且容易造成遗漏,无法实现精细化地管理图片。For the scenario of deleting a picture, the electronic device uses AI image recognition to save the picture containing the person in the person picture library. Assuming that the picture that user A wants to delete is all pictures excluding "A", at this time, the user can open the "Gallery" ” software, and further open the character picture library, view the picture thumbnails displayed on the thumbnail display interface corresponding to the character picture library in turn, and then manually filter out the pictures that do not contain “A” from the character picture library, and finally , delete these images. The whole process is not only time-consuming, but also prone to omissions, and it is impossible to manage pictures in a refined manner.
结合上述具体场景,在本申请实施例中,在打开人物图片库的情况下,选择一幅包含“甲某”的图片(即本文中的第一图片),然后,接收用户对该图片的第一输入,响应于该第一输入,识别出该图片中所有关键对象(包括该图片中所有人物的人脸图片),然后,接收用户对目标关键对象(即“甲某”的人脸图片)的第二输入,响应于第二输入,基于“甲某”的人脸图片,获取该人物图片库中不包含“甲某”的人脸图片的目标图片,然后, 删除这些目标图片,整个图片查找过程无需用户逐张筛选,即可获取符合用户筛选需求的图片,减少了管理目标图片所耗费的时间,实现了对图片的精细化管理。In combination with the above-mentioned specific scenarios, in the embodiment of the present application, when the character picture library is opened, a picture containing "A" (that is, the first picture in this article) is selected, and then the user's first picture of the picture is received. One input, in response to the first input, identify all the key objects in the picture (including the face pictures of all the characters in the picture), and then receive the user's response to the target key object (that is, the face picture of "A") the second input, in response to the second input, based on the face picture of "Jia", obtain the target picture that does not contain the face picture of "Jia" in the character picture library, and then delete these target pictures, the whole picture The search process does not require users to filter one by one, and can obtain pictures that meet the user's screening needs, which reduces the time spent on managing target pictures and realizes refined management of pictures.
如图1所示,本申请实施例提供一种图片管理方法。该方法可以包括下述的步骤101至步骤104。下面以执行主体为图片管理装置为例对该方法进行示例性说明。As shown in FIG. 1 , an embodiment of the present application provides a picture management method. The method may include steps 101 to 104 described below. The method is exemplarily described below by taking the execution subject as a picture management apparatus as an example.
步骤101:接收用户的第一输入。Step 101: Receive a first input from the user.
在本申请实施例中,第一输入为用于识别第一图片中的关键对象的输入。可以理解的是,上述第一输入可以包括:用户对第一图片的触控输入(如,单击,双击、屏幕手势),也可以为语音输入,还可以为其他可行性输入,本申请实施例对此不做限定。In this embodiment of the present application, the first input is an input for identifying key objects in the first picture. It can be understood that the above-mentioned first input may include: a user's touch input on the first picture (such as a single click, a double click, a screen gesture), a voice input, or other feasible input, which is implemented in this application. The example does not limit this.
举例说明,上述第一输入可以包括:用户打开图库软件后,对第一图片的拖动输入;或者,上述第一输入可以包括:用户打开图库软件、且启动搜索功能后,对第一图片的点击输入;或者,上述第一输入可以包括:用户打开图片拍摄软件,对摄像头当前抓取到的第一图片进行长按输入。For example, the above-mentioned first input may include: dragging input of the first picture after the user opens the gallery software; or, the above-mentioned first input may include: after the user opens the gallery software and activates the search function, the first picture Click to input; or, the above-mentioned first input may include: the user opens the picture shooting software, and performs a long-press input on the first picture currently captured by the camera.
步骤102:响应于第一输入,识别第一图片中的至少一个关键对象。Step 102: In response to the first input, identify at least one key object in the first picture.
在本申请实施例中,图片管理装置响应于第一输入,根据预置人工智能A1识图算法,识别第一图片中的至少一个关键对象。In the embodiment of the present application, the picture management apparatus, in response to the first input, identifies at least one key object in the first picture according to the preset artificial intelligence A1 picture recognition algorithm.
在本申请实施例中,上述关键对象可以包括但不限于:人脸图片、动物图片、植物图片和物品图片等。示例性的,如图2所示,图2为第一输入所指示的第一图片,其中,关键对象包括梅花、房子和小女孩。In this embodiment of the present application, the above-mentioned key objects may include, but are not limited to, face pictures, animal pictures, plant pictures, and object pictures. Exemplarily, as shown in FIG. 2, FIG. 2 is the first picture indicated by the first input, wherein the key objects include a plum blossom, a house and a little girl.
步骤103:接收用户对至少一个关键对象中的目标关键对象的第二输入。Step 103: Receive a second input from the user on the target key object in the at least one key object.
在本申请实施例中,上述第二输入可以包括:用户对目标关键对象的触控输入(如,单击,双击、屏幕手势),也可以为语音输入,还可以为其他可行性输入,本申请实施例对此不做限定。In the embodiment of the present application, the above-mentioned second input may include: a user's touch input on the target key object (for example, a single click, a double click, a screen gesture), a voice input, or other feasible input. The application embodiments do not limit this.
步骤104:响应于第二输入,显示目标图片或目标图片的缩略图。Step 104: In response to the second input, display the target picture or a thumbnail of the target picture.
在本申请实施例中,上述目标图片为:不包含目标关键对象的图片。In the embodiment of the present application, the above-mentioned target picture is a picture that does not include the target key object.
在本申请实施例中,图片管理装置在确定出目标关键对象后,可以从图片库中基于该目标关键对象获取目标图片,其中,上述图片库中包含至少一个子图片库,每个子图片对应一种图片类别。进一步的,用户可以从该至少一个子图片库中选择一个或多个子图片库作为图片筛选来源,筛选出不包含该目标关键对象的目标图片。如此,通过选择目标图片库减少需要筛选的图片数量,以提高获取目标图片的速度。In the embodiment of the present application, after determining the target key object, the picture management device may obtain the target picture from the picture library based on the target key object, wherein the picture library includes at least one sub-picture library, and each sub-picture corresponds to a image categories. Further, the user may select one or more sub-picture libraries from the at least one sub-picture library as a source for picture screening, and filter out target pictures that do not contain the target key object. In this way, the number of pictures to be filtered is reduced by selecting the target picture library, so as to improve the speed of acquiring the target picture.
在本申请实施例中,显示目标图片或目标图片的缩略图,使得用户可以直接浏览目标 图片,以便于用户查看、删除或分享目标图片。In the embodiment of the present application, the target picture or the thumbnail of the target picture is displayed, so that the user can directly browse the target picture, so that the user can view, delete or share the target picture.
在实际场景中,在某次拍摄的集体图片,可能存在某人缺席的情况,为了弥补缺席集体图片的遗憾,在不包含目标关键对象的目标图片的基础上,如图3所示,图片管理装置还可以包括步骤301和步骤302。In the actual scene, there may be someone absent in the collective picture taken at a certain time. In order to make up for the regret of the absence of the collective picture, on the basis of the target picture that does not contain the target key object, as shown in Figure 3, picture management The apparatus may further include step 301 and step 302 .
步骤301:将目标关键对象合并到目标图片中,获取合并后的融合图片。Step 301: Merge the target key object into the target image, and obtain the merged merged image.
步骤302:显示融合图片或融合图片的缩略图。Step 302: Display the fused picture or the thumbnail of the fused picture.
如此,通过响应于用户输入,将目标关键对象与目标图片进行融合,并显示融合图片,能够弥补缺席拍摄造成的影像缺失遗憾。In this way, by merging the target key object with the target picture in response to the user's input, and displaying the fused picture, it is possible to make up for the regret of missing images caused by absent shooting.
在本申请实施例提供的图片管理方法中,在接收到用户的第一输入后,可以通过识别第一图片中的关键对象,来确定出可能符合用户精细化的筛选需求的关键对象。然后,在接收到用户对至少一个关键对象中的目标关键对象的第二输入后,便可基于用户选择的目标关键对象,直接显示不包含目标关键对象的目标图片,或者目标图片的缩略图,无需用户逐张选择目标图片,即可获取符合用户筛选需求的全部图片,以减少管理目标图片所耗费的时间。In the picture management method provided by the embodiment of the present application, after receiving the first input from the user, key objects that may meet the user's refined screening requirements may be determined by identifying key objects in the first picture. Then, after receiving the second input from the user on the target key object in the at least one key object, based on the target key object selected by the user, the target picture that does not contain the target key object, or the thumbnail of the target picture can be directly displayed, Without the need for the user to select target images one by one, all images that meet the user's screening requirements can be obtained, so as to reduce the time spent on managing target images.
可选地,在本申请实施例中,为了更清晰的向用户提示第一图片中的关键对象,本申请实施例还可以通过以下几种方式来为用户提示关键对象。Optionally, in this embodiment of the present application, in order to more clearly prompt the user for the key object in the first picture, the embodiment of the present application may further prompt the user for the key object in the following manners.
在第一种可能的实现方式中:In the first possible implementation:
示例性的,在步骤102之后,本申请实施例提供的图片管理方法还可以包括步骤102a。Exemplarily, after step 102, the picture management method provided by this embodiment of the present application may further include step 102a.
步骤102a:在第一图片上显示每个关键对象对应的对象提示框。Step 102a: Display an object prompt box corresponding to each key object on the first picture.
具体的,上述对象提示框用于提示该关键对象在第一图片上所处区域的位置,上述对象提示框可以包括但不限于:正方形、矩形、圆形、椭圆形菱形等固定形状。如图4所示,在图2的基础上,采用矩形轮廓形状,生成并显示关键对象的对象提示框,其中,三个关键对象提示框分别对应“小女孩”、“梅花”和“房子”。Specifically, the object prompt box is used to prompt the position of the key object in the region of the first picture, and the object prompt box may include but not limited to fixed shapes such as square, rectangle, circle, ellipse and diamond. As shown in Figure 4, on the basis of Figure 2, a rectangular outline shape is used to generate and display object prompt boxes for key objects, wherein the three key object prompt boxes correspond to "Little Girl", "Plum Blossom" and "House" respectively. .
需要说明的是,图片管理装置如果识别出第一图片中包括至少两个关键对象,那么不同的关键对象对应的固定形状的对象提示框可能相互重叠,对此,为了避免显示的对象提示框相互干扰,在保证对象提示框中所包含关键对象能够的前提下,可以采用以下至少一种避免干扰的方式:按照预置比例缩小对象提示框、根据AI识图中的关键点的位置改变对象提示框边界、减小对象提示框的边框宽度。It should be noted that, if the picture management device recognizes that the first picture includes at least two key objects, the fixed-shaped object prompt boxes corresponding to different key objects may overlap each other. Interference, on the premise that the key objects contained in the object prompt box can be guaranteed, at least one of the following methods can be used to avoid interference: reduce the object prompt box according to the preset ratio, change the object prompt according to the position of the key points in the AI recognition map Box border, reduce the border width of the object tooltip.
示例性的,在步骤102之后,与步骤102a并列,本申请实施例提供的图片管理方法还可以包括步骤102b。Exemplarily, after step 102, in parallel with step 102a, the picture management method provided by this embodiment of the present application may further include step 102b.
步骤102b:根据预置轮廓绘制规则,在第一图片中生成并显示与每个关键对象对应的对象轮廓框。Step 102b: According to a preset outline drawing rule, generate and display an object outline frame corresponding to each key object in the first picture.
具体的,上述关键对象的对象轮廓框是以关键对象的外轮廓为基础,向关键对象外侧扩展形成的,其中包含该关键对象的轮廓边界。上述预置轮廓绘制规则用于指示上述关键对象对应的对象轮廓框的轮廓属性,其中,上述轮廓属性可以包括至少一项:轮廓形状、轮廓边缘宽度和轮廓颜色等等。Specifically, the object outline frame of the key object is formed by extending to the outside of the key object based on the outer outline of the key object, and includes the outline boundary of the key object. The above-mentioned preset outline drawing rule is used to indicate the outline attribute of the object outline frame corresponding to the above-mentioned key object, wherein the above-mentioned outline attribute may include at least one item: outline shape, outline edge width, outline color and so on.
在第二种可能的实现方式中:In the second possible implementation:
示例性的,在步骤102a或者步骤102b之后,本申请实施例提供的图片管理方法还可以包括步骤102c。Exemplarily, after step 102a or step 102b, the picture management method provided in this embodiment of the present application may further include step 102c.
步骤102c:根据关键对象的主体颜色,关键对象对应的对象提示框或者对象轮廓框在第一图片所在位置的图片颜色,以及补色规则,选择对象提示框或者对象轮廓框的边框颜色。Step 102c: According to the main body color of the key object, the picture color of the object prompt box or the object outline box corresponding to the key object at the position of the first picture, and the complementary color rule, select the border color of the object prompt box or the object outline box.
在本申请实施例中,可以为对象提示框或者对象轮廓框,设置易于被人眼捕捉的边框颜色。如,黑色、墨蓝色、橘色等等。如果边框颜色,与对象提示框或者对象轮廓框在第一图片所在位置的图片颜色相近,对象提示框或者对象轮廓框的提示作用不够明显,还可以采用步骤102c更换边框颜色。In this embodiment of the present application, a border color that is easy to be captured by human eyes may be set for the object prompt box or the object outline box. For example, black, dark blue, orange and so on. If the color of the border is similar to the color of the picture where the object prompt box or the object outline box is located in the first picture, the prompting effect of the object prompt box or the object outline box is not obvious enough, and step 102c can also be used to change the border color.
需要说明的是,在光学中,两种色光以适当的比例混合而能产生白光时,则这两种颜色就称为“互为补色”,以此形成补色规则。例如,关键对象的主体颜色为绿色,根据补色规则与绿色相对应的颜色为红色,选择红色作为对象轮廓的轮廓颜色。如果关键对象的对象轮廓周围第一图片的颜色也为红色,将红色与绿色混合得到黄色,将黄色的互补色蓝色作为对象轮廓的轮廓颜色。It should be noted that in optics, when two colors of light are mixed in an appropriate ratio to produce white light, the two colors are called "complementary colors", thus forming a complementary color rule. For example, the main color of the key object is green, the color corresponding to green according to the complementary color rule is red, and red is selected as the outline color of the object outline. If the color of the first picture around the object outline of the key object is also red, mix red with green to get yellow, and use blue, the complementary color of yellow, as the outline color of the object outline.
在第三种可能的实现方式中:In a third possible implementation:
示例性的,在步骤102之后,本申请实施例提供的图片管理方法还可以包括步骤102d。Exemplarily, after step 102, the picture management method provided by this embodiment of the present application may further include step 102d.
步骤102d:根据关键对象的识别顺序,为每个关键对象设置序号标识。Step 102d: Set a serial number identifier for each key object according to the identification sequence of the key objects.
具体的,通过序号标识对关键对象进行操作,以减少由于多个关键对象之间在第一图片中显示的距离较近,造成误操作。为了对图片进行管理,还可以为每个序号标识设置对应的特定显示区,特定显示区用于显示关键对象的其他参数,如,所属对象类别、第一图片的拍摄参数、关键对象的总数量等。Specifically, the key objects are operated through the serial number identification, so as to reduce the misoperation caused by the short distance between the multiple key objects displayed in the first picture. In order to manage pictures, a corresponding specific display area can also be set for each serial number identifier. The specific display area is used to display other parameters of key objects, such as the object category, the shooting parameters of the first picture, and the total number of key objects. Wait.
示例性的,建立序号标识与对象提示框或者对象轮廓框映射关系。该映射关系可以通过连线方式表征。在设置序号标识后,序号标识,与对象提示框或者对象轮廓框,采用联 动方式突出显示关键对象。需要说明的是,突出显示方式至少包括以下一种:加粗、闪烁、高亮等。Exemplarily, a mapping relationship between the serial number identifier and the object prompt box or the object outline box is established. The mapping relationship can be represented by connecting lines. After the serial number mark is set, the serial number mark, and the object prompt box or object outline frame, highlight key objects in a linked manner. It should be noted that the highlighting method includes at least one of the following: bold, blinking, highlighting, and the like.
示例性的,如果接收到用户对序号标识中的目标序号标识的第五输入,则响应于第五输入,突出显示目标序号标识,并且同时突出显示与目标序号标识对应的对象提示框或者对象轮廓框。如果接收到用户对对象提示框中的目标对象提示框的第六输入,则响应于第六输入,突出显示目标对象提示框,并且同时突出显示与目标对象提示框对应的序号标识。如果接收到用户对对象轮廓框中的目标对象提示框的第七输入,则响应于第七输入,突出显示目标对象轮廓框,并且同时突出显示与目标对象轮廓框对应的序号标识。Exemplarily, if a fifth input from the user on the target serial number identifier in the serial number identifier is received, then in response to the fifth input, the target serial number identifier is highlighted, and simultaneously the object prompt box or object outline corresponding to the target serial number identifier is highlighted. frame. If a sixth input by the user to the target object prompt box in the object prompt box is received, the target object prompt box is highlighted in response to the sixth input, and the serial number identifier corresponding to the target object prompt box is simultaneously highlighted. If a seventh input by the user to the target object prompt box in the object outline box is received, in response to the seventh input, the target object outline box is highlighted, and at the same time the serial number identifier corresponding to the target object outline box is highlighted.
在第四种可能的实现方式中:In a fourth possible implementation:
示例性的,如图5所示,在步骤102之后,本申请实施例提供的图片管理方法还可以包括步骤501和步骤502。Exemplarily, as shown in FIG. 5 , after step 102 , the picture management method provided by this embodiment of the present application may further include steps 501 and 502 .
步骤501:接收用户对第一图片的第三输入。Step 501: Receive a third input from a user for the first picture.
步骤502:响应于第三输入,截取第一图片中每个关键对象对应的关键图片,并在图片展示区域,按照预置调整比例,显示关键图片。Step 502: In response to the third input, intercept a key picture corresponding to each key object in the first picture, and display the key picture in the picture display area according to a preset adjustment ratio.
在本申请实施例中,未采用任何提示方式,或者采用上述第一至第三种可能的提示方式,都可以采用接收用户对第一图片的第三输入,以第四种可能的实现方式提示关键对象。其中,关键图片用于能够指示对应的关键对象。In the embodiment of the present application, no prompting method is adopted, or the above-mentioned first to third possible prompting methods may be adopted, and the third possible implementation manner of receiving the user's third input of the first picture may be used to prompt the fourth possible realization method. key object. The key picture is used to indicate the corresponding key object.
示例性的,在显示关键图片的情况下,图片管理装置还可以接收用户对关键对象的单独显示、放大显示、缩小显示、编辑等操作,以便于用户可以清晰的查看关键对象对应的关键图片。Exemplarily, in the case of displaying key pictures, the picture management apparatus may also receive operations such as individual display, zoom-in display, zoom-out display, and editing of key objects by the user, so that the user can clearly view the key pictures corresponding to the key objects.
示例性的,在显示关键图片的情况下,图片管理装置还可以接收用户对关键对象的裁剪操作,以便于用户修正关键图片中包括的关键对象。Exemplarily, in the case of displaying the key picture, the picture management apparatus may also receive the user's cropping operation on the key object, so that the user can correct the key object included in the key picture.
在本申请实施例中,上述第一图片中的每个关键对象的关键图片可以为:该关键对象在第一图片中所处区域对应的区域图片。由于第一图片中的各个关键图片,可能存在尺寸小、排布紧密、对象轮廓相互覆盖的情况,因此,为了更好地展示各个关键图片,将每个关键图片分开显示,并按照预置调整比例调整关键图片的尺寸,以使得关键图片适于显示。In the embodiment of the present application, the key picture of each key object in the first picture may be: a region picture corresponding to the region where the key object is located in the first picture. Because each key picture in the first picture may be small in size, closely arranged, and the outlines of objects overlap each other, therefore, in order to better display each key picture, each key picture is displayed separately and adjusted according to the preset. The scale adjusts the size of the key image so that the key image is suitable for display.
示例性的,在图片管理装置设置关键图片的固定显示区域,固定显示区域用于显示关键图片。在本申请实施例中,对固定显示区域的数量,图片展示区可展示的显示页数以及固定显示区域的尺寸不做限定。例如,在图2的基础上,如图6所示,在管理装置的图片展示区包括三个固定显示区,在三个固定显示区分别显示“小女孩”关键图片、“梅花” 关键图片和“房子”关键图片。Exemplarily, a fixed display area for key pictures is set in the picture management apparatus, and the fixed display area is used for displaying key pictures. In this embodiment of the present application, the number of fixed display areas, the number of display pages that can be displayed in the picture display area, and the size of the fixed display area are not limited. For example, on the basis of FIG. 2 , as shown in FIG. 6 , the picture display area of the management device includes three fixed display areas, and the three fixed display areas respectively display the key picture of "Little Girl", the key picture of "Plum Blossom" and "House" key image.
可选地,在本申请实施例中,如果目标关键对象的数量为多个,那么对多个目标关键对象可采用每次选取一个目标关键对象,然后保存每次选取的目标关键对象对应的目标图片,最后将所有的目标图片进行合并,显示合并后符合用户需求的目标图片。Optionally, in this embodiment of the present application, if the number of target key objects is multiple, then for multiple target key objects, one target key object can be selected at a time, and then the target corresponding to each selected target key object can be saved. image, and finally merge all the target images to display the merged target image that meets the user's needs.
可选地,在本申请实施例中,如果目标关键对象的数量为多个,如图7所示,在步骤102之后,图片管理装置可以通过步骤103a和步骤104a实现。Optionally, in this embodiment of the present application, if the number of target key objects is multiple, as shown in FIG. 7 , after step 102 , the picture management apparatus may be implemented by steps 103 a and 104 a.
步骤103a:接收用户对上述目标关键对象和对象逻辑关系的第二输入。 Step 103a: Receive the second input from the user on the above-mentioned target key object and the logical relationship of the object.
在本申请实施例中,目标关键对象包括第一关键对象和至少一个第二关键对象,对象逻辑关系用于指示各个上述目标关键对象之间的逻辑关系,即上述对象逻辑关系包括:第一关键对象与各个第二关键对象之间的逻辑关系,以及各个第二关键对象之间的逻辑关系。In the embodiment of the present application, the target key object includes a first key object and at least one second key object, and the object logical relationship is used to indicate the logical relationship between each of the above-mentioned target key objects, that is, the above-mentioned object logical relationship includes: the first key The logical relationship between the object and each second key object, and the logical relationship between each second key object.
在本申请实施例中,第一关键对象和至少一个第二关键对象对应的关键图片以显示选中标识的方式进行标记,以便于根据上述标记能够同时接收对所有目标关键对象的第二输入。In this embodiment of the present application, the key pictures corresponding to the first key object and the at least one second key object are marked in a manner of displaying a selection mark, so that the second input to all target key objects can be simultaneously received according to the mark.
在本申请实施例中,在第一关键对象或第二关键对象对应的关键图片上标记对象逻辑关系,以便于根据上述标记能够同时接收对所有对象逻辑关系的第二输入。对象逻辑关系包括以下至少一项:逻辑与、逻辑或、逻辑非。In the embodiment of the present application, the object logical relationship is marked on the key picture corresponding to the first key object or the second key object, so that the second input for all the object logical relationships can be simultaneously received according to the above marking. The object logical relationship includes at least one of the following: logical AND, logical OR, and logical NOT.
进一步可选地,在本申请实施例中,还可以设置逻辑关系显示区域,在逻辑关系显示区域内,显示第一关对象和第二关键对象的缩略图,各个缩略图根据对象逻辑关系对应的逻辑关系标识符连接。Further optionally, in this embodiment of the present application, a logical relationship display area may also be set, and in the logical relationship display area, thumbnail images of the first key object and the second key object are displayed, and each thumbnail image corresponds to the logical relationship of the objects. A logical relationship identifier connection.
示例性的,上述对象逻辑关系,可以采用的标识方式包括以下至少一项::文字标识、图标标识和文字图标组合标识。需要说明的是,为了通过逻辑关联关系标识能够触发相应的逻辑关联关系,该逻辑关联关系标识可以通过控件方式显示,如嵌入控件、悬浮控件、虚拟按键控件等等。Exemplarily, the above-mentioned object logical relationship may be identified by at least one of the following: a text identification, an icon identification, and a text-icon combination identification. It should be noted that, in order to trigger the corresponding logical association relationship through the logical association relationship identification, the logical association relationship identification can be displayed in the form of a control, such as an embedded control, a floating control, a virtual button control, and the like.
步骤104a:响应于上述第二输入,在目标图片库中获取不包含上述第一关键对象的第一目标图片,以及不包含上述至少第二关键对象的第二目标图片,根据上述对象逻辑关系合并上述第一目标图片和上述第二目标图片得到目标图片,显示上述目标图片或者上述目标图片的缩略图。 Step 104a: In response to the above-mentioned second input, obtain a first target picture that does not include the above-mentioned first key object, and a second target picture that does not include the above-mentioned at least second key object in the target picture library, and merge according to the above-mentioned object logical relationship. The above-mentioned first target picture and the above-mentioned second target picture obtain a target picture, and display the above-mentioned target picture or a thumbnail of the above-mentioned target picture.
在本申请实施例中,目标图片库可以电子设备的图片库、图片库中的某一分类图片库、某应用程序的缓存图片库库、或者某应用程序的下载图片库,通过选择不同的目标图片库, 缩小图片范围提高筛选效率。In this embodiment of the present application, the target picture library may be a picture library of an electronic device, a certain category picture library in the picture library, a cached picture library of an application program, or a downloaded picture library of a certain application program. By selecting different targets Picture library, narrow the range of pictures to improve the filtering efficiency.
示例性的,在图6所示的关键对象对应的关键图片的基础上,假设选择“小女孩”为第一关键对象,“梅花”为第二关键对象,获取不包含“小女孩”的第一目标图片,获取不包含“梅花”的第二目标图片,如果第一目标图片和第二目标图片之间的关系为逻辑与,那么将第一目标图片与第二目标图片进行逻辑与运算,得到不包含“小女孩”并且不包含“梅花”的最终的目标图片。Exemplarily, on the basis of the key pictures corresponding to the key objects shown in FIG. 6 , it is assumed that "little girl" is selected as the first key object and "Plum Blossom" is the second key object, and the first key object that does not contain "little girl" is obtained. A target picture, obtain a second target picture that does not contain "Plum Blossom", if the relationship between the first target picture and the second target picture is a logical AND, then perform a logical AND operation on the first target picture and the second target picture, Get the final target image that doesn't contain "little girl" and doesn't contain "plum".
如此,如果目标关键对象的数量为多个,通过接收多个目标关键对象,以及目标关键对象之间的逻辑关系,能够显示符合用户筛选需求的目标图片或目标图片的缩略图,提高筛选效率。In this way, if the number of target key objects is multiple, by receiving multiple target key objects and the logical relationship between the target key objects, target pictures or thumbnails of target pictures that meet the user's screening requirements can be displayed, thereby improving screening efficiency.
进一步可选地,在本申请实施例中,如果目标关键对象的数量为多个,如图8所示,在步骤102之后,图片管理装置可以通过步骤103a和步骤104b实现。Further optionally, in this embodiment of the present application, if the number of target key objects is multiple, as shown in FIG. 8 , after step 102 , the picture management apparatus may be implemented by steps 103 a and 104 b.
步骤103a:接收用户对上述目标关键对象和对象逻辑关系的第二输入。 Step 103a: Receive the second input from the user on the above-mentioned target key object and the logical relationship of the object.
步骤104b:响应于上述第二输入,根据上述第一关键对象,上述第二关键对象和上述对象逻辑关系,在目标图片库中获取目标图片,并显示上述目标图片或者上述目标图像的缩略图。 Step 104b: In response to the second input, according to the first key object, the second key object and the logical relationship of the object, obtain the target picture in the target picture library, and display the target picture or the thumbnail of the target image.
在本申请实施例中,目标关键对象包括第一关键对象和至少一个第二关键对象,对象逻辑关系用于指示各个上述目标关键对象之间的逻辑关系,即上述对象逻辑关系包括:第一关键对象与各个第二关键对象之间的逻辑关系,以及各个第二关键对象之间的逻辑关系。In the embodiment of the present application, the target key object includes a first key object and at least one second key object, and the object logical relationship is used to indicate the logical relationship between each of the above-mentioned target key objects, that is, the above-mentioned object logical relationship includes: the first key The logical relationship between the object and each second key object, and the logical relationship between each second key object.
在本申请实施例中,目标图片库可以电子设备的图片库、图片库中的某一分类图片库、某应用程序的缓存图片库库、或者某应用程序的下载图片库,通过选择不同的目标图片库,缩小图片范围提高筛选效率。In this embodiment of the present application, the target picture library may be a picture library of an electronic device, a certain category picture library in the picture library, a cached picture library of an application program, or a downloaded picture library of a certain application program. By selecting different targets Picture library, narrow the range of pictures to improve the filtering efficiency.
示例性的,在图6所示的关键对象对应的关键图片的基础上,假设选择“小女孩”为第一关键对象,“梅花”为第一个第二关键对象,“房子”为第二个第二关键对象,三者之间的对象逻辑关系均为“与”。即目标图片同时满足不包含“小女孩”、“梅花”和“房子”的图片。在获取目标图片的过程中,直接在目标图片库中获取目标图片。Exemplarily, on the basis of the key pictures corresponding to the key objects shown in FIG. 6, it is assumed that "little girl" is selected as the first key object, "Plum Blossom" is the first and second key object, and "house" is the second key object. The second key object, the object logical relationship between the three is "and". That is, the target picture satisfies the pictures that do not contain "little girl", "plum blossom" and "house" at the same time. In the process of obtaining the target image, the target image is directly obtained from the target image library.
示例性的,在图6所示的关键对象对应的关键图片的基础上,假设选择“小女孩”为第一关键对象,“梅花”为第一个第二关键对象,“房子”为第二个第二关键对象,三者之间的对象逻辑关系均为“或”。即目标图片满足不包含“小女孩”、“梅花”和“房子”中的任一对象的图片。在获取目标图片的过程中,直接在目标图片库中获取目标图片。Exemplarily, on the basis of the key pictures corresponding to the key objects shown in FIG. 6, it is assumed that "little girl" is selected as the first key object, "Plum Blossom" is the first and second key object, and "house" is the second key object. The second key object, the logical relationship between the three objects is "or". That is, the target picture satisfies the picture that does not contain any object among "little girl", "plum blossom" and "house". In the process of obtaining the target image, the target image is directly obtained from the target image library.
进一步可选地,在本申请实施例中,如图7或图8所示,在步骤103a之后,本申请实施例提供的图片管理方法还包括步骤104c。Further optionally, in the embodiment of the present application, as shown in FIG. 7 or FIG. 8 , after step 103a, the picture management method provided by the embodiment of the present application further includes step 104c.
步骤104c:响应于第二输入,显示以下至少一项:目标关键对象、对象逻辑关系和目标图片库的名称。 Step 104c: In response to the second input, display at least one of the following: the target key object, the object logical relationship, and the name of the target picture library.
在本申请实施例中,在显示目标图片或目标图片的缩略图的同时,还可以显示以下至少一项目标关键对象、对象逻辑关系和目标图片库的名称,以此提示用户的筛选目标,不同关键对象之间的逻辑关系以及筛选来源,以便于用户以此判断是否需要更换属性信息重新显示目标图片。In this embodiment of the present application, while displaying the target picture or the thumbnail of the target picture, at least one of the following target key objects, the logical relationship of the objects, and the name of the target picture library may also be displayed, so as to prompt the user for the screening target. The logical relationship between the key objects and the source of screening, so that the user can judge whether the attribute information needs to be replaced to display the target image again.
可选地,如图9所示,在本申请实施例中,在步骤104之后,本申请实施例提供的图片管理方法还可以包括步骤901和步骤902。Optionally, as shown in FIG. 9 , in this embodiment of the present application, after step 104 , the picture management method provided in this embodiment of the present application may further include step 901 and step 902 .
步骤901:接收用户的第四输入。Step 901: Receive a fourth input from the user.
步骤902:响应于第四输入,建立目标文件夹,并在目标文件夹中保存目标图片。Step 902: In response to the fourth input, create a target folder, and save the target picture in the target folder.
在本申请实施例中,保存目标图片可采用一下至少一种方式:复制目标图片并粘贴至目标文件夹、剪切目标图片并粘贴至目标文件夹。其中,目标文件夹的删除方式可以为以下至少一种:接收一次对目标图片的管理输入、接收到对目标文件夹的删除输入、目标文件夹的建立时间超过预置时间。In the embodiment of the present application, at least one of the following methods may be adopted for saving the target picture: copying the target picture and pasting it to the target folder, cutting the target picture and pasting it to the target folder. The deletion method of the target folder may be at least one of the following: receiving a management input for the target picture once, receiving an input for deleting the target folder, and the creation time of the target folder exceeds a preset time.
如此,通过在目标文件夹中保存目标图片,以便于对目标图片进行删除、分享和隐藏等批量管理操作。In this way, by saving the target picture in the target folder, it is convenient to perform batch management operations such as deleting, sharing and hiding the target picture.
需要说明的是,本申请实施例提供的图片管理方法,执行主体可以为图片管理装置,或者该图片管理装置中的用于执行图片管理方法的控制模块。本申请实施例中以图片管理装置执行图片管理方法为例,说明本申请实施例提供的图片管理装置。但实际应用中上述图片管理方法的执行主体还可以是其他可以执行该图片管理方法的设备或装置,本申请实施例对此不作限定。It should be noted that, in the picture management method provided by the embodiments of the present application, the execution body may be a picture management device, or a control module in the picture management device for executing the picture management method. In the embodiment of the present application, the picture management device provided by the embodiment of the present application is described by taking the picture management method performed by the picture management device as an example. However, in practical applications, the execution body of the above picture management method may also be other equipment or apparatuses that can execute the picture management method, which is not limited in this embodiment of the present application.
如图10所示,本申请实施例提供一种图片管理装置。该图片管理装置包括:第一接收模块1001、识别模块1002、第二接收模块1003和第一显示模块1004;As shown in FIG. 10 , an embodiment of the present application provides a picture management apparatus. The picture management device includes: a first receiving module 1001, an identification module 1002, a second receiving module 1003 and a first display module 1004;
第一接收模块1001,用于接收用户的第一输入;a first receiving module 1001, configured to receive a first input from a user;
识别模块1002,用于响应于第一接收模块1001接收的第一输入,识别第一图片中的至少一个关键对象;an identification module 1002, configured to identify at least one key object in the first picture in response to the first input received by the first receiving module 1001;
第二接收模块1003,用于接收用户对识别模块1002识别出的至少一个关键对象中的目标关键对象的第二输入;The second receiving module 1003 is configured to receive the second input from the user to the target key object in the at least one key object identified by the identifying module 1002;
第一显示模块1004,用于响应于第二接收模块1003接收的第二输入,显示目标图片或目标关键图片的缩略图;The first display module 1004 is configured to display the thumbnail of the target picture or the target key picture in response to the second input received by the second receiving module 1003;
其中,目标图片为:不包含目标关键对象的图片。The target picture is: a picture that does not contain the target key object.
可选地,如图11所示,该装置还包括:获取模块1005和第二显示模块1006;Optionally, as shown in FIG. 11 , the apparatus further includes: an acquisition module 1005 and a second display module 1006;
获取模块1005,用于响应于第二接收模块1003接收到的第二输入,显示目标图片或目标图片的缩略图之后,将目标关键对象合并到目标图片中,获取合并后的融合图片;The acquiring module 1005 is used for, in response to the second input received by the second receiving module 1003, after displaying the target picture or the thumbnail of the target picture, merge the target key object into the target picture, and obtain the merged fusion picture;
第二显示模块1006,用于显示获取模块1005获取到的融合图片或获取模块获取到的融合图片的缩略图。The second display module 1006 is configured to display the fused picture acquired by the acquisition module 1005 or the thumbnail of the fused picture acquired by the acquisition module.
可选地,如图11所示,该装置还包括:第三接收模块1007和执行模块1008;Optionally, as shown in FIG. 11 , the apparatus further includes: a third receiving module 1007 and an executing module 1008;
第三接收模块1007,用于接收用户对第一图片的第三输入;The third receiving module 1007 is configured to receive the third input of the user to the first picture;
执行模块1008,用于响应于第三接收模块1007接收到的第三输入,截取第一图片中每个关键对象对应的关键图片,并按照预置调整比例,显示截图模块截取到关键图片。The executing module 1008 is configured to, in response to the third input received by the third receiving module 1007, intercept the key pictures corresponding to each key object in the first picture, and adjust the ratio according to the preset, and display the key pictures intercepted by the screenshot module.
可选地,第二接收模块1003,具体用于接收用户对目标关键对象和对象逻辑关系的第二输入,目标关键对象包括第一关键对象和至少一个第二关键对象,对象逻辑关系用于指示各个目标关键对象之间的逻辑关系;Optionally, the second receiving module 1003 is specifically configured to receive the second input from the user to the target key object and the object logical relationship, the target key object includes a first key object and at least one second key object, and the object logical relationship is used to indicate The logical relationship between each target key object;
第一显示模块1004,具体用于响应于第二接收模块1003接收到的第二输入,在目标图片库中获取不包含第一关键对象的第一目标图片,以及不包含至少一个第二关键对象的第二目标图片,根据对象逻辑关系合并第一目标图片和第二目标图片得到目标图片,显示目标图片或者目标图片的缩略图。The first display module 1004 is specifically configured to, in response to the second input received by the second receiving module 1003, obtain a first target picture that does not include the first key object and does not include at least one second key object in the target picture library The second target picture is obtained by combining the first target picture and the second target picture according to the object logical relationship, and the target picture or the thumbnail of the target picture is displayed.
可选地,第二接收模块1003,具体还用于接收用户对目标关键对象和对象逻辑关系的第二输入,目标关键对象包括第一关键对象和至少一个第二关键对象,对象逻辑关系用于指示各个目标关键对象之间的逻辑关系;Optionally, the second receiving module 1003 is further configured to receive the second input of the user to the target key object and the object logical relationship, the target key object includes a first key object and at least one second key object, and the object logical relationship is used for Indicate the logical relationship between each target key object;
第一显示模块1004,具体还用于响应于第二接收模块1003接收到的第二输入,根据第一关键对象,至少一个第二关键对象和对象逻辑关系,在目标图片库中获取目标图片,并显示目标图片或者目标图像的缩略图。The first display module 1004 is further configured to, in response to the second input received by the second receiving module 1003, obtain the target picture in the target picture library according to the first key object, at least one second key object and the logical relationship of the object, And display the target image or thumbnail of the target image.
在本申请实施例提供的图片管理装置中,在接收到用户的第一输入后,可以通过识别第一图片中的关键对象,来确定出可能符合用户精细化的筛选需求的关键对象。然后,在接收到用户对至少一个关键对象中的目标关键对象的第二输入后,便可基于用户选择的目标关键对象,直接显示不包含目标关键对象的目标图片,或者目标图片的缩略图,无需用户逐张选择目标图片,即可获取符合用户筛选需求的全部图片,以减少管理目标图片所耗 费的时间。In the picture management device provided in the embodiment of the present application, after receiving the first input from the user, key objects that may meet the user's refined screening requirements can be determined by identifying the key objects in the first picture. Then, after receiving the second input from the user on the target key object in the at least one key object, based on the target key object selected by the user, the target picture that does not contain the target key object, or the thumbnail of the target picture can be directly displayed, Without the need for the user to select target images one by one, all images that meet the user's screening requirements can be obtained, so as to reduce the time spent on managing target images.
本申请实施例中的图片管理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(network attached storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The picture management apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的图片管理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为IOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The picture management apparatus in this embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的图片管理装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。The picture management apparatus provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and to avoid repetition, details are not repeated here.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, reference may be made to the beneficial effects of the corresponding implementations in the foregoing method embodiments, which are not repeated here to avoid repetition.
可选的,如图12所示,本申请实施例还提供一种电子设备1200,包括处理器1201,存储器1202,存储在存储器1202上并可在处理器1201上运行的程序或指令,该程序或指令被处理器1201执行时实现上述图片管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 12, an embodiment of the present application further provides an electronic device 1200, including a processor 1201, a memory 1202, and a program or instruction stored in the memory 1202 and executable on the processor 1201, the program Or when the instruction is executed by the processor 1201, each process of the above picture management method embodiments can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图13为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 13 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1300包括但不限于:射频单元1301、网络模块1302、音频输出单元1303、输入单元1304、传感器1305、显示单元1306、用户输入单元1307、接口单元1308、存储器1309、以及处理器1310等部件。The electronic device 1300 includes but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, and a processor 1310, etc. part.
本领域技术人员可以理解,电子设备1300还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1300 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1310 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 13 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
其中,用户输入单元1307,用于接收用户的第一输入;Wherein, the user input unit 1307 is used to receive the first input of the user;
处理器1310,用于响应于上述第一输入,识别第一图片中的至少一个关键对象;a processor 1310, configured to identify at least one key object in the first picture in response to the above-mentioned first input;
用户输入单元1307,还用于接收用户对上述至少一个关键对象中的目标关键对象的第二输入;The user input unit 1307 is further configured to receive a second input from the user to the target key object in the at least one key object;
显示单元1306,用于响应于上述第二输入,显示目标图片或目标图片的缩略图;其中,目标图片为:不包含目标关键对象的图片。The display unit 1306 is configured to display a target picture or a thumbnail of the target picture in response to the above-mentioned second input, wherein the target picture is a picture that does not contain the target key object.
可选地,处理器1310,还用于将上述目标关键对象合并到上述目标图片中,获取合并后的融合图片;Optionally, the processor 1310 is further configured to merge the above-mentioned target key object into the above-mentioned target picture, and obtain the merged fused picture;
显示单元1306,还用于显示上述融合图片或上述融合图片的缩略图。The display unit 1306 is further configured to display the above-mentioned fused picture or a thumbnail of the above-mentioned fused picture.
可选地,用户输入单元1307,还用于接收用户对上述第一图片的第三输入;Optionally, the user input unit 1307 is further configured to receive a third input from the user to the above-mentioned first picture;
显示单元1306,还用于响应于上述第三输入,截取上述第一图片中每个上述关键对象对应的关键图片,并按照预置调整比例,显示上述关键图片。The display unit 1306 is further configured to, in response to the third input, intercept a key picture corresponding to each of the key objects in the first picture, and adjust the ratio according to a preset to display the key picture.
可选地,用户输入单元1307,还用于接收用户对所述目标关键对象和对象逻辑关系的第二输入,所述目标关键对象包括第一关键对象和至少一个第二关键对象,所述对象逻辑关系用于指示各个所述目标关键对象之间的逻辑关系;Optionally, the user input unit 1307 is further configured to receive a second input from the user on the target key object and the logical relationship of the objects, the target key object includes a first key object and at least one second key object, the object The logical relationship is used to indicate the logical relationship between each of the target key objects;
显示单元1306,还用于响应于所述第二输入,在目标图片库中获取不包含所述第一关键对象的第一目标图片,以及不包含所述至少一个第二关键对象的第二目标图片,根据所述对象逻辑关系合并所述第一目标图片和所述第二目标图片得到目标图片,显示所述目标图片或者所述目标图片的缩略图。The display unit 1306 is further configured to, in response to the second input, acquire a first target picture that does not include the first key object and a second target that does not include the at least one second key object in the target picture library Picture, combining the first target picture and the second target picture according to the object logical relationship to obtain a target picture, and displaying the target picture or a thumbnail of the target picture.
可选地,用户输入单元1307,还用于接收用户对所述目标关键对象和对象逻辑关系的第二输入,所述目标关键对象包括第一关键对象和至少一个第二关键对象,所述对象逻辑关系用于指示各个所述目标关键对象之间的逻辑关系;Optionally, the user input unit 1307 is further configured to receive a second input from the user on the target key object and the logical relationship of the objects, the target key object includes a first key object and at least one second key object, the object The logical relationship is used to indicate the logical relationship between each of the target key objects;
显示单元1306,还用于响应于所述第二输入,根据所述第一关键对象,所述至少一个第二关键对象和所述对象逻辑关系,在目标图片库中获取目标图片,并显示所述目标图片或者所述目标图像的缩略图。The display unit 1306 is further configured to, in response to the second input, obtain the target picture in the target picture library according to the first key object, the at least one second key object and the logical relationship of the object, and display all the the target picture or the thumbnail of the target image.
在本申请实施例提供的电子设备中,在接收到用户的第一输入后,可以通过识别第一图片中的关键对象,来确定出可能符合用户精细化的筛选需求的关键对象。然后,在接收到用户对至少一个关键对象中的目标关键对象的第二输入后,便可基于用户选择的目标关键对象,直接显示不包含目标关键对象的目标图片,或者目标图片的缩略图,无需用户逐张选择目标图片,即可获取符合用户筛选需求的全部图片,以减少管理目标图片所耗费的 时间。In the electronic device provided by the embodiment of the present application, after receiving the user's first input, key objects that may meet the user's refined screening requirements can be determined by identifying key objects in the first picture. Then, after receiving the second input from the user on the target key object in the at least one key object, based on the target key object selected by the user, the target picture that does not contain the target key object, or the thumbnail of the target picture can be directly displayed, Without the need for the user to select target images one by one, all images that meet the user's screening requirements can be obtained, so as to reduce the time spent on managing target images.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, reference may be made to the beneficial effects of the corresponding implementations in the foregoing method embodiments, which are not repeated here to avoid repetition.
应理解的是,本申请实施例中,输入单元1304可以包括图形处理器(graphics processing unit,GPU)13041和麦克风13042,图形处理器13041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1306可包括显示面板13061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板13061。用户输入单元1307包括触控面板13071以及其他输入设备13072。触控面板13071,也称为触摸屏。触控面板13071可包括触摸检测装置和触摸控制器两个部分。其他输入设备13072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1309可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1310中。It should be understood that, in this embodiment of the present application, the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042. Such as camera) to obtain still pictures or video image data for processing. The display unit 1306 may include a display panel 13061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and other input devices 13072 . The touch panel 13071 is also called a touch screen. The touch panel 13071 may include two parts, a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again. Memory 1309 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1310 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1310.
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图片管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above picture management method embodiment can be implemented, and the same can be achieved. The technical effect, in order to avoid repetition, will not be repeated here.
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The processor is the processor in the electronic device in the above embodiment. A readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和该处理器耦合,该处理器用于运行程序或指令,实现上述图片管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above image management method embodiments, and The same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的 是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes 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 the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器或者网络设备等)执行本申请各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to enable a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (15)

  1. 一种图片管理方法,所述方法包括:A picture management method, the method includes:
    接收用户的第一输入;响应于所述第一输入,识别第一图片中的至少一个关键对象;receiving a first input from the user; in response to the first input, identifying at least one key object in the first picture;
    接收用户对所述至少一个关键对象中的目标关键对象的第二输入;receiving a second user input to a target key object of the at least one key object;
    响应于所述第二输入,显示目标图片或所述目标图片的缩略图;In response to the second input, displaying a target picture or a thumbnail of the target picture;
    其中,所述目标图片为:不包含所述目标关键对象的图片。Wherein, the target picture is a picture that does not include the target key object.
  2. 根据权利要求1所述的方法,其中,所述响应于所述第二输入,显示目标图片或所述目标图片的缩略图之后,所述方法还包括:The method according to claim 1, wherein after displaying the target picture or the thumbnail of the target picture in response to the second input, the method further comprises:
    将所述目标关键对象合并到所述目标图片中,获取合并后的融合图片;Merging the target key object into the target picture to obtain a merged fused picture;
    显示所述融合图片或所述融合图片的缩略图。Display the fused picture or a thumbnail of the fused picture.
  3. 根据权利要求1所述的方法,其中,所述响应于所述第一输入,识别第一图片中的至少一个关键对象之后,所述方法还包括:The method of claim 1, wherein, after identifying at least one key object in the first picture in response to the first input, the method further comprises:
    接收用户对所述第一图片的第三输入;receiving a third input from the user on the first picture;
    响应于所述第三输入,截取所述第一图片中每个所述关键对象对应的关键图片,并按照预置调整比例,显示所述关键图片。In response to the third input, a key picture corresponding to each of the key objects in the first picture is intercepted, and the key picture is displayed according to a preset adjustment ratio.
  4. 根据权利要求1所述的方法,其中,所述接收用户对所述至少一个关键对象中的目标关键对象的第二输入,包括:The method of claim 1, wherein the receiving a second user input on a target key object of the at least one key object comprises:
    接收用户对所述目标关键对象和对象逻辑关系的第二输入,所述目标关键对象包括第一关键对象和至少一个第二关键对象,所述对象逻辑关系用于指示各个所述目标关键对象之间的逻辑关系;Receive a second input from the user on the target key object and the object logical relationship, the target key object includes a first key object and at least one second key object, and the object logical relationship is used to indicate the relationship between each of the target key objects. logical relationship between
    所述响应于所述第二输入,显示目标图片或所述目标图片的缩略图,包括:The displaying the target picture or the thumbnail of the target picture in response to the second input includes:
    响应于所述第二输入,在目标图片库中获取不包含所述第一关键对象的第一目标图片,以及不包含所述至少一个第二关键对象的第二目标图片,根据所述对象逻辑关系合并所述第一目标图片和所述第二目标图片得到目标图片,显示所述目标图片或者所述目标图片的缩略图。In response to the second input, obtain a first target picture that does not include the first key object, and a second target picture that does not include the at least one second key object in the target picture library, according to the object logic The first target picture and the second target picture are combined to obtain a target picture, and the target picture or a thumbnail of the target picture is displayed.
  5. 根据权利要求1所述的方法,其中,所述接收用户对所述至少一个关键对象中 的目标关键对象的第二输入,包括:The method of claim 1, wherein the receiving a second user input to a target key object in the at least one key object comprises:
    接收用户对所述目标关键对象和对象逻辑关系的第二输入,所述目标关键对象包括第一关键对象和至少一个第二关键对象,所述对象逻辑关系用于指示各个所述目标关键对象之间的逻辑关系;Receive a second input from the user on the target key object and the object logical relationship, the target key object includes a first key object and at least one second key object, and the object logical relationship is used to indicate the relationship between each of the target key objects. logical relationship between
    所述响应于所述第二输入,显示目标图片或所述目标图片的缩略图,包括:响应于所述第二输入,根据所述第一关键对象,所述至少一个第二关键对象和所述对象逻辑关系,在目标图片库中获取目标图片,并显示所述目标图片或者所述目标图像的缩略图。The displaying the target picture or the thumbnail of the target picture in response to the second input includes: in response to the second input, according to the first key object, the at least one second key object and all the Describe the logical relationship of the objects, obtain the target picture in the target picture library, and display the target picture or the thumbnail of the target image.
  6. 一种图片管理装置,所述装置包括:第一接收模块、识别模块、第二接收模块和第一显示模块;A picture management device, the device includes: a first receiving module, an identification module, a second receiving module and a first display module;
    所述第一接收模块,用于接收用户的第一输入;the first receiving module, configured to receive the first input of the user;
    所述识别模块,用于响应于所述第一接收模块接收的第一输入,识别第一图片中的至少一个关键对象;the identifying module, configured to identify at least one key object in the first picture in response to the first input received by the first receiving module;
    所述第二接收模块,用于接收用户对所述识别模块识别出的至少一个关键对象中的目标关键对象的第二输入;the second receiving module, configured to receive the second input from the user to the target key object in the at least one key object identified by the identification module;
    所述第一显示模块,用于响应于所述第二接收模块接收的第二输入,显示目标图片或目标关键图片的缩略图;the first display module, configured to display the thumbnail of the target picture or the target key picture in response to the second input received by the second receiving module;
    其中,所述目标图片为:不包含所述目标关键对象的图片。Wherein, the target picture is a picture that does not include the target key object.
  7. 根据权利要求6所述的装置,其中,所述装置还包括:获取模块和第二显示模块;The apparatus according to claim 6, wherein the apparatus further comprises: an acquisition module and a second display module;
    所述获取模块,用于所述响应于所述第二接收模块接收到的第二输入,显示目标图片或所述目标图片的缩略图之后,将所述目标关键对象合并到所述目标图片中,获取合并后的融合图片;The obtaining module is configured to merge the target key object into the target picture after displaying the target picture or the thumbnail of the target picture in response to the second input received by the second receiving module , to obtain the merged fused image;
    所述第二显示模块,用于显示所述获取模块获取到的融合图片或所述获取模块获取到的融合图片的缩略图。The second display module is configured to display the fusion picture acquired by the acquisition module or the thumbnail of the fusion picture acquired by the acquisition module.
  8. 根据权利要求6所述的装置,其中,所述装置还包括:第三接收模块和执行模块;The apparatus according to claim 6, wherein the apparatus further comprises: a third receiving module and an executing module;
    所述第三接收模块,用于接收用户对所述第一图片的第三输入;The third receiving module is configured to receive the third input of the first picture from the user;
    所述执行模块,用于响应于所述第三输入,截取所述第一图片中每个所述关键对象对应的关键图片,并按照预置调整比例,显示所述截图模块截取到关键图片。The execution module is configured to, in response to the third input, intercept a key picture corresponding to each of the key objects in the first picture, and display the key picture intercepted by the screenshot module according to a preset adjustment ratio.
  9. 根据权利要求6所述的装置,其中,所述第二接收模块,具体用于接收用户对所述目标关键对象和对象逻辑关系的第二输入,所述目标关键对象包括第一关键对象和至少一个第二关键对象,所述对象逻辑关系用于指示各个所述目标关键对象之间的逻辑关系;The apparatus according to claim 6, wherein the second receiving module is specifically configured to receive a second input from the user on the target key object and the logical relationship of the object, the target key object comprising the first key object and at least A second key object, the object logical relationship is used to indicate the logical relationship between each of the target key objects;
    所述第一显示模块,具体用于响应于所述第二接收模块接收到的第二输入,在目标图片库中获取不包含所述第一关键对象的第一目标图片,以及不包含所述至少一个第二关键对象的第二目标图片,根据所述对象逻辑关系合并所述第一目标图片和所述第二目标图片得到目标图片,显示所述目标图片或者所述目标图片的缩略图。The first display module is specifically configured to, in response to the second input received by the second receiving module, obtain a first target picture that does not include the first key object in the target picture library, and A second target picture of at least one second key object, combining the first target picture and the second target picture according to the object logical relationship to obtain a target picture, and displaying the target picture or a thumbnail of the target picture.
  10. 根据权利要求6所述的装置,其中,所述第二接收模块,具体还用于接收用户对所述目标关键对象和对象逻辑关系的第二输入,所述目标关键对象包括第一关键对象和至少一个第二关键对象,所述对象逻辑关系用于指示各个所述目标关键对象之间的逻辑关系;The apparatus according to claim 6, wherein the second receiving module is further configured to receive a second input from the user on the target key object and the logical relationship of the objects, the target key object includes the first key object and At least one second key object, the object logical relationship is used to indicate the logical relationship between each of the target key objects;
    所述第一显示模块,具体还用于响应于所述第二接收模块接收到的第二输入,根据所述第一关键对象,所述至少一个第二关键对象和所述对象逻辑关系,在目标图片库中获取目标图片,并显示所述目标图片或者所述目标图像的缩略图。The first display module is further configured to respond to the second input received by the second receiving module, according to the first key object, the logical relationship between the at least one second key object and the object, in the The target picture is acquired from the target picture library, and the target picture or the thumbnail of the target image is displayed.
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述的图片管理方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to achieve as claimed in claims 1 to 5 The steps of any one of the picture management methods.
  12. 一种可读存储介质所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述的图片管理方法的步骤。A readable storage medium stores programs or instructions on the readable storage medium, and when the programs or instructions are executed by a processor, implements the steps of the picture management method according to any one of claims 1 to 5.
  13. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的图片管理方法的步骤。A computer program product executed by at least one processor to implement the steps of the picture management method as claimed in any one of claims 1 to 5.
  14. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的图片管 理方法的步骤。A chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction to realize the picture according to any one of claims 1 to 5 The steps of the management method.
  15. 一种电子设备,包括所述电子设备被配置成用于执行以实现如权利要求1至5中任一项所述的图片管理方法的步骤。An electronic device, comprising the steps of the electronic device being configured to perform to implement the picture management method as claimed in any one of claims 1 to 5.
PCT/CN2022/088948 2021-04-28 2022-04-25 Image management method and apparatus, electronic device, and readable storage medium WO2022228373A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110470454.5A CN113282780A (en) 2021-04-28 2021-04-28 Picture management method and device, electronic equipment and readable storage medium
CN202110470454.5 2021-04-28

Publications (1)

Publication Number Publication Date
WO2022228373A1 true WO2022228373A1 (en) 2022-11-03

Family

ID=77277818

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/088948 WO2022228373A1 (en) 2021-04-28 2022-04-25 Image management method and apparatus, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN113282780A (en)
WO (1) WO2022228373A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282780A (en) * 2021-04-28 2021-08-20 维沃移动通信有限公司 Picture management method and device, electronic equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140010465A1 (en) * 2012-07-09 2014-01-09 Canon Kabushiki Kaisha Apparatus and method for managing an object extracted from image data
US20160147792A1 (en) * 2013-07-12 2016-05-26 Samsung Electronics Co., Ltd. Image display method and device
CN107239203A (en) * 2016-03-29 2017-10-10 北京三星通信技术研究有限公司 A kind of image management method and device
CN109947975A (en) * 2017-11-13 2019-06-28 株式会社日立制作所 Image retrieving apparatus, image search method and its used in setting screen
CN111597369A (en) * 2020-05-18 2020-08-28 Oppo广东移动通信有限公司 Photo viewing method and device, storage medium and terminal
CN113282780A (en) * 2021-04-28 2021-08-20 维沃移动通信有限公司 Picture management method and device, electronic equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140010465A1 (en) * 2012-07-09 2014-01-09 Canon Kabushiki Kaisha Apparatus and method for managing an object extracted from image data
US20160147792A1 (en) * 2013-07-12 2016-05-26 Samsung Electronics Co., Ltd. Image display method and device
CN107239203A (en) * 2016-03-29 2017-10-10 北京三星通信技术研究有限公司 A kind of image management method and device
CN109947975A (en) * 2017-11-13 2019-06-28 株式会社日立制作所 Image retrieving apparatus, image search method and its used in setting screen
CN111597369A (en) * 2020-05-18 2020-08-28 Oppo广东移动通信有限公司 Photo viewing method and device, storage medium and terminal
CN113282780A (en) * 2021-04-28 2021-08-20 维沃移动通信有限公司 Picture management method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113282780A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
TWI651640B (en) Organize digital notes on the user interface
WO2021238943A1 (en) Gif picture generation method and apparatus, and electronic device
US20150277686A1 (en) Systems and Methods for the Real-Time Modification of Videos and Images Within a Social Network Format
WO2022166944A1 (en) Photographing method and apparatus, electronic device, and medium
US20230345113A1 (en) Display control method and apparatus, electronic device, and medium
CN113093960B (en) Image editing method, editing device, electronic device and readable storage medium
US20240196082A1 (en) Image Processing Method and Apparatus, and Electronic Device
CN113079316A (en) Image processing method, image processing device and electronic equipment
WO2023284639A1 (en) Display control method and apparatus
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
WO2023030115A1 (en) Interface display method and apparatus
WO2022228373A1 (en) Image management method and apparatus, electronic device, and readable storage medium
CN112911147A (en) Display control method, display control device and electronic equipment
CN112965681A (en) Image processing method, apparatus, device, and storage medium
WO2022135476A1 (en) Screenshot method and apparatus, and electronic device
WO2022156673A1 (en) Display control method and apparatus, electronic device, and medium
WO2022068719A1 (en) Image display method and apparatus, and electronic device
CN112929494B (en) Information processing method, information processing apparatus, information processing medium, and electronic device
CN112698775B (en) Image display method and device and electronic equipment
CN111885298B (en) Image processing method and device
CN112449110A (en) Image processing method and device and electronic equipment
CN112330728A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN112148185A (en) Image display method and device
WO2023155874A1 (en) Application icon management method and apparatus, and electronic device
WO2023284640A1 (en) Picture processing method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22794843

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22794843

Country of ref document: EP

Kind code of ref document: A1