CN109597912A - Method for handling picture - Google Patents

Method for handling picture Download PDF

Info

Publication number
CN109597912A
CN109597912A CN201811479603.9A CN201811479603A CN109597912A CN 109597912 A CN109597912 A CN 109597912A CN 201811479603 A CN201811479603 A CN 201811479603A CN 109597912 A CN109597912 A CN 109597912A
Authority
CN
China
Prior art keywords
picture
processed
classification
processing
image procossing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811479603.9A
Other languages
Chinese (zh)
Inventor
蔡蓓蓓
顾正相
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Carbon Blue Network Technology Co Ltd
Original Assignee
Shanghai Carbon Blue Network 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 Shanghai Carbon Blue Network Technology Co Ltd filed Critical Shanghai Carbon Blue Network Technology Co Ltd
Priority to CN201811479603.9A priority Critical patent/CN109597912A/en
Publication of CN109597912A publication Critical patent/CN109597912A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present application discloses the method for handling picture.One specific embodiment of this method includes: the picture processing request that receiving terminal apparatus is sent, wherein, picture processing request includes pictures to be processed and processing instruction information, and processing instruction information is used to indicate whether to carry out classification processing to the picture to be processed in the pictures to be processed;In response to determining that processing instruction information instruction carries out classification processing to the picture to be processed in pictures to be processed, classify picture to be processed with the classification of determination picture to be processed;Classification based on picture to be processed and the image procossing mode to match with classification carry out image procossing to picture to be processed.This embodiment offers a kind of new picture processing modes.

Description

Method for handling picture
Technical field
The invention relates to field of computer technology, and in particular to the method for handling picture.
Background technique
A large amount of picture can be shot in people's daily life work, the later period needs to handle these pictures.Along with The development of computer technology also becomes more diverse to the processing mode of picture.
When being handled typically for different classes of picture, user is needed first to confirm the type of picture, and using terminal Equipment handles picture.
Summary of the invention
The embodiment of the present application proposes the method for handling picture.
In a first aspect, the embodiment of the present application provides a kind of method for handling picture, this method comprises: receiving terminal apparatus The picture of transmission handles request, wherein above-mentioned picture processing request includes pictures to be processed and processing instruction information, above-mentioned place Reason instruction information is used to indicate whether to carry out classification processing to the picture to be processed in above-mentioned pictures to be processed;In response to determination Above-mentioned processing instruction information instruction carries out classification processing to the picture to be processed in pictures to be processed, carries out to picture to be processed Classification is with the classification of determination picture to be processed;Classification based on picture to be processed and the image processing method to match with classification Formula carries out image procossing to picture to be processed.
In some embodiments, it is above-mentioned in response to determination above-mentioned processing instruction information instruction in pictures to be processed to It handles picture and carries out classification processing, classify picture to be processed with the classification of determination picture to be processed, comprising: according to wait locate The quantity for managing the picture to be processed in pictures, starts the image procossing process of respective numbers.
In some embodiments, it is above-mentioned in response to determination above-mentioned processing instruction information instruction in pictures to be processed to It handles picture and carries out classification processing, classify picture to be processed with the classification of determination picture to be processed, comprising: in response to true Fixed above-mentioned processing instruction information instruction carries out classification processing to picture to be processed, and picture to be processed is imported first pre-established Picture classification model generates the corresponding classification of picture to be processed, wherein above-mentioned first picture classification model for characterize picture and Corresponding relationship between classification.
In some embodiments, above-mentioned picture processing request further includes user behavior information;And it is above-mentioned in response to determination Above-mentioned processing instruction information instruction carries out classification processing to the picture to be processed in pictures to be processed, carries out to picture to be processed Classification is with the classification of determination picture to be processed, comprising: in response to determination above-mentioned processing instruction information instruction to picture to be processed into Picture to be processed and user behavior information are imported the second picture disaggregated model pre-established, generated wait locate by row classification processing Manage the corresponding classification of picture, wherein above-mentioned second picture disaggregated model for characterize both picture and user behavior information with Corresponding relationship between classification.
In some embodiments, it is above-mentioned in response to determination above-mentioned processing instruction information instruction in pictures to be processed to It handles picture and carries out classification processing, classify picture to be processed with the classification of determination picture to be processed, comprising: in response to true Fixed above-mentioned processing instruction information instruction carries out classification processing to picture to be processed, based on the category set pre-established and with it is above-mentioned The corresponding classification information of classification in category set, classifies to picture to be processed.
In some embodiments, above-mentioned category set determines in the following manner: according to the terminal device mark pre-established Know and selects from least one category set the corresponding relationship between category set and send above-mentioned picture processing request The corresponding category set of terminal device.
In some embodiments, image procossing mode determines in the following manner: according to user's needle of above-mentioned terminal device It to the selection information of image procossing mode, is concentrated from preset image procossing mode, chooses figure corresponding with above-mentioned terminal device As processing mode.
In some embodiments, image procossing mode includes at least one image procossing submode;And it is above-mentioned based on to The image procossing mode for handling the classification of picture and matching with classification carries out image procossing to picture to be processed, comprising: root According to the characteristics of image of picture to be processed, from the preset image procossing mode to match with classification, choose and picture to be processed The image procossing submode that matches of characteristics of image;According to the image procossing submode selected, picture to be processed is carried out Image procossing.
In some embodiments, the above method further include: detect whether to receive the processing mode for picture to be processed Indicate information, wherein above-mentioned processing mode instruction information is used to indicate image procossing mode;In response to receiving above-mentioned processing side Formula indicates information, indicates information according to above-mentioned processing mode, carries out image procossing to picture to be processed.
In some embodiments, the above method further includes at least one of following: the figure to be processed of image procossing is passed through in storage Piece;Demand equipment will be sent to by the picture to be processed of image procossing.
Second aspect, the embodiment of the present application provide a kind of device for handling picture, which includes: receiving unit, quilt Be configured to: the picture processing request that receiving terminal apparatus is sent, wherein the processing request of above-mentioned picture include pictures to be processed and Processing instruction information, above-mentioned processing instruction information are used to indicate whether to carry out the picture to be processed in above-mentioned pictures to be processed Classification processing;Taxon is configured to: in response to determination above-mentioned processing instruction information instruction in pictures to be processed to It handles picture and carries out classification processing, classify picture to be processed with the classification of determination picture to be processed;First processing units, Be configured to: classification based on picture to be processed and the image procossing mode to match with classification carry out picture to be processed Image procossing.
In some embodiments, above-mentioned taxon, is further configured to: according to the picture to be processed in pictures to be processed Quantity, start the image procossing process of respective numbers.
In some embodiments, above-mentioned taxon, is further configured to: in response to the above-mentioned processing instruction information instruction of determination Classification processing is carried out to picture to be processed, picture to be processed is imported to the first picture classification model pre-established, is generated wait locate Manage the corresponding classification of picture, wherein above-mentioned first picture classification model is used to characterize the corresponding relationship between picture and classification.
In some embodiments, above-mentioned picture processing request further includes user behavior information;And above-mentioned taxon, also It is configured to: classification processing being carried out to picture to be processed in response to determination above-mentioned processing instruction information instruction, by picture to be processed The second picture disaggregated model pre-established is imported with user behavior information, generates the corresponding classification of picture to be processed, wherein on Second picture disaggregated model is stated for characterizing the corresponding relationship of both picture and user behavior information between classification.
In some embodiments, above-mentioned taxon, is further configured to: in response to the above-mentioned processing instruction information instruction of determination Classification processing is carried out to picture to be processed, based on the category set pre-established and corresponding with the classification in above-mentioned category set Classification information classifies to picture to be processed.
In some embodiments, above-mentioned category set determines in the following manner: according to the terminal device mark pre-established Know and selects from least one category set the corresponding relationship between category set and send above-mentioned picture processing request The corresponding category set of terminal device.
In some embodiments, image procossing mode determines in the following manner: according to user's needle of above-mentioned terminal device It to the selection information of image procossing mode, is concentrated from preset image procossing mode, chooses figure corresponding with above-mentioned terminal device As processing mode.
In some embodiments, image procossing mode includes at least one image procossing submode;And at above-mentioned first Unit is managed, is further configured to: according to the characteristics of image of picture to be processed, from the preset image procossing mode to match with classification In, choose the image procossing submode to match with the characteristics of image of picture to be processed;According to the image procossing side selected Formula carries out image procossing to picture to be processed.
In some embodiments, above-mentioned apparatus further include: detection unit is configured to: detect whether to receive for The processing mode for handling picture indicates information, wherein above-mentioned processing mode instruction information is used to indicate image procossing mode;Second Processing unit is configured to: information indicated in response to receiving above-mentioned processing mode, and information is indicated according to above-mentioned processing mode, Image procossing is carried out to picture to be processed.
In some embodiments, above-mentioned apparatus further includes at least one of following: storage unit is configured to: storage is passed through The picture to be processed of image procossing;Transmission unit is configured to: being set demand is sent to by the picture to be processed of image procossing It is standby.
The third aspect, the embodiment of the present application provide a kind of server, comprising: one or more processors;Storage device, For storing one or more programs;When one or more programs are executed by one or more processors, so that one or more Processor realizes the method as described in implementation any in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should The method as described in implementation any in first aspect is realized when computer program is executed by processor.
Method provided by the embodiments of the present application for handling picture, the electronic equipment except terminal device is by receiving eventually The picture that end equipment is sent handles request, carries out classification processing to the picture to be processed in pictures to be processed further according to instruction Processing instruction information carries out classification processing to picture to be processed with the classification of determination picture to be processed, then is based on picture to be processed Classification and the image procossing mode that matches with classification, image procossing is carried out to picture to be processed, technical effect is extremely as a result, It less may include: to provide a kind of new picture processing mode.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for handling picture of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the method for handling picture of the embodiment of the present application;
Fig. 4 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the exemplary architecture 100 of the method for handling picture of the application.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
Terminal device 101,102,103 is interacted by network 104 with server 105, to receive or send message etc..Terminal Various telecommunication customer end applications can be installed, such as web browser applications, picture processing class are answered in equipment 101,102,103 With etc..
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard When part, it can be with display screen and the various electronic equipments of supporting picture to store and transmit, including but not limited to intelligent hand Machine, tablet computer, E-book reader, pocket computer on knee and desktop computer etc..When terminal device 101,102, 103 when being software, may be mounted in above-mentioned cited electronic equipment.Multiple softwares or software module may be implemented into it (such as providing Distributed Services), also may be implemented into single software or software module.It is not specifically limited herein.
Server 105 can be to provide the server of various services, for example, figure of the transmission of terminal device 101,102,103 The cloud server that piece is handled and stored.Cloud server can receive shape receiving terminal apparatus 101,102,103 Picture processing request carry out the processing such as parsing, and picture is handled according to parsing result.
It should be noted that the method provided by the embodiment of the present application for handling picture is generally held by server 105 Row.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software To be implemented as multiple softwares or software module (such as providing Distributed Services), single software or software also may be implemented into Module.It is not specifically limited herein.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, it illustrates the processes according to one embodiment of the method for handling picture of the application 200.This be used for handle picture method the following steps are included:
Step 201, the picture that receiving terminal apparatus is sent handles request.
In the present embodiment, it can be connect for handling the executing subject (server 105 as shown in Figure 1) of the method for picture It receives the picture that terminal device (terminal device 101,102,103 as shown in Figure 1) is sent and handles request.
In the present embodiment, above-mentioned picture processing request includes picture set to be processed and processing instruction information.Herein, Processing instruction information can serve to indicate that whether carry out classification processing to the picture to be processed in above-mentioned pictures to be processed.
In practice, executing subject can receive the pictures to be processed that user is sent by terminal device.Picture to be processed The picture to be processed concentrated can be figure kind's picture, landscape class picture, animal class picture or cuisines class picture etc..For picture Type and number, the application is with no restrictions.Herein, it can confirm whether above-mentioned processing instruction information is treated by executing subject The picture to be processed handled in pictures carries out classification processing.
Step 202, in response to determining that handling instruction information instruction divides the picture to be processed in pictures to be processed Class processing, classifies with the classification of determination picture to be processed to picture to be processed.
In the present embodiment, above-mentioned executing subject can be in response to the above-mentioned processing instruction information instruction of determination to figure to be processed The picture to be processed that piece is concentrated carries out classification processing, classifies picture to be processed with the classification of determination picture to be processed.
Herein, carry out classification processing picture to be processed can be it is some or all of in above-mentioned pictures to be processed Picture.
Optionally, the classification of picture can include but is not limited to following at least one: figure kind, landscape class, animal class, beauty Eat class etc..It should be noted that the category combinations obtained may be different from different angles to picture classification, for example, picture Classification can also include: high-resolution pictures, intermediate-resolution picture and low resolution picture etc..
In this application, it can use various modes to classify to picture to be processed, with the class of determination picture to be processed Not.
Step 203, classification based on picture to be processed and the image procossing mode to match with classification, to figure to be processed Piece carries out image procossing.
In the present embodiment, above-mentioned executing subject can classification based on picture to be processed and the figure that matches with classification As processing mode, image procossing is carried out to picture to be processed.
It is appreciated that can just determine the classification of picture to be processed on the basis of step 202 executes.That is processing instruction letter Breath instruction carries out classification processing to the picture to be processed in pictures to be processed, and step 203 just has the basis of execution and then can be with It is carried out.
Herein, the image procossing mode to match with classification can be pre-set.As an example, the classification of picture It can include but is not limited to the corresponding relationship of processing mode at least one of following: U.S. face being carried out to figure kind's picture and is handled, it is right Landscape class picture adds vividness.
Optionally, image procossing mode can include but is not limited at least one of following: smoothing processing, Edge contrast, two Value processing, edge detection process etc..
With continued reference to the signal that Fig. 3, Fig. 3 are according to the application scenarios of the method for handling picture of the present embodiment Figure.In the application scenarios of Fig. 3:
User sends picture processing request, server to server 302 by terminal device 301 (such as smart phone) The picture that 302 receiving terminal apparatus 301 are sent handles request.Wherein, the picture processing request include pictures to be processed (such as Including at least personage's photograph) and processing instruction information.Processing instruction information indicate whether in pictures to be processed to It handles picture and carries out classification processing.
Later, instruction information instruction is handled to the figure to be processed in pictures to be processed in response to determining in server 302 Piece carries out classification processing, classifies picture to be processed with the classification of determination picture to be processed.
Later, on the basis of server 302 determines the classification of picture to be processed, at the determining image to match with classification Then reason mode carries out image procossing to picture to be processed using identified picture processing mode.For example, determining that this is to be processed The classification of picture is figure kind, and determines the corresponding processing mode of figure kind.It is understood that server 302 can root According to the corresponding relationship of preset classification and processing mode, the corresponding processing mode of the category is determined, for example, can be to figure kind's Picture carries out U.S. face weight reducing processing.
Figure kind picture to be processed is handled according to identified image procossing mode later, such as to the personage Shine into the U.S. face processing of pedestrian's class, the thin leg processing of thin waist of leg and waist.The picture to be processed that finally obtains that treated.
In the prior art, it is limited by the computing capability of terminal device, processing capacity of the terminal device to picture to be processed It is limited, it generally can not realize mass disposal picture.
Herein, in this application, at the picture that the electronic equipment except terminal device is sent by receiving terminal apparatus Reason request, the processing for carrying out classification processing to the picture to be processed in pictures to be processed further according to instruction indicate information, treat Handle picture and carry out classification processing with the classification of determination picture to be processed, then classification based on picture to be processed and with classification phase Matched image procossing mode carries out image procossing to picture to be processed, and above-mentioned executing subject may be implemented as a result:
The first, batch processing picture improves picture treatment effeciency;
The second, in the way of the image procossing to match with picture classification, picture is handled, thus, it is possible to realize Picture self-adaptive processing.
The method provided by the above embodiment of the application, the electronic equipment except terminal device pass through receiving terminal apparatus and send out The picture processing request sent, the processing for carrying out classification processing to the picture to be processed in pictures to be processed further according to instruction indicate Information carries out classification processing to picture to be processed with the classification of determination picture to be processed, then classification based on picture to be processed with And the image procossing mode to match with classification, image procossing is carried out to picture to be processed, technical effect at least can wrap as a result, It includes: providing a kind of new picture processing mode.
In some embodiments, above-mentioned steps 202 can be accomplished by the following way: according in pictures to be processed to The quantity for handling picture, starts the image procossing process of respective numbers.
Herein, the quantity of the image procossing process of above-mentioned executing subject starting, can in pictures to be processed to The quantity for handling picture is identical.
Herein, image procossing process can be used for handling image.The process (how handling) of image procossing process can To preset.
Herein, above-mentioned executing subject can open the quantity phase with the picture to be processed in pictures to be processed simultaneously Same quantity process, the picture to be processed being processed in batches in pictures to be processed.Thus, it is possible to realize beyond the clouds (on non- The terminal of blit piece) batch processing picture to be processed, improves picture processing speed.
In some embodiments, above-mentioned steps 202 can be accomplished by the following way: indicate in response to the above-mentioned processing of determination Information instruction carries out classification processing to picture to be processed, and picture to be processed is imported to the first picture classification model pre-established, Generate the corresponding classification of picture to be processed.Herein, above-mentioned picture classification model is used to characterize the correspondence between picture and classification Relationship.
Herein, above-mentioned first picture classification model can obtain the first initial model training by first sample set. The first sample that first sample is concentrated may include the picture for being labeled with classification, and the first initial model can be based on following at least one Kind is established: convolutional neural networks, Recognition with Recurrent Neural Network etc..
Herein, using the first picture classification model, the corresponding classification of picture to be processed is determined, it can be according to the spy of picture Point determines that picture to be processed corresponds to classification, it is thus possible to improve the speed for determining the classification of picture of upload.
In some embodiments, above-mentioned picture processing request further includes user behavior information.Above-mentioned steps 202 can pass through Following manner is realized: classification processing is carried out to picture to be processed in response to determination above-mentioned processing instruction information instruction, it will be to be processed Picture and above-mentioned user behavior information import the second picture disaggregated model pre-established, generate the corresponding class of picture to be processed Not.Herein, above-mentioned second picture disaggregated model is for characterizing pair of both picture and user behavior information between classification It should be related to.
Herein, above-mentioned second picture disaggregated model can obtain the second initial model training by the second sample set. The second sample in second sample set may include the picture for being labeled with classification and the user behavior information for being labeled with classification, and second Initial model can be based on following at least one foundation: convolutional neural networks, Recognition with Recurrent Neural Network etc..
Herein, user behavior information can include but is not limited to user and browse record, user's Download History etc..
As an example, the classification of picture can be divided into plant picture, animal picture and scenery picture.User behavior information can With the picture for including user's browsing and saving, or the user behavior extracted from the picture that user browses and saved Feature (such as often browsing plant picture), the classification determined through second picture disaggregated model can refer to user behavior feature, Determine that picture to be processed is plant picture, animal picture or scenery picture.
Herein, using user behavior information, the corresponding classification of picture to be processed is determined, it can be special according to the behavior of user Point determines that picture to be processed corresponds to classification, it is thus possible to the speed of the classification for the picture for determining that the user uploads is improved, also, User can be adapted to automatically and carry out the image procossing of respective classes.
In some embodiments, above-mentioned steps 202 can be accomplished by the following way: indicate in response to the above-mentioned processing of determination Information instruction to picture to be processed carry out classification processing, based on the category set pre-established and with the class in above-mentioned category set Not corresponding classification information, classifies to picture to be processed.
Herein, the characteristic information of picture to be processed can be compared with classification information, it then, will be with characteristic information The corresponding classification of matched classification information, is determined as the classification of picture to be processed, thus, it is possible to from the category set pre-established Determine the classification of picture to be processed.
Herein, it by the comparison of characteristic information and classification information, may be implemented to carry out Fast Classification to picture to be processed.
In some embodiments, above-mentioned category set can determine in the following manner: be set according to the terminal pre-established Corresponding relationship between standby mark and category set selects from least one category set and sends above-mentioned picture processing The corresponding category set of the terminal device of request.
Herein, can in advance for terminal establish the corresponding category set of the terminal (such as user selection, default allocation or Person automatically generates according to terminal history uploading pictures), then by the category set of the Terminal Equipment Identifier of the terminal and the terminal Between establish corresponding relationship.The terminal device for sending above-mentioned picture processing request can have the Terminal Equipment Identifier (example of oneself Such as it is referred to as mark first), it can use mark first and be compared with the Terminal Equipment Identifier in the multiple corresponding relationships pre-established, Category set corresponding with the mark matched mark of first in corresponding relationship is determined, thus, it is possible to determine above-mentioned transmission picture processing The corresponding category set of the terminal device of request.
Herein, category set corresponding with the terminal is set for terminal, targetedly can provides individual character for terminal Change service, in numerous mode classifications, the category set for being suitble to the terminal is established for the terminal, as a result, on to the terminal During the picture of biography is classified, it may be implemented to improve uploading speed and classification accuracy.
In some embodiments, step 203 can be accomplished by the following way: according to above-mentioned terminal device (on sending State picture processing request terminal device) user be directed to image procossing mode selection information, from preset image processing method Formula is concentrated, and image procossing mode corresponding with above-mentioned terminal device is selected.
Herein, the selection information of user, is used to indicate: concentrating, is chosen at which image from above-mentioned image procossing mode Reason mode.
Herein, information according to the user's choice can handle corresponding image processing method for the terminal selection of the user Formula.Can by for the user terminal device customize image procossing in a manner of set meal, with the efficient process user upload picture.
In some embodiments, image procossing mode includes at least one image procossing submode.
As an example, carrying out U.S. face weight reducing to personage's picture handles this image procossing mode, can include but is not limited to At least one of below: the thin leg of the U.S. face processing of face, the thin waist processing of waist and leg is handled.
In some embodiments, step 203 can be accomplished by the following way: according to the characteristics of image of picture to be processed, From the preset image procossing mode to match with classification, choose at the image to match with the characteristics of image of picture to be processed Manage submode;According to the image procossing submode selected, image procossing is carried out to picture to be processed.
As an example, the characteristics of image of picture to be processed can indicate that picture to be processed includes the waist image of personage, by This, can select thin waist processing submode from the U.S. face weight reducing processing mode to match with personage's classification, according to selecting Thin waist handle submode, the waist image in image to be processed is handled.
Herein, under image procossing mode, image procossing submode is set, it may be possible to for each portion of image Point, according to the difference of the characteristics of image of various pieces, different image procossing submodes is selected to be handled, thus, it is possible to real Picture to be processed is now meticulously handled, picture to be processed more meets user's requirement so that treated.
In some embodiments, method shown in the application can also include: the picture to be processed that image procossing is passed through in storage.
In some embodiments, method shown in the application can also include: that will send out by the picture to be processed of image procossing It send to demand equipment.
Herein, demand equipment can be the equipment with the demand for obtaining picture to be processed.As an example, demand equipment The terminal device that can be the above-mentioned figure processing request of above-mentioned transmission, the terminal device requested with the above-mentioned figure processing of above-mentioned transmission share The electronic equipment etc. of account (such as social account, equipment account etc.).
(power 10) may be implemented it should be noted that by demand equipment is sent to by the picture to be processed of image procossing Treated, and picture realizes that picture is shared in multiple equipment, thus, it is possible to facilitate user in multiple and different equipment, browses Picture after to be processed.
In some embodiments, method shown in the application can also include: detecting whether to receive for picture to be processed Processing mode indicate information, wherein above-mentioned processing mode instruction information is used to indicate image procossing mode;In response to receiving Above-mentioned processing mode indicates information, indicates information according to above-mentioned processing mode, carries out image procossing to picture to be processed.
Herein, above-mentioned processing mode instruction information can be sent with instruction terminal equipment, it is arbitrary, be directed to figure to be processed The processing information of piece.
In some embodiments, executing subject according to processing mode indicate information, can to through step 203 handle before or Treated, and picture to be processed is handled.
As an example, user is unsatisfied with the picture to be processed that executing subject is handled by step 203 or needs to treat When processing picture increases other special efficacys, processing mode can be sent to executing subject and indicate information.
Optionally, processing mode instruction information can include but is not limited at least one of following: to above-mentioned picture to be processed Add the processing information of decoration, pendant, paster.For example, above-mentioned processing mode instruction information may include the processing of addition decoration Information.After executing subject receives above-mentioned processing mode instruction information, according to the above-mentioned processing mode instruction information to be processed Picture is added the operation of decoration.
Herein, information is indicated according to processing mode, above-mentioned executing subject may be implemented according to the finger of other electronic equipments Show, picture to be processed is handled.Picture to be processed is handled according to actual needs to realize user, and not Occupied terminal device resource.
Below with reference to Fig. 4, it illustrates the server for being suitable for being used to realize the embodiment of the present application (such as clothes shown in FIG. 1 Be engaged in device 104) computer system 400 structural schematic diagram.Server shown in Fig. 4 is only an example, should not be to this Shen Please embodiment function and use scope bring any restrictions.
It, can be according to being stored in as shown in figure 4, computer system 400 includes central first processing units (CPU) 401 Program in read-only memory (ROM) 402 is loaded into the journey in random access storage device (RAM) 403 from storage section 408 Sequence and execute various movements appropriate and processing.In RAM 403, be also stored with system 400 operate required various programs and Data.CPU 401, ROM 402 and RAM 403 are connected with each other by bus 404.Input/output (I/O) interface 405 also connects It is connected to bus 404.
I/O interface 405 is connected to lower component: the importation 406 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 407 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 408 including hard disk etc.; And the communications portion 409 of the network interface card including LAN card, modem etc..Communications portion 409 via such as because The network of spy's net executes communication process.Driver 410 is also connected to I/O interface 404 as needed.Detachable media 411, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 410, in order to read from thereon Computer program be mounted into storage section 408 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 409, and/or from detachable media 411 are mounted.When the computer program is executed by central first processing units (CPU) 401, executes and limited in the present processes Fixed above-mentioned function.
It should be noted that the computer-readable medium of the application can be computer-readable signal media or computer Readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object-oriented programming language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include receiving unit, taxon and processing unit.Wherein, the title of these units is not constituted under certain conditions to the unit The restriction of itself, for example, receiving unit is also described as " unit for the picture processing request that receiving terminal apparatus is sent ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in server described in above-described embodiment;It is also possible to individualism, and without in the supplying server.It is above-mentioned Computer-readable medium carries one or more program, when said one or multiple programs are executed by the device, makes Obtain the server: the picture that receiving terminal apparatus is sent handles request, wherein above-mentioned picture processing requests to include picture to be processed Collection and processing instruction information, above-mentioned processing instruction information are used to indicate whether to the picture to be processed in above-mentioned pictures to be processed Carry out classification processing;The picture to be processed in pictures to be processed is divided in response to the above-mentioned processing instruction information instruction of determination Class processing, classifies with the classification of determination picture to be processed to picture to be processed;Classification based on picture to be processed and with The image procossing mode that classification matches carries out image procossing to picture to be processed.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (12)

1. a kind of method for handling picture, comprising:
The picture that receiving terminal apparatus is sent handles request, wherein the picture processing request includes pictures to be processed and place Reason instruction information, the processing instruction information are used to indicate whether to divide the picture to be processed in the pictures to be processed Class processing;
Classification processing is carried out to the picture to be processed in pictures to be processed in response to the determination processing instruction information instruction, it is right Picture to be processed is classified with the classification of determination picture to be processed;
Classification based on picture to be processed and the image procossing mode to match with classification, carry out at image picture to be processed Reason.
2. according to the method described in claim 1, wherein, it is described in response to the determination processing instruction information instruction to be processed Picture to be processed in pictures carries out classification processing, classifies picture to be processed with the classification of determination picture to be processed, Include:
According to the quantity of the picture to be processed in pictures to be processed, start the image procossing process of respective numbers.
3. according to the method described in claim 1, wherein, it is described in response to the determination processing instruction information instruction to be processed Picture to be processed in pictures carries out classification processing, classifies picture to be processed with the classification of determination picture to be processed, Include:
Classification processing is carried out to picture to be processed in response to the determination processing instruction information instruction, picture to be processed is imported pre- The the first picture classification model first established, generates the corresponding classification of picture to be processed, wherein the first picture classification model is used Corresponding relationship between characterization picture and classification.
4. according to the method described in claim 1, wherein, the picture processing request further includes user behavior information;And
It is described that the picture to be processed in pictures to be processed is carried out at classification in response to the determination processing instruction information instruction Reason, classifies with the classification of determination picture to be processed to picture to be processed, comprising:
Classification processing is carried out to picture to be processed in response to the determination processing instruction information instruction, by picture to be processed and user Behavioural information imports the second picture disaggregated model pre-established, generates the corresponding classification of picture to be processed, wherein described second Picture classification model is for characterizing the corresponding relationship of both picture and user behavior information between classification.
5. according to the method described in claim 1, wherein, it is described in response to the determination processing instruction information instruction to be processed Picture to be processed in pictures carries out classification processing, classifies picture to be processed with the classification of determination picture to be processed, Include:
Classification processing is carried out to picture to be processed in response to the determination processing instruction information instruction, based on the classification pre-established Set and classification information corresponding with the classification in the category set, classify to picture to be processed.
6. according to the method described in claim 4, wherein, the category set determines in the following manner:
According to the corresponding relationship between the Terminal Equipment Identifier and category set pre-established, from least one category set, Select category set corresponding with the terminal device for sending the picture processing request.
7. according to the method described in claim 6, wherein, image procossing mode determines in the following manner:
The selection information of image procossing mode is directed to according to the user of the terminal device, from preset image procossing mode collection In, choose image procossing mode corresponding with the terminal device.
8. according to the method described in claim 1, wherein, image procossing mode includes at least one image procossing submode;With And
The classification based on picture to be processed and the image procossing mode to match with classification, carry out figure to picture to be processed As processing, comprising:
According to the characteristics of image of picture to be processed, from the preset image procossing mode to match with classification, choose with wait locate The image procossing submode that the characteristics of image of reason picture matches;
According to the image procossing submode selected, image procossing is carried out to picture to be processed.
9. method according to claim 1 to 8, wherein the method also includes:
It detects whether to receive the processing mode instruction information for picture to be processed, wherein the processing mode indicates information It is used to indicate image procossing mode;
In response to receiving processing mode instruction information, information is indicated according to the processing mode, to picture to be processed into Row image procossing.
10. method according to claim 1 to 9, wherein the method also includes at least one of following:
The picture to be processed of image procossing is passed through in storage;
Demand equipment will be sent to by the picture to be processed of image procossing.
11. a kind of server, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-10.
12. a kind of computer-readable medium, is stored thereon with computer program, wherein the realization when program is executed by processor Method as described in any in claim 1-10.
CN201811479603.9A 2018-12-05 2018-12-05 Method for handling picture Pending CN109597912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811479603.9A CN109597912A (en) 2018-12-05 2018-12-05 Method for handling picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811479603.9A CN109597912A (en) 2018-12-05 2018-12-05 Method for handling picture

Publications (1)

Publication Number Publication Date
CN109597912A true CN109597912A (en) 2019-04-09

Family

ID=65961217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811479603.9A Pending CN109597912A (en) 2018-12-05 2018-12-05 Method for handling picture

Country Status (1)

Country Link
CN (1) CN109597912A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659581A (en) * 2019-08-29 2020-01-07 腾讯科技(深圳)有限公司 Image processing method, device, equipment and storage medium
CN112100205A (en) * 2020-09-27 2020-12-18 北京有竹居网络技术有限公司 Data processing method, device, equipment and computer readable medium
CN113393367A (en) * 2021-07-08 2021-09-14 北京百度网讯科技有限公司 Image processing method, apparatus, device and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955992A (en) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 Picture processing method and apparatus
CN107589889A (en) * 2017-09-21 2018-01-16 北京金山安全软件有限公司 Image processing triggering method and device, electronic equipment and storage medium
CN107729946A (en) * 2017-10-26 2018-02-23 广东欧珀移动通信有限公司 Picture classification method, device, terminal and storage medium
CN108416003A (en) * 2018-02-27 2018-08-17 百度在线网络技术(北京)有限公司 A kind of picture classification method and device, terminal, storage medium
CN108764370A (en) * 2018-06-08 2018-11-06 Oppo广东移动通信有限公司 Image processing method, device, computer readable storage medium and computer equipment
CN108805095A (en) * 2018-06-19 2018-11-13 Oppo广东移动通信有限公司 image processing method, device, mobile terminal and computer readable storage medium
CN108898082A (en) * 2018-06-19 2018-11-27 Oppo广东移动通信有限公司 Image processing method, picture processing unit and terminal device
CN108898587A (en) * 2018-06-19 2018-11-27 Oppo广东移动通信有限公司 Image processing method, picture processing unit and terminal device
CN108898169A (en) * 2018-06-19 2018-11-27 Oppo广东移动通信有限公司 Image processing method, picture processing unit and terminal device
CN108932704A (en) * 2018-06-19 2018-12-04 Oppo广东移动通信有限公司 Image processing method, picture processing unit and terminal device
CN108932703A (en) * 2018-06-19 2018-12-04 Oppo(重庆)智能科技有限公司 Image processing method, picture processing unit and terminal device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955992A (en) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 Picture processing method and apparatus
CN107589889A (en) * 2017-09-21 2018-01-16 北京金山安全软件有限公司 Image processing triggering method and device, electronic equipment and storage medium
CN107729946A (en) * 2017-10-26 2018-02-23 广东欧珀移动通信有限公司 Picture classification method, device, terminal and storage medium
CN108416003A (en) * 2018-02-27 2018-08-17 百度在线网络技术(北京)有限公司 A kind of picture classification method and device, terminal, storage medium
CN108764370A (en) * 2018-06-08 2018-11-06 Oppo广东移动通信有限公司 Image processing method, device, computer readable storage medium and computer equipment
CN108805095A (en) * 2018-06-19 2018-11-13 Oppo广东移动通信有限公司 image processing method, device, mobile terminal and computer readable storage medium
CN108898082A (en) * 2018-06-19 2018-11-27 Oppo广东移动通信有限公司 Image processing method, picture processing unit and terminal device
CN108898587A (en) * 2018-06-19 2018-11-27 Oppo广东移动通信有限公司 Image processing method, picture processing unit and terminal device
CN108898169A (en) * 2018-06-19 2018-11-27 Oppo广东移动通信有限公司 Image processing method, picture processing unit and terminal device
CN108932704A (en) * 2018-06-19 2018-12-04 Oppo广东移动通信有限公司 Image processing method, picture processing unit and terminal device
CN108932703A (en) * 2018-06-19 2018-12-04 Oppo(重庆)智能科技有限公司 Image processing method, picture processing unit and terminal device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659581A (en) * 2019-08-29 2020-01-07 腾讯科技(深圳)有限公司 Image processing method, device, equipment and storage medium
CN110659581B (en) * 2019-08-29 2024-02-20 腾讯科技(深圳)有限公司 Image processing method, device, equipment and storage medium
CN112100205A (en) * 2020-09-27 2020-12-18 北京有竹居网络技术有限公司 Data processing method, device, equipment and computer readable medium
CN113393367A (en) * 2021-07-08 2021-09-14 北京百度网讯科技有限公司 Image processing method, apparatus, device and medium

Similar Documents

Publication Publication Date Title
CN106911697B (en) Access rights setting method, device, server and storage medium
CN108595628A (en) Method and apparatus for pushed information
CN108510373A (en) Paintings recommend method, paintings recommendation apparatus, equipment and storage medium
CN108933822B (en) Method and apparatus for handling information
CN107844371A (en) Task processing method, system and electronic equipment
CN109255337A (en) Face critical point detection method and apparatus
CN109446442A (en) Method and apparatus for handling information
CN109862100A (en) Method and apparatus for pushed information
CN108540831A (en) Method and apparatus for pushed information
CN109597912A (en) Method for handling picture
CN106896937A (en) Method and apparatus for being input into information
CN109992406A (en) The method and client that picture requesting method, response picture are requested
CN109582873A (en) Method and apparatus for pushed information
CN108776692A (en) Method and apparatus for handling information
CN109413056A (en) Method and apparatus for handling information
CN109525855A (en) Method and apparatus for handling information
CN110007936A (en) Data processing method and device
CN108595448A (en) Information-pushing method and device
CN110516099A (en) Image processing method and device
CN108549586A (en) Information processing method and device
CN108595211A (en) Method and apparatus for output data
CN109614549B (en) Method and apparatus for pushed information
CN107968743A (en) The method and apparatus of pushed information
CN109688086A (en) Authority control method and device for terminal device
CN109491721A (en) Method and apparatus for load information

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