CN108304563B - Picture processing method, device and equipment - Google Patents

Picture processing method, device and equipment Download PDF

Info

Publication number
CN108304563B
CN108304563B CN201810130400.2A CN201810130400A CN108304563B CN 108304563 B CN108304563 B CN 108304563B CN 201810130400 A CN201810130400 A CN 201810130400A CN 108304563 B CN108304563 B CN 108304563B
Authority
CN
China
Prior art keywords
target
picture
folder
target picture
stored
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
CN201810130400.2A
Other languages
Chinese (zh)
Other versions
CN108304563A (en
Inventor
宁京
张雯
刘子微
邱闽隽
王璐
李睿
李广志
胡杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810130400.2A priority Critical patent/CN108304563B/en
Publication of CN108304563A publication Critical patent/CN108304563A/en
Application granted granted Critical
Publication of CN108304563B publication Critical patent/CN108304563B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • 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
    • G06F16/5838Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information

Abstract

The invention provides a picture processing method, a picture processing device and picture processing equipment, wherein the method comprises the following steps: acquiring characteristic parameters corresponding to a target picture; determining a target storage mode corresponding to the target picture according to the characteristic parameters; and storing the target picture according to the target storage mode. The method determines the storage mode of the picture by utilizing the picture characteristic parameters to classify and store the picture according to the determined storage mode, thereby realizing automatic classification of the picture, effectively reducing the complexity of picture management, greatly improving the picture management efficiency and providing convenience conditions for a user to subsequently look up or use the picture.

Description

Picture processing method, device and equipment
Technical Field
The invention relates to the technical field of internet, in particular to a picture processing method, a picture processing device and picture processing equipment.
Background
With the rapid development of internet services such as electronic commerce, a network disk is used by more and more users because it has file management functions of providing users with storage, access, backup, sharing and the like of files. The user can store favorite pictures or pictures with commemorative value in the network disk so as to reduce the phenomenon of picture loss.
In the actual use process, as the number of the pictures stored in the network disk increases with the lapse of time, it takes a lot of time to search when the user acquires the required pictures from the stored pictures, so that it is very important to manage the stored pictures. At present, when managing pictures stored in a network disk, most of the management is implemented in a manual processing mode, for example, different picture type folders are created manually, and then the pictures are manually stored in the corresponding type folders according to the created different picture type folders.
The picture management mode is complex in operation, long in time consumption and capable of reducing picture management efficiency.
Disclosure of Invention
The present invention is directed to solving, at least in part, one of the technical problems in the related art.
Therefore, a first object of the present invention is to provide a picture processing method, which determines a storage manner of a picture by using picture characteristic parameters, and classifies and stores the picture according to the determined storage manner, so as to implement automatic classification of the picture, effectively reduce complexity of picture management, greatly improve picture management efficiency, and provide convenience for a user to subsequently refer to or use the picture.
A second object of the present invention is to provide a picture processing apparatus.
A third object of the invention is to propose an electronic device.
A fourth object of the invention is to propose a computer-readable storage medium.
To achieve the above object, an embodiment of a first aspect of the present invention provides a picture processing method, where the method includes: acquiring characteristic parameters corresponding to a target picture; determining a target storage mode corresponding to the target picture according to the characteristic parameters; and storing the target picture according to the target storage mode.
The image processing method provided by the embodiment of the invention comprises the steps of firstly obtaining the characteristic parameters corresponding to the target image, then determining the target storage mode corresponding to the target image according to the obtained characteristic parameters, and storing the target image according to the target storage mode. Therefore, the storage mode of the picture is determined by utilizing the picture characteristic parameters, and the picture is classified and stored according to the determined storage mode, so that the automatic classification of the picture is realized, the complexity of picture management is effectively reduced, the picture management efficiency is greatly improved, and convenience is provided for a user to subsequently look up or use the picture.
In addition, the image processing method provided by the above embodiment of the present invention may further have the following additional technical features:
optionally, in an embodiment of the present invention, the characteristic parameter corresponding to the target picture includes at least one of the following information: the type of the picture content, the shooting time, the shooting place, the number of included human images and the human face characteristics.
Optionally, in another embodiment of the present invention, if it is determined that the target picture belongs to the user information card according to the content of the target picture; the storing the target picture according to the target storage mode comprises: encrypting and storing the target picture according to a preset encryption password; or storing the target picture into a preset hidden folder; or hiding and storing the target picture.
Optionally, in another embodiment of the present invention, before storing the target picture in a preset hidden folder, the method further includes: and determining that the verification password input by the user is legal.
Optionally, in another embodiment of the present invention, after the target picture is stored, the method further includes: acquiring a picture searching request; and if the reference request comprises a check password and the check password is legal, displaying the target picture.
Optionally, in another embodiment of the present invention, the obtaining of the feature parameter corresponding to the target picture includes: and determining characteristic parameters corresponding to the target picture according to the similarity between the target picture and each preset identification model.
Optionally, in another embodiment of the present invention, after the storing the target picture according to the target storage manner, the method further includes: determining the identification of the target folder according to the attribute of the target folder into which the target picture is stored; or, determining the identifier of the target folder according to the acquired marking instruction.
Optionally, in another embodiment of the present invention, after storing the target picture according to the target storage manner, the method further includes: determining the attribute of a target folder into which the target picture is stored; if the target folder is a shared folder, acquiring account information of a shared user corresponding to the target folder; and sending the target picture to the sharing user according to the account information.
To achieve the above object, a second aspect of the present invention provides a picture processing apparatus, including: the acquisition module is used for acquiring the characteristic parameters corresponding to the target picture; the determining module is used for determining a target storage mode corresponding to the target picture according to the characteristic parameters; and the storage module is used for storing the target picture according to the target storage mode.
The image processing device provided by the embodiment of the invention firstly obtains the characteristic parameters corresponding to the target image, then determines the target storage mode corresponding to the target image according to the obtained characteristic parameters, and stores the target image according to the target storage mode. Therefore, the storage mode of the picture is determined by utilizing the picture characteristic parameters, and the picture is classified and stored according to the determined storage mode, so that the automatic classification of the picture is realized, the complexity of picture management is effectively reduced, the picture management efficiency is greatly improved, and convenience is provided for a user to subsequently look up or use the picture.
To achieve the above object, an embodiment of a third aspect of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the picture processing method according to the first aspect.
The electronic device provided by the embodiment of the invention firstly obtains the characteristic parameters corresponding to the target picture, then determines the target storage mode corresponding to the target picture according to the obtained characteristic parameters, and stores the target picture according to the target storage mode. Therefore, the storage mode of the picture is determined by utilizing the picture characteristic parameters, and the picture is classified and stored according to the determined storage mode, so that the automatic classification of the picture is realized, the complexity of picture management is effectively reduced, the picture management efficiency is greatly improved, and convenience is provided for a user to subsequently look up or use the picture.
To achieve the above object, a fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the picture processing method according to the first aspect.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flowchart illustrating a method for processing a picture according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for processing pictures according to another embodiment of the present invention;
fig. 3(a) is a schematic interface diagram of setting a password for a hidden folder according to an embodiment of the present invention.
FIG. 3(b) is a schematic diagram of an interface requiring a password to be input when a target picture is stored in a hidden folder according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a target picture interface displayed when a verification password input by a user is legal according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a picture processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The embodiments of the present invention mainly provide a picture processing method, which mainly solves the problems of complex operation, long time consumption and reduced picture management efficiency when pictures stored in a network disk are classified and stored in a manual processing manner in the prior art.
The picture processing method provided by the invention comprises the steps of firstly obtaining the characteristic parameters corresponding to the target picture, then determining the target storage mode corresponding to the target picture according to the obtained characteristic parameters, and storing the target picture according to the target storage mode. Therefore, the storage mode of the picture is determined by utilizing the picture characteristic parameters, and the picture is classified and stored according to the determined storage mode, so that the automatic classification of the picture is realized, the complexity of picture management is effectively reduced, the picture management efficiency is greatly improved, and convenience is provided for a user to subsequently look up or use the picture.
The following describes a picture processing method, apparatus, and device according to an embodiment of the present invention with reference to the drawings.
First, a picture processing method provided by an embodiment of the present invention is specifically described with reference to fig. 1.
Fig. 1 is a flowchart illustrating a picture processing method according to an embodiment of the present invention.
As shown in fig. 1, the picture processing method of the present invention may include the following steps:
step 101, obtaining characteristic parameters corresponding to a target picture.
Specifically, the image processing method provided by the embodiment of the present invention can be executed by the image processing apparatus provided by the present invention, and the apparatus is configured in the electronic device of the present invention to manage image storage.
The electronic device may be any device having a data processing function, for example, a network disk server, and the like, which is not limited in this embodiment.
In this embodiment, the target picture may refer to any one or several pictures, and the characteristic parameter corresponding to the target picture may include at least one of the following information: the type of the picture content, the shooting time, the shooting place, the number of included human images and the human face characteristics.
The type of the picture content may be, but is not limited to: a person type, a landscape type, a building type, a document type, etc., and is not particularly limited herein.
During specific implementation, the characteristic parameters corresponding to the target picture can be determined according to the similarity between the target picture and each preset recognition model. Each preset recognition model may be obtained according to a large number of experimental trainings, which is not specifically limited in this embodiment.
That is to say, the similarity matching is performed on the target picture to be stored and different recognition models respectively to obtain the similarity between the target picture to be stored and the different recognition models, and then the recognition model with the highest similarity to the target picture to be stored is selected from the obtained multiple similarities to use the picture type corresponding to the recognition model as the type of the target picture to be stored. And then correspondingly determining the characteristic parameters of the target picture according to the type of the target picture to be stored.
For example, if the target picture is a picture a, and each preset recognition model is a face recognition model, an animal recognition model, a fruit recognition model, and a vehicle recognition model, similarity matching can be performed on the picture a and the four recognition models in sequence to obtain 4 different similarities, and if the similarity between the picture a and the fruit recognition model is the highest, the type of the picture a can be determined to be fruit. And because the fruit can be determined to be of a specific category according to the shape, color, size and the like, the picture a can be further analyzed after the picture a is determined to be the fruit, so as to obtain the characteristic parameters of the fruit included in the picture a, such as the shape, color, size and the like.
And step 102, determining a target storage mode corresponding to the target picture according to the characteristic parameters.
And 103, storing the target picture according to the target storage mode.
Specifically, in practical applications, in order to further improve the management efficiency of the picture, the embodiment may pre-establish a mapping relationship table between the picture characteristic parameters and the storage modes, so that after the characteristic parameters of the target picture are obtained, the corresponding storage mode may be searched from the mapping relationship table between the picture characteristic parameters and the storage modes according to the characteristic parameters of the target picture, and corresponding storage operation is performed.
For example, if the feature parameter of the target picture is a face feature, the picture processing apparatus may determine a storage manner of the target picture from a mapping relationship table between pre-established picture feature parameters and storage manners according to the face feature, and then store the target picture in the person type folder according to the storage manner.
The mapping relation table between the picture characteristic parameters and the storage modes established in the embodiment can be adaptively adjusted according to actual requirements, for example, the storage modes of the related characteristic parameters are combined and the like; alternatively, the mapping relationship may be updated after a new feature parameter is acquired, and the present embodiment is not limited to this specifically.
For example, if the characteristic parameter is a shooting location of the target picture, when the shooting location of any picture is beijing hai lake, the picture processing device may search a target storage manner corresponding to the target picture from a preset mapping relation table according to the above-mentioned "beijing hai lake", and if the target storage manner is: and storing the target picture of which the shooting place belongs to Beijing into a folder named as Beijing, and storing the target picture into the folder named as Beijing at the moment.
For another example, if the characteristic parameter is the number of the figures included in the target picture, when the number of the figures included in any picture is 2, the picture processing device may search, according to the number of the figures, a target storage manner corresponding to the target picture from a preset mapping relation table, and if the target storage manner is: the target picture with the number of the figures of 2 is stored in the folder with two figures of people, and at this time, the target picture can be stored in the folder with the number of the figures of 2.
The image processing method provided by the embodiment of the invention comprises the steps of firstly obtaining the characteristic parameters corresponding to the target image, then determining the target storage mode corresponding to the target image according to the obtained characteristic parameters, and storing the target image according to the target storage mode. Therefore, the storage mode of the picture is determined by utilizing the picture characteristic parameters, and the picture is classified and stored according to the determined storage mode, so that the automatic classification of the picture is realized, the complexity of picture management is effectively reduced, the picture management efficiency is greatly improved, and convenience is provided for a user to subsequently look up or use the picture.
According to the analysis, the target storage mode corresponding to the target picture is determined according to the characteristic parameters of the target picture, and the target picture is classified and stored according to the target storage mode. In specific implementation, because some pictures including the user identity information may exist in the target picture to be stored, in order to enhance the security of picture management, in this embodiment, after the feature parameters corresponding to the target picture are acquired, the feature parameters may be analyzed first to determine whether the target picture includes the user identity information, and if so, the target picture is protected to protect the user identity information, so as to prevent the risk of being stolen. The above-described picture processing method of the present invention will be described in detail with reference to fig. 2.
Fig. 2 is a schematic flowchart of a picture processing method according to another embodiment of the invention.
As shown in fig. 2, the image processing method according to the embodiment of the present invention may include the following steps:
step 201, obtaining characteristic parameters corresponding to the target picture.
Step 202, analyzing the acquired feature parameters to determine whether the feature parameters include user identity information, if so, executing step 203, otherwise, executing step 204.
In this embodiment, the user identity information refers to information such as a certificate number, a residence address, and a contact information of a specific user identity, which is not specifically limited in this embodiment.
In specific implementation, the characteristic parameters can be identified through a preset identification model so as to determine whether the characteristic parameters include user identity information. The preset recognition model may be a neural network model created according to big data training, which is not specifically limited in this embodiment.
It can be understood that, in the embodiment, the characteristic parameters are identified through the preset identification model, so that when the characteristic parameters include the user identity information, the user identity information can be protected, the user identity information is prevented from being stolen by lawbreakers, and the user benefits are ensured.
And step 203, protecting and storing the target picture.
Specifically, if the characteristic parameter is the type of the picture content, the type of the target picture content is determined, and if the target picture is determined to belong to the user information card according to the target picture content, it is indicated that the target picture includes the user identity information, and at this time, the target picture needs to be protected and stored to protect the security of the user identity information.
In this embodiment, the user information card may include, but is not limited to: identification cards, driving licenses, social security cards, passports, and the like.
In specific implementation, the present embodiment may protect and store the target picture in the following manner, for example:
as a first implementation:
encrypting and storing the target picture according to a preset encryption password;
the preset encryption password may be set by a user in a customized manner, for example, a digital password, a fingerprint password, a pattern password, and the like, which is not limited in this embodiment.
For example, after the user encrypts the target picture a by using the digital password, the encrypted target picture a is stored in the corresponding type folder.
As a second implementation:
storing the target picture into a preset hidden folder;
the preset hidden folder may be set by default or by user's definition, which is not specifically limited in this embodiment.
For example, if the preset hidden folder is set by the user, before the user uses the hidden folder, the user needs to set a corresponding password for the hidden folder to ensure the security of the target picture, and as shown in fig. 3(a), an interface diagram for setting a password for the hidden folder is shown.
Specifically, since the preset hidden folder is invisible, before the target picture is stored in the hidden folder, a user needs to trigger a storage instruction at a predetermined position of the device, and in order to ensure the security of the picture in the hidden folder, when the picture processing apparatus according to this embodiment receives the storage instruction, an interface for inputting a password is first displayed, as shown in fig. 3(b), after the user inputs the password in the interface, the picture processing apparatus verifies the password input by the user, and when the password is verified to be correct, the preset hidden folder is displayed, and the target picture is stored in the hidden folder.
The preset position of the input check code may be set according to actual needs, which is not specifically limited in this embodiment.
That is to say, in order to protect the security of a file previously stored in a preset hidden folder, in this embodiment, before a target picture is stored in the preset hidden folder, it is first determined whether a check password input by a user is legal, if yes, the target picture is stored in the hidden folder, if not, the user is reminded of a password error, and please re-input, and when the number of times of inputting the password by the user exceeds a threshold, the hidden folder is locked to protect a lawless person from stealing the file information in the hidden folder.
As a third implementation:
and hiding and storing the target picture.
It should be noted that the three implementation manners described above are merely exemplary illustrations of the present embodiment, and are not specific limitations of the present invention.
Furthermore, after the target picture is protected and stored, the picture processing device can also monitor the folder in which the target picture is stored in real time, and if it is monitored that the user triggers the picture looking up request, the picture looking up request is obtained, and the looking up request is analyzed, so that parameter information such as the check password included in the looking up request is obtained. And then, checking whether the check password is legal or not by checking the check password included in the picture searching request, if so, displaying the target picture to the user, and if not, sending reminding information to the user to remind the user that the check password is wrong. The user may trigger the picture viewing request by clicking a preset trigger position, which is not specifically limited herein.
That is, after the target picture is stored in the embodiment, the method may further include: and acquiring an image inquiry request, and if the inquiry request comprises a verification password and the verification password is legal, displaying the target image.
For example, if the verification password input by the user is legal, the image processing apparatus controls the interface to display the corresponding target image, and the specific display result may be as shown in fig. 4.
And 204, determining a target storage mode corresponding to the target picture according to the characteristic parameters.
And step 205, storing the target picture according to the target storage mode.
Specifically, when it is determined that the feature parameter does not include the user identity information, the embodiment may search a corresponding target storage manner from a preset mapping relationship table according to the feature parameter, and then store the target picture according to the target storage manner.
For example, if the feature parameter obtained in this embodiment is a type to which the picture content belongs, and the type to which the picture content belongs to a landscape type, a storage manner for storing the landscape type is searched from a preset mapping relationship table according to the landscape type, and then the picture is stored according to the storage manner.
Further, after the target picture is stored according to the target storage mode, the embodiment may also determine the identifier of the target folder according to the attribute of the target folder into which the target picture is stored; or, the identification of the target folder is determined according to the obtained labeling instruction, so that when a subsequent user refers to the picture, the target picture is directly obtained according to the identification of the folder, and the searching time of the user is saved.
Step 206, determining the attribute of the target folder into which the target picture is stored.
The target folder attribute in this embodiment may include: shareable, read-only, hidden, etc., and are not specifically limited herein.
Step 207, if the target folder is the shared folder, acquiring account information of the shared user corresponding to the target folder.
And step 208, sending the target picture to the sharing user according to the account information.
Specifically, in an actual application process, in order to facilitate the image sharing between the user and the friend, in this embodiment, after the target image is stored in the corresponding folder, the attribute of the folder may be further obtained through the image processing device, and when the attribute of the folder is determined to be the shared folder, the image in the folder is shared to the friend, so as to enhance the interactive communication between the friends.
In specific implementation, the image processing device may, after receiving an inquiry request triggered by a user, acquire an attribute of a target folder in which a target image is stored according to the inquiry request, analyze the acquired attribute, acquire account information of a sharing user corresponding to the target folder if it is determined that the attribute of the target folder is the sharing folder, and then send the target image to the sharing user according to the account information, so as to implement image sharing between the user and a friend.
Or, after detecting that a new target picture is stored in the corresponding target folder, the picture processing device automatically acquires the attribute information of the target folder, analyzes the acquired attribute information, acquires account information of a sharing user corresponding to the target folder if the attribute of the target folder is determined to be the sharing folder, and then sends the target picture to the sharing user according to the account information, so as to realize picture sharing between the user and the friend.
It should be noted that the foregoing implementation is only exemplary and is not intended to specifically limit the present invention.
The manner in which the user triggers the query request may include: mouse clicking, manual clicking and the like.
Correspondingly, the user trigger query request may include information such as a name and a storage location of the target file, which is not specifically limited in this embodiment.
The picture processing method provided by the embodiment of the invention determines whether the characteristic parameters include user identity information or not by analyzing the characteristic parameters corresponding to the acquired target picture, if not, determines a target storage mode corresponding to the target picture according to the characteristic information, and performs storage erasing operation according to the target storage mode, if so, performs protection storage on the target picture, and also can acquire target folder attributes stored by the target picture after the target picture is stored, and if the target folder is a shared folder, acquires account information of a shared user corresponding to the target folder, and then transmits the target picture to the shared user according to the account information. Therefore, the storage mode of the pictures is determined by utilizing the picture characteristic parameters, and the pictures are classified and stored according to the determined storage mode, so that the automatic classification of the pictures is realized, the complexity of picture management is effectively reduced, the picture management efficiency is greatly improved, and convenience is provided for a user to subsequently use the pictures. And the security of the picture is ensured, the risk that the user information is stolen by lawbreakers is effectively avoided, and the personal interests of the user are ensured.
A picture processing apparatus according to an embodiment of the present invention is described below with reference to the drawings.
Fig. 5 is a schematic structural diagram of a picture processing apparatus according to an embodiment of the invention.
As shown in fig. 5, the picture processing apparatus includes: the device comprises an acquisition module 11, a determination module 12 and a storage module 13.
The obtaining module 11 is configured to obtain a characteristic parameter corresponding to a target picture;
the determining module 12 is configured to determine a target storage manner corresponding to the target picture according to the characteristic parameter;
the storage module 13 is configured to store the target picture according to the target storage manner.
It should be noted that, for the implementation process and the technical principle of the image processing apparatus of this embodiment, reference is made to the foregoing explanation of the image processing method of the first embodiment, and details are not repeated here.
The image processing device provided by the embodiment of the invention firstly obtains the characteristic parameters corresponding to the target picture, then determines the target storage mode corresponding to the target picture according to the obtained characteristic parameters, and stores the target picture according to the target storage mode. Therefore, the storage mode of the picture is determined by utilizing the picture characteristic parameters, and the picture is classified and stored according to the determined storage mode, so that the automatic classification of the picture is realized, the complexity of picture management is effectively reduced, the picture management efficiency is greatly improved, and convenience is provided for a user to subsequently look up or use the picture.
In order to implement the above embodiments, the present invention further provides an electronic device.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 6, the electronic device 20 includes: the image processing method includes a memory 21, a processor 22, and a computer program stored in the memory 21 and executable on the processor 22, where the processor 22 implements the image processing method described in the first embodiment when executing the program. The picture processing method comprises the following steps: acquiring characteristic parameters corresponding to a target picture; determining a target storage mode corresponding to the target picture according to the characteristic parameters; and storing the target picture according to the target storage mode.
It should be noted that, for the implementation process and the technical principle of the electronic device of this embodiment, reference is made to the foregoing explanation of the picture processing method in the embodiment of the first aspect, and details are not repeated here.
The electronic device provided by the embodiment of the invention firstly obtains the characteristic parameters corresponding to the target picture, then determines the target storage mode corresponding to the target picture according to the obtained characteristic parameters, and stores the target picture according to the target storage mode. Therefore, the storage mode of the picture is determined by utilizing the picture characteristic parameters, and the picture is classified and stored according to the determined storage mode, so that the automatic classification of the picture is realized, the complexity of picture management is effectively reduced, the picture management efficiency is greatly improved, and convenience is provided for a user to subsequently look up or use the picture.
To achieve the above object, the present invention further provides a computer-readable storage medium.
The computer-readable storage medium stores thereon a computer program, which, when executed by a processor, implements the picture processing method described in the first aspect embodiment. The picture processing method comprises the following steps: acquiring characteristic parameters corresponding to a target picture; determining a target storage mode corresponding to the target picture according to the characteristic parameters; and storing the target picture according to the target storage mode.
In the description of the specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following technologies, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (4)

1. An image processing method, comprising:
determining characteristic parameters corresponding to a target picture according to the similarity of the target picture and each preset recognition model;
determining a target storage mode corresponding to the target picture according to the characteristic parameters;
storing the target picture according to the target storage mode;
after the target picture is stored according to the target storage mode, the method further comprises the following steps:
determining the attribute of a target folder into which the target picture is stored; if the target folder is a shared folder, acquiring account information of a shared user corresponding to the target folder;
according to the account information, the target picture is sent to the sharing user;
acquiring a picture searching request; if the reference request comprises a check password and the check password is legal, displaying the target picture;
determining the identification of the target folder according to the attribute of the target folder into which the target picture is stored; or, determining the identification of the target folder according to the acquired marking instruction;
the determining the attribute of the target folder into which the target picture is stored includes:
after receiving a query request triggered by a user, the image processing device acquires the attribute of a target folder in which the target image is stored according to the query request, and analyzes the acquired attribute to determine the attribute of the target folder;
or after detecting that a new target picture is stored in the target folder, the picture processing device automatically acquires the attribute information of the target folder and analyzes the acquired attribute information to determine the attribute of the target folder;
the characteristic parameters corresponding to the target picture comprise at least one of the following information: the type of the picture content, the shooting time, the shooting place, the number of included images and the human face characteristics;
if the target picture is determined to belong to the user information card according to the content of the target picture; the storing the target picture according to the target storage mode comprises: encrypting the target picture according to a preset encryption password, and storing the encrypted target picture in a corresponding type folder for storage; or determining that a check password input by a user is legal, and storing the target picture into a preset hidden folder; or hiding and storing the target picture.
2. A picture processing apparatus, comprising:
the acquisition module is used for acquiring characteristic parameters corresponding to a target picture according to the similarity between the target picture and each preset identification model;
the determining module is used for determining a target storage mode corresponding to the target picture according to the characteristic parameters;
the storage module is used for storing the target picture according to the target storage mode;
after the target picture is stored according to the target storage mode, the method further includes:
determining the attribute of a target folder into which the target picture is stored;
if the target folder is a shared folder, acquiring account information of a shared user corresponding to the target folder;
according to the account information, the target picture is sent to the sharing user;
acquiring a picture looking up request; if the reference request comprises a check password and the check password is legal, displaying the target picture;
determining the identification of the target folder according to the attribute of the target folder into which the target picture is stored; or, determining the identification of the target folder according to the acquired marking instruction;
the determining the attribute of the target folder into which the target picture is stored includes:
after receiving a query request triggered by a user, the image processing device acquires the attribute of a target folder in which the target image is stored according to the query request, and analyzes the acquired attribute to determine the attribute of the target folder;
or after detecting that a new target picture is stored in the target folder, the picture processing device automatically acquires the attribute information of the target folder, and analyzes the acquired attribute information to determine the attribute of the target folder;
the characteristic parameters corresponding to the target picture comprise at least one of the following information: the type of the picture content, the shooting time, the shooting place, the number of included human images and the human face characteristics;
if the target picture is determined to belong to the user information card according to the content of the target picture; the storing the target picture according to the target storage mode comprises: encrypting and storing the target picture according to a preset encryption password; or, determining that a check password input by a user is legal, and storing the target picture into a preset hidden folder; or hiding and storing the target picture.
3. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing the picture processing method as claimed in claim 1.
4. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, carries out the picture processing method as claimed in claim 1.
CN201810130400.2A 2018-02-08 2018-02-08 Picture processing method, device and equipment Active CN108304563B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810130400.2A CN108304563B (en) 2018-02-08 2018-02-08 Picture processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810130400.2A CN108304563B (en) 2018-02-08 2018-02-08 Picture processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN108304563A CN108304563A (en) 2018-07-20
CN108304563B true CN108304563B (en) 2022-09-27

Family

ID=62864809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810130400.2A Active CN108304563B (en) 2018-02-08 2018-02-08 Picture processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN108304563B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246296A (en) * 2018-08-27 2019-01-18 河南丰泰光电科技有限公司 A kind of mobile phone safe information generates and storage method
CN111491136A (en) * 2020-04-23 2020-08-04 盈多伙伴(北京)科技有限公司 Image transmission system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013010411A1 (en) * 2011-07-21 2013-01-24 腾讯科技(深圳)有限公司 Method and device of target object recognition on machine side in human-machine interaction
CN105138578A (en) * 2015-07-30 2015-12-09 北京奇虎科技有限公司 Sorted storage method for target picture and terminal employing sorted storage method
CN105824862A (en) * 2015-10-20 2016-08-03 维沃移动通信有限公司 Image classification method based on electronic equipment and electronic equipment
CN106027902A (en) * 2016-06-24 2016-10-12 依偎科技(南昌)有限公司 Photographing method and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9779527B2 (en) * 2013-08-15 2017-10-03 Xiaomi Inc. Method, terminal device and storage medium for processing image
US20160125062A1 (en) * 2014-10-30 2016-05-05 Futurewei Technologies, Inc. Multi-scale timeling photograph album management with incremental spectral photograph clustering
CN105893449A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Batch processing method and device for pictures
CN105912590A (en) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 Classified storage method and device for pictures and mobile terminal
CN106874918A (en) * 2017-02-23 2017-06-20 上海与德信息技术有限公司 A kind of photo store method and device
CN107133993A (en) * 2017-04-19 2017-09-05 珠海市魅族科技有限公司 A kind of image processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013010411A1 (en) * 2011-07-21 2013-01-24 腾讯科技(深圳)有限公司 Method and device of target object recognition on machine side in human-machine interaction
CN105138578A (en) * 2015-07-30 2015-12-09 北京奇虎科技有限公司 Sorted storage method for target picture and terminal employing sorted storage method
CN105824862A (en) * 2015-10-20 2016-08-03 维沃移动通信有限公司 Image classification method based on electronic equipment and electronic equipment
CN106027902A (en) * 2016-06-24 2016-10-12 依偎科技(南昌)有限公司 Photographing method and mobile terminal

Also Published As

Publication number Publication date
CN108304563A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
CN108804884B (en) Identity authentication method, identity authentication device and computer storage medium
US9996735B2 (en) Facial recognition
US8861804B1 (en) Assisted photo-tagging with facial recognition models
JP6349031B2 (en) Method and apparatus for recognition and verification of objects represented in images
CN111886842B (en) Remote user authentication using threshold-based matching
CN110276366A (en) Carry out test object using Weakly supervised model
CN108833359A (en) Auth method, device, equipment, storage medium and program
US11775781B2 (en) Product verification in a messaging system
US10846514B2 (en) Processing images from an electronic mirror
US9633272B2 (en) Real time object scanning using a mobile phone and cloud-based visual search engine
TW202008197A (en) Identity verification method and device and account information modification method and device
CA3040971A1 (en) Face authentication to mitigate spoofing
US11481481B2 (en) Information processing apparatus, non-transitory computer readable medium storing program, and information processing system
CN108875582A (en) Auth method, device, equipment, storage medium and program
CN108959884B (en) Human authentication verification device and method
CN109598251A (en) Testimony of a witness checking method, device, equipment and system and storage medium
Liu et al. Privacy intelligence: A survey on image privacy in online social networks
CN108304563B (en) Picture processing method, device and equipment
JP2010204733A (en) Device, method, program and system for managing found article information
WO2020197942A1 (en) Measuring and increasing the quality of user-provided information
CN107656959A (en) A kind of message leaving method, device and message equipment
US20200026866A1 (en) Method and device for covering private data
US9853982B2 (en) Image-based group profiles
US11727722B2 (en) Method and system for verifying image identification
WO2019237578A1 (en) File viewing method and device and computer-readable storage medium

Legal Events

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