CN113271378B - Image processing method and device and electronic equipment - Google Patents

Image processing method and device and electronic equipment Download PDF

Info

Publication number
CN113271378B
CN113271378B CN202110450089.1A CN202110450089A CN113271378B CN 113271378 B CN113271378 B CN 113271378B CN 202110450089 A CN202110450089 A CN 202110450089A CN 113271378 B CN113271378 B CN 113271378B
Authority
CN
China
Prior art keywords
multimedia files
target
input
objects
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110450089.1A
Other languages
Chinese (zh)
Other versions
CN113271378A (en
Inventor
刘耘彰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110450089.1A priority Critical patent/CN113271378B/en
Publication of CN113271378A publication Critical patent/CN113271378A/en
Application granted granted Critical
Publication of CN113271378B publication Critical patent/CN113271378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an image processing method, an image processing device and electronic equipment, and belongs to the technical field of image processing. The method comprises the following steps: receiving a first input of a user with a target image being displayed, the target image comprising at least one first object; responding to the first input, and determining M multimedia files from all multimedia files stored in the electronic equipment based on target characteristic information of a target object and input duration of the first input, wherein M is a positive integer; performing a target operation on the M multimedia files; the M multimedia files are multimedia files which are stored in a target time period and comprise target objects, the target time period has a corresponding relation with the input duration, the target objects are objects in at least one first object, and the target objects are determined based on the first input.

Description

Image processing method and device and electronic equipment
Technical Field
The application belongs to the technical field of image processing, and particularly relates to an image processing method, an image processing device and electronic equipment.
Background
Along with the continuous improvement of the photographing effect of the electronic equipment, the memory space occupied by the photographed pictures is larger and larger. If the electronic device is not subjected to photo processing for a long time (for example, deleting a photo or adjusting the size of the memory occupied by the photo), the electronic device may have insufficient storage space, and the electronic device may run slowly and get stuck.
In the related art, an electronic device has a function of cleaning a storage space, releases the storage space of the electronic device, and keeps the operation state of the electronic device good. The user can find photos to be processed through the sliding page, and after selecting, the electronic equipment is triggered to process the photos.
However, in the above method, the user needs to select the photos multiple times and confirm the processing, so as to trigger the electronic device to process the corresponding photos. The whole operation flow is longer, the user operation is not intelligent enough and is not convenient enough, a more efficient mode cannot be provided for the user, and the electronic equipment is triggered to process the photos quickly. Therefore, the operation of the user is cumbersome and time-consuming, so that the efficiency of the electronic device in processing the image is low.
Disclosure of Invention
The embodiment of the application aims to provide an image processing method, an image processing device and electronic equipment, which can solve the problem that the efficiency of processing images by the electronic equipment is low.
In a first aspect, an embodiment of the present application provides an image processing method, including: receiving a first input of a user with a target image being displayed, the target image comprising at least one first object; responding to the first input, and determining M multimedia files from all multimedia files stored in the electronic equipment based on target characteristic information of a target object and input duration of the first input, wherein M is a positive integer; performing a target operation on the M multimedia files; the M multimedia files are multimedia files which are stored in a target time period and comprise target objects, the target time period has a corresponding relation with the input duration, the target objects are objects in at least one first object, and the target objects are determined based on the first input.
In a second aspect, an embodiment of the present application provides an image processing apparatus, including: the device comprises a receiving module, a determining module and an executing module. The receiving module is used for receiving a first input of a user under the condition that a target image is displayed, wherein the target image comprises at least one first object. And the determining module is used for responding to the first input received by the receiving module, determining M multimedia files from all the multimedia files stored in the electronic equipment based on the target characteristic information of the target object and the input duration of the first input, wherein M is a positive integer. And the execution module is used for executing target operation on the M multimedia files. The M multimedia files are multimedia files which are stored in a target time period and comprise target objects, the target time period has a corresponding relation with the input duration, the target objects are objects in at least one first object, and the target objects are determined based on the first input.
In a third aspect, embodiments of the present application provide 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 implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In this embodiment of the present application, when the electronic device displays a target image including at least one first object, a user may perform a first input on the target image, so that the electronic device may determine, according to target feature information of the target object in the at least one first object and an input duration of the first input on the target image by the user, M multimedia files including the target object stored in a target time period from all multimedia files stored in the electronic device, and perform a target operation on the M multimedia files. Since the user can directly input the target image under the condition that the electronic device displays the target image, the electronic device is triggered to execute the target operation on the M multimedia files stored in the target time period corresponding to the input time period of the target image input by the user based on the target characteristic information of the target object included in the target image and the input time period of the target image input by the user. Therefore, the user does not need to trigger the electronic equipment to select the multimedia file to be processed through multiple inputs, and the electronic equipment can process the corresponding multimedia file after confirming the processing. Therefore, the operation of the user can be simplified, thereby improving the efficiency of the electronic device in processing the image.
Drawings
FIG. 1 is a schematic diagram of an image processing method according to an embodiment of the present disclosure;
fig. 2 is one example schematic diagram of an interface of a mobile phone according to an embodiment of the present application;
FIG. 3 is a second schematic diagram of an image processing method according to an embodiment of the present disclosure;
FIG. 4 is a second exemplary diagram of an interface of a mobile phone according to an embodiment of the present disclosure;
FIG. 5 is a third schematic diagram of an image processing method according to an embodiment of the present disclosure;
fig. 6 is one of schematic structural diagrams of an image processing apparatus according to an embodiment of the present application;
FIG. 7 is a second schematic diagram of an image processing apparatus according to the embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 9 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The image processing method provided by the embodiment of the application is applied to processing scenes of multimedia files (such as pictures, moving pictures, videos and the like) stored in electronic equipment, and specific application scenes can be determined according to actual use requirements, so that the application is not limited specifically.
Taking the example of deleting the pictures stored in the electronic device as an example, if the user needs to trigger the electronic device to delete some pictures (for example, the pictures are a plurality of pictures including the picture 1 stored in the last month), the user can input a certain picture a of the user 1 when the electronic device displays the picture a (or input a face image of the user 1 included in the picture a), so that the electronic device can obtain the face image including the user 1 from all multimedia files (picture files, video files and the like) stored in the electronic device according to the input duration of the user inputting the picture a, and the pictures can be directly deleted.
For example, when the user performs a pressing input for a time period of 1s on the face image of the user 1 included in the displayed photo a, the electronic device may acquire a plurality of pictures including the face image of the user 1 and stored in the latest one month from all the stored multimedia files (picture files, video files, etc.), and delete the pictures; or, the user performs a pressing input for a time period of 2s on the face image of the user 2 included in the displayed photo a, and the electronic device may acquire a plurality of pictures including the face image of the user 2 and stored in the last two months from all the stored multimedia files (picture files, video files, etc.), and delete the pictures.
Therefore, in the embodiment of the application, the user does not need to select and delete the multimedia files to be deleted one by one through the file management interface. Therefore, the operation of a user can be simplified, and the efficiency and the flexibility of cleaning the image of the electronic equipment are improved.
The image processing method provided by the embodiment of the application is described in detail below by means of specific embodiments and application scenes thereof with reference to the accompanying drawings.
An embodiment of the present application provides an image processing method, and fig. 1 shows a flowchart of the image processing method provided in the embodiment of the present application, where the method may be applied to an electronic device. As shown in fig. 1, the image processing method provided in the embodiment of the present application may include the following steps 201 to 203.
In step 201, in a case of displaying a target image, the electronic device receives a first input of a user.
In this embodiment of the present application, the target image includes at least one first object, and the first input is a long-press input of a user to a corresponding area in the target image.
In this embodiment of the present invention, when the electronic device displays a target image including at least one first object, the user may perform a first input to trigger the electronic device to determine, from all multimedia files stored in the electronic device, M multimedia files including the target object stored in a target time period, based on target feature information of the target object in the at least one first object and an input duration of the first input performed by the user, and perform a target operation on the multimedia files.
Optionally, in an embodiment of the present application, at least one first object included in the target image may be any one of the following: the present application is not limited to face images, animal images, plant images, object images, and the like, and in the following embodiments, the present application exemplifies a face image as an object and a face image as a target object. The face image may be understood as an area corresponding to a display of a person picture in the target image.
In this embodiment of the present application, the target image may be any one of the following: pictures, photographs, a frame of picture in a picture, a frame of picture in a video, etc. That is, the multimedia file corresponding to the target image may be any one of the following: picture files, photo files, video files, etc.
Optionally, in the embodiment of the present application, in a case where the target image includes only one first object, the first input is an input of a user to an arbitrary position in the target image, the target object is one first object, and the M multimedia files are multimedia files including only the target object.
Optionally, in the embodiment of the present application, in a case where the target image includes at least two first objects, the first input is an input of at least one first object from the at least two first objects by a user, the target object is at least one first object, and the M multimedia files are multimedia files including at least the target object.
An electronic device is exemplified as a mobile phone. As shown in fig. 2, the mobile phone displays a target image 10, in which a first face image 11 and a second face image 12 are included, and the mobile phone marks the first face image 11 and the second face image 12 to be displayed (in the form of a dashed box in the figure) in the target image 10 through a face recognition function, so that a user can perform long-press input on the first face image 11 to trigger the mobile phone to determine M multimedia files from all multimedia files stored in the mobile phone according to the long-press input of the user.
Step 202, the electronic device responds to the first input, and determines M multimedia files from all multimedia files stored in the electronic device based on target characteristic information of a target object and input duration of the first input.
In this embodiment of the present invention, M is a positive integer, where the M multimedia files are multimedia files including a target object stored in a target time period, where the target time period has a correspondence with an input duration, and the target object is an object in at least one first object, where the target object is determined based on a first input.
Optionally, in the embodiment of the present application, the electronic device may acquire the target object, and identify the target object through an object identification technology (face identification technology), so as to obtain target feature information of the target object, for example, target face feature information.
Optionally, in the embodiment of the present application, the target facial feature information may be obtained through a face recognition technology, which is a biometric technology for performing identity recognition based on facial feature information of a person. A series of related technologies, commonly referred to as image recognition and face recognition, are used to capture images or video streams containing faces with a camera or cameras, and automatically detect and track the faces in the images, thereby performing face recognition on the detected faces.
Optionally, in the embodiment of the present application, the electronic device may parse all multimedia files stored in the electronic device according to the target face feature information obtained by the face recognition technology, so as to determine which multimedia files include the target face image, and obtain the multimedia files (i.e., M multimedia files) including the target face image.
In this embodiment of the present application, the correspondence between the target time period and the input duration may be understood as: under the condition that the input duration of the first input of the user is a unit duration, the target time period is a time period corresponding to a preset duration; under the condition that the input duration of the first input of the user is two unit durations, the target time period is a time period corresponding to two preset durations; i.e. a time period corresponding to a preset time period corresponding to a unit time length. For example, if the input duration of the first input by the user is 1s, the target time period is a time period corresponding to the last 1 month, and if the input duration of the first input by the user is 2s, the target time period is a time period corresponding to the last 2 months.
For example, when the electronic device displays a single photo (i.e. the target image includes only one face image), the user may perform a first input at any one position in the photo, so as to trigger the electronic device to screen all multimedia files including the face image (including, for example, the single photo and the multiple photo of the face image) from all the stored multimedia files, and determine the multimedia files in different time ranges according to the input duration of the first input performed by the user. For example, if the input duration of the first input by the user is 1s, screening out the multimedia file stored in the last 1 month; and if the input duration of the first input is 2s, screening out the multimedia files stored in the last 2 months.
Also for example, when the electronic device displays a multi-person photo (i.e., the target image includes a plurality of face images), if the user needs to trigger the electronic device to process a photo including some persons, the user may input an area corresponding to the person to be processed on the multi-person photo. If the user inputs a face image, the electronic device may screen all multimedia files including the face image (e.g., including a single person and multiple persons of the face image) from all stored multimedia files; if the user inputs two face images, the electronic device can screen all multimedia files comprising the two face images from all stored multimedia files. Meanwhile, the electronic equipment can determine the multimedia files in different time ranges according to the input duration of the first input by the user.
Step 203, the electronic device performs a target operation on the M multimedia files.
Optionally, in the embodiment of the present application, after determining M multimedia files from all the stored multimedia files, the electronic device may directly process the M multimedia files, or display a prompt message, and after determining by the user, process the M multimedia files.
Alternatively, in the embodiment of the present application, the above target operation may be any one of the following: deletion operation, file transfer operation, file editing operation, etc., the target operation is described as an example in the embodiment of the present application.
The embodiment of the application provides an image processing method, when an electronic device displays a target image including at least one first object, a user can perform first input on the target image, so that the electronic device can determine M multimedia files including the target object stored in a target time period from all multimedia files stored in the electronic device according to target feature information of the target object in the at least one first object and input time length of the first input on the target image by the user, and execute target operation on the M multimedia files. Since the user can directly input the target image under the condition that the electronic device displays the target image, the electronic device is triggered to execute the target operation on the M multimedia files stored in the target time period corresponding to the input time period of the target image input by the user based on the target characteristic information of the target object included in the target image and the input time period of the target image input by the user. Therefore, the user does not need to trigger the electronic equipment to select the multimedia file to be processed through multiple inputs, and the electronic equipment can process the corresponding multimedia file after confirming the processing. Therefore, the operation of the user can be simplified, thereby improving the efficiency of the electronic device in processing the image.
Optionally, in the embodiment of the present application, as shown in fig. 3 in conjunction with fig. 1, before step 203, the image processing method provided in the embodiment of the present application may further include steps 301 to 303 described below, and step 203 may be specifically implemented by step 203a described below.
Step 301, the electronic device displays M multimedia files.
Optionally, in the embodiment of the present application, when the first input is completed, the electronic device may display all the saved multimedia files, and select (i.e. display by marking) M multimedia files in all the multimedia files.
Optionally, in the embodiment of the present application, after the electronic device determines M multimedia files from all the stored multimedia files, the electronic device may display the M multimedia files (for example, display preview images of the M multimedia files) first, so that a user may intuitively view specific contents of the multimedia files to be processed.
Optionally, in the embodiment of the present application, the electronic device may display M multimedia files in a screen according to a display manner of the preview image, so as to display an identifier and/or a preview screen of each multimedia file.
Step 302, the electronic device receives a second input from a user for the M multimedia files.
Optionally, in the embodiment of the present application, the user may adjust the number of M multimedia files, so as to adjust the M multimedia files to be processed, so as to increase or decrease the number of multimedia files to be processed (i.e., the number of M multimedia files).
Optionally, in the embodiment of the present application, when the electronic device displays all the saved multimedia files and selects M multimedia files in all the multimedia files, the user may input unselected multimedia files, so that the electronic device adds the selected multimedia files, or the user may input the selected multimedia files, so that the electronic device may reduce the selected multimedia files, thereby adjusting specific files included in the M multimedia files.
Step 303, the electronic device adjusts the number of M multimedia files in response to the second input, to obtain N multimedia files.
In the embodiment of the application, N is a positive integer; the electronic equipment adjusts and redetermines the multimedia files to be processed according to the input of the user on the displayed multimedia files, namely, M multimedia files are adjusted into N multimedia files.
For example, in conjunction with fig. 2, after the user performs long-press input on the first face image 11, and triggers the mobile phone to determine M multimedia files from all the stored multimedia files, the mobile phone may display all the multimedia files on the screen and mark the selected M multimedia files, so that the user may input the displayed multimedia files to trigger the mobile phone to add the marked selected multimedia files or reduce the marked selected multimedia files, as shown in (B) of fig. 4, to select N multimedia files to be deleted for the marked determined after the user adjusts.
Step 203a, the electronic device performs a target operation on the N multimedia files.
In the embodiment of the application, the electronic device executes the target operation on the N multimedia files adjusted by the user.
Optionally, in the embodiment of the present application, the target operation is a deletion operation, and the electronic device deletes N multimedia files adjusted by the user from the storage device.
In the embodiment of the present application, after the electronic device determines M multimedia files from all the stored multimedia files, the electronic device may display the M multimedia files in a screen, so that a user may intuitively view what the multimedia files to be processed are, and the user may input the multimedia files, so that the electronic device may adjust the number of M multimedia files, thereby adjusting the multimedia files to be processed, and process N multimedia files obtained after the adjustment, so that flexibility of the electronic device in processing the multimedia files may be improved.
Alternatively, in the embodiment of the present application, as shown in fig. 5 in conjunction with fig. 3, the above step 301 may be specifically implemented by the following step 301 a.
In step 301a, the electronic device classifies the M multimedia files into P categories, and displays the M multimedia files according to the categories.
In the embodiment of the application, P is a positive integer; the categories of the M multimedia files include at least one of the following: a multimedia file including only the target object, a multimedia file including the target object and other objects; the other objects are objects other than the target object.
Optionally, in the embodiment of the present application, the electronic device may classify the M multimedia files according to the face images included in the multimedia files, so as to obtain multiple types of multimedia files.
It should be noted that, when the electronic device directly processes the multimedia files corresponding to a face image, the user cannot know which multimedia files will be processed together, and cannot determine whether some multimedia files need not be processed through browsing. Therefore, the M multimedia files can be classified, and the multimedia files can be displayed according to the classification, so that a user can check and screen the multimedia files to be processed, selectively process the multimedia files, and shield the multimedia files which do not need to be processed.
In the embodiment of the application, when the electronic device displays the M multimedia files, the electronic device may display the multimedia files including the target face image in a classified manner, and may perform selection input on the displayed multimedia files to trigger the electronic device to adjust the selected multimedia files, so as to increase or decrease the multimedia files to be processed.
According to the method and the device for processing the multimedia files, the electronic equipment can divide M multimedia files into P types and display the M multimedia files according to the categories, so that a user can quickly adjust the multimedia files to be processed from the multimedia files only comprising the target face image and the multimedia files comprising the target face image and other face images according to requirements, and the efficiency of the electronic equipment for processing the multimedia files can be improved.
It should be noted that, in the image processing method provided in the embodiment of the present application, the execution subject may be an image processing apparatus, or a control module for executing the image processing method in the image processing apparatus. In the embodiment of the present application, an image processing apparatus provided in the embodiment of the present application will be described by taking an example in which the image processing apparatus executes a loaded image processing method.
Fig. 6 shows a schematic diagram of one possible configuration of an image processing apparatus involved in the embodiment of the present application. As shown in fig. 6, the image processing apparatus 70 may include: a receiving module 71, a determining module 72 and an executing module 73.
Wherein the receiving module 71 is configured to receive a first input of a user in a case where a target image is displayed, the target image including at least one first object. The determining module 72 is configured to determine M multimedia files from all multimedia files stored in the electronic device, where M is a positive integer, based on the target feature information of the target object and the input duration of the first input, in response to the first input received by the receiving module 71. An execution module 73, configured to execute a target operation on the M multimedia files. The M multimedia files are multimedia files which are stored in a target time period and comprise target objects, the target time period has a corresponding relation with the input duration, the target objects are objects in at least one first object, and the target objects are determined based on the first input.
In one possible implementation, in the case that the target image includes only one first object, the first input is an input of a user to an arbitrary position in the target image, the target object is one first object, and the M multimedia files are multimedia files including only the target object.
In one possible implementation, in a case where the target image includes at least two face images, the first input is a user input to at least two first objects, the target object is at least one first object, and the M multimedia files are multimedia files including at least the target object.
In one possible implementation manner, in conjunction with fig. 6, as shown in fig. 7, the image processing apparatus 70 provided in the embodiment of the present application may further include: a display module 74 and an adjustment module 75. Wherein, the display module 74 is configured to display the M multimedia files before the execution module 73 performs the target operation on the M multimedia files. The receiving module 71 is further configured to receive a second input from the user for the M multimedia files. The adjustment module 75 is configured to adjust the number of M multimedia files in response to the second input received by the receiving module 71, so as to obtain N multimedia files, where N is a positive integer. The execution module 73 is specifically configured to execute a target operation on the N multimedia files.
In one possible implementation, the display module 74 is specifically configured to divide M multimedia files into P classes, and display the M multimedia files according to the classes, where P is a positive integer. Wherein the categories of the M multimedia files comprise at least one of the following categories: a multimedia file including only the target object, a multimedia file including the target object and other objects; the other objects are objects other than the target object.
The image processing device provided in the embodiment of the present application can implement each process implemented by the image processing device in the embodiment of the method, and for avoiding repetition, detailed description is omitted here.
The embodiment of the application provides an image processing device, because under the condition that an electronic device displays a target image, a user can directly input the target image, the electronic device is triggered to execute target operations on M stored multimedia files comprising the target object in a target time period corresponding to the input time period of the target image input by the user from the electronic device based on target characteristic information of the target object included in the target image and the input time period of the target image input by the user. Therefore, the user does not need to trigger the electronic equipment to select the multimedia file to be processed through multiple inputs, and the electronic equipment can process the corresponding multimedia file after confirming the processing. Therefore, the operation of the user can be simplified, thereby improving the efficiency of the electronic device in processing the image.
The image processing device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The image processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
Optionally, as shown in fig. 8, the embodiment of the present application further provides an electronic device M00, including a processor M01, a memory M02, and a program or an instruction stored in the memory M02 and capable of running on the processor M01, where the program or the instruction implements each process of the embodiment of the image processing method when executed by the processor M01, and the process can achieve the same technical effect, so that repetition is avoided and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the user input unit 107 is configured to receive a first input of a user in case of displaying a target image, the target image comprising at least one first object.
The processor 110 is configured to determine M multimedia files from all multimedia files stored in the electronic device, based on the target feature information of the target object and the input duration of the first input, in response to the first input, where M is a positive integer.
The processor 110 is further configured to perform a target operation on the M multimedia files; the M multimedia files are multimedia files which are stored in a target time period and comprise target objects, the target time period has a corresponding relation with the input duration, the target objects are objects in at least one first object, and the target objects are determined based on the first input.
The embodiment of the application provides electronic equipment, because under the condition that the electronic equipment displays a target image, a user can directly input the target image, the electronic equipment is triggered to execute target operation on M multimedia files which are stored and comprise the target object in a target time period corresponding to the input time period of the target image input by the user from the electronic equipment based on the target characteristic information of the target object which is included in the target image and the input time period of the target image input by the user. Therefore, the user does not need to trigger the electronic equipment to select the multimedia file to be processed through multiple inputs, and the electronic equipment can process the corresponding multimedia file after confirming the processing. Therefore, the operation of the user can be simplified, thereby improving the efficiency of the electronic device in processing the image.
Optionally, the display unit 106 is configured to display M multimedia files.
The user input unit 107 is further configured to receive a second input of M multimedia files from a user.
The processor 110 is further configured to adjust the number of M multimedia files in response to the second input, to obtain N multimedia files, where N is a positive integer.
The memory 109 is specifically configured to perform a target operation on the N multimedia files.
In the embodiment of the present application, after the electronic device determines M multimedia files from all the stored multimedia files, the electronic device may display the M multimedia files in a screen, so that a user may intuitively view what the multimedia files to be processed are, and the user may input the multimedia files, so that the electronic device may adjust the number of M multimedia files, thereby adjusting the multimedia files to be processed, and process N multimedia files obtained after the adjustment, so that flexibility of the electronic device in processing the multimedia files may be improved.
The display unit 106 is specifically configured to divide the M multimedia files into P types, and display the M multimedia files according to the types, where P is a positive integer; wherein the categories of the M multimedia files comprise at least one of the following categories: a multimedia file including only the target object, a multimedia file including the target object and other objects; the other objects are objects other than the target object.
According to the method and the device for processing the multimedia files, the electronic equipment can divide M multimedia files into P types and display the M multimedia files according to the categories, so that a user can quickly adjust the multimedia files to be processed from the multimedia files only comprising the target face image and the multimedia files comprising the target face image and other face images according to requirements, and the efficiency of the electronic equipment for processing the multimedia files can be improved.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the image processing method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides 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, so as to implement each process of the embodiment of the image processing method, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (11)

1. An image processing method, the method comprising:
receiving a first input of a user with a target image displayed, the target image comprising at least one first object;
responding to the first input, and determining M multimedia files from all multimedia files stored in the electronic equipment based on target characteristic information of a target object and input duration of the first input, wherein M is a positive integer;
performing a target operation on the M multimedia files;
the M multimedia files are multimedia files which are stored in a target time period and comprise the target objects, the target time period and the input duration have a corresponding relation, the target objects are objects in the at least one first object, and the target objects are determined based on the first input.
2. The method according to claim 1, wherein in case the target image comprises only one first object, the first input is a user input to an arbitrary position in the target image, the target object is the one first object, and the M multimedia files are multimedia files comprising only the target object.
3. The method according to claim 1, wherein in case the target image comprises at least two first objects, the first input is a user input of at least one of the at least two first objects, the target object is the at least one first object, and the M multimedia files are multimedia files comprising at least the target object.
4. A method according to any one of claims 1 to 3, wherein prior to performing the target operation on the M multimedia files, the method further comprises:
displaying the M multimedia files;
receiving a second input of the M multimedia files from a user;
responding to the second input, adjusting the number of the M multimedia files to obtain N multimedia files, wherein N is a positive integer;
the performing a target operation on the M multimedia files includes:
and executing the target operation on the N multimedia files.
5. The method of claim 4, wherein said displaying said M multimedia files comprises:
dividing the M multimedia files into P types, displaying the M multimedia files according to the types, wherein P is a positive integer;
Wherein the categories of the M multimedia files comprise at least one of the following categories: a multimedia file including only the target object, a multimedia file including the target object and other objects; the other objects are objects other than the target object.
6. An image processing apparatus, characterized in that the image processing apparatus comprises: the device comprises a receiving module, a determining module and an executing module;
the receiving module is used for receiving a first input of a user under the condition that a target image is displayed, wherein the target image comprises at least one first object;
the determining module is used for responding to the first input received by the receiving module, determining M multimedia files from all multimedia files stored in the electronic equipment based on target characteristic information of a target object and input duration of the first input, wherein M is a positive integer;
the execution module is used for executing target operations on the M multimedia files;
the M multimedia files are multimedia files which are stored in a target time period and comprise the target objects, the target time period and the input duration have a corresponding relation, the target objects are objects in the at least one first object, and the target objects are determined based on the first input.
7. The image processing apparatus according to claim 6, wherein in a case where the target image includes only one first object, the first input is an input by a user to an arbitrary position in the target image, the target object is the one first object, and the M multimedia files are multimedia files including only the target object.
8. The image processing apparatus according to claim 6, wherein in a case where the target image includes at least two first objects, the first input is an input of at least one first object of the at least two first objects by a user, the target object is the at least one first object, and the M multimedia files are multimedia files including at least the target object.
9. The image processing apparatus according to any one of claims 6 to 8, characterized in that the image processing apparatus further comprises: the display module and the adjustment module;
the display module is used for displaying the M multimedia files before the execution module executes target operations on the M multimedia files;
the receiving module is further used for receiving second input of the M multimedia files from a user;
The adjusting module is used for responding to the second input received by the receiving module, adjusting the number of the M multimedia files to obtain N multimedia files, wherein N is a positive integer;
the execution module is specifically configured to execute the target operation on the N multimedia files.
10. The image processing apparatus according to claim 9, wherein the display module is specifically configured to divide the M multimedia files into P categories, and display the M multimedia files according to the categories, where P is a positive integer;
wherein the categories of the M multimedia files comprise at least one of the following categories: a multimedia file including only the target object, a multimedia file including the target object and other objects; the other objects are objects other than the target object.
11. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the image processing method according to any one of claims 1-5.
CN202110450089.1A 2021-04-25 2021-04-25 Image processing method and device and electronic equipment Active CN113271378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110450089.1A CN113271378B (en) 2021-04-25 2021-04-25 Image processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110450089.1A CN113271378B (en) 2021-04-25 2021-04-25 Image processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113271378A CN113271378A (en) 2021-08-17
CN113271378B true CN113271378B (en) 2023-07-14

Family

ID=77229291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110450089.1A Active CN113271378B (en) 2021-04-25 2021-04-25 Image processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113271378B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113271377B (en) * 2021-04-25 2023-12-22 维沃移动通信有限公司 Image processing method, device, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902309A (en) * 2015-05-26 2015-09-09 努比亚技术有限公司 Multimedia file sharing method and device for mobile terminal
CN105260103A (en) * 2015-10-08 2016-01-20 广东欧珀移动通信有限公司 Picture scaling method and electronic device
CN106970762A (en) * 2017-03-31 2017-07-21 联想(北京)有限公司 A kind of method for processing video frequency and electronic equipment
CN109684492A (en) * 2018-12-28 2019-04-26 北京爱奇艺科技有限公司 A kind of multimedia file lookup method, device and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190012320A1 (en) * 2015-12-29 2019-01-10 Huawei Technologies Co., Ltd. Multimedia File Management Method, Electronic Device, And Graphical User Interface
CN111966842A (en) * 2020-08-28 2020-11-20 维沃移动通信有限公司 Multimedia file pushing method, device and equipment
CN112214774A (en) * 2020-09-30 2021-01-12 维沃移动通信有限公司 Permission setting method, file playing method and device and electronic equipment
CN112486385A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 File sharing method and device, electronic equipment and readable storage medium
CN112506407B (en) * 2020-12-04 2022-05-03 维沃移动通信有限公司 File sharing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902309A (en) * 2015-05-26 2015-09-09 努比亚技术有限公司 Multimedia file sharing method and device for mobile terminal
CN105260103A (en) * 2015-10-08 2016-01-20 广东欧珀移动通信有限公司 Picture scaling method and electronic device
CN106970762A (en) * 2017-03-31 2017-07-21 联想(北京)有限公司 A kind of method for processing video frequency and electronic equipment
CN109684492A (en) * 2018-12-28 2019-04-26 北京爱奇艺科技有限公司 A kind of multimedia file lookup method, device and electronic equipment

Also Published As

Publication number Publication date
CN113271378A (en) 2021-08-17

Similar Documents

Publication Publication Date Title
EP3125135B1 (en) Picture processing method and device
CN113093968B (en) Shooting interface display method and device, electronic equipment and medium
CN112954210B (en) Photographing method and device, electronic equipment and medium
CN112135046A (en) Video shooting method, video shooting device and electronic equipment
CN111857508A (en) Task management method and device and electronic equipment
CN112714253A (en) Video recording method and device, electronic equipment and readable storage medium
CN111669495B (en) Photographing method, photographing device and electronic equipment
CN113794834A (en) Image processing method and device and electronic equipment
CN113010738B (en) Video processing method, device, electronic equipment and readable storage medium
CN112698775B (en) Image display method and device and electronic equipment
CN113271378B (en) Image processing method and device and electronic equipment
CN112822394B (en) Display control method, display control device, electronic equipment and readable storage medium
CN113194256A (en) Shooting method, shooting device, electronic equipment and storage medium
CN112684963A (en) Screenshot method and device and electronic equipment
CN112383709A (en) Picture display method, device and equipment
CN112148192A (en) Image display method and device and electronic equipment
CN112148185A (en) Image display method and device
CN113271379B (en) Image processing method and device and electronic equipment
CN113127425B (en) Picture processing method and device and electronic equipment
CN113794833B (en) Shooting method and device and electronic equipment
CN113163256B (en) Method and device for generating operation flow file based on video
CN112383708B (en) Shooting method and device, electronic equipment and readable storage medium
CN114443567A (en) Multimedia file management method, device, electronic equipment and medium
CN113987241A (en) Image display method, image display device, electronic apparatus, and readable storage medium
CN113542599A (en) Image shooting method and device

Legal Events

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