CN106021573A - Image classification method and device and electronic device - Google Patents
Image classification method and device and electronic device Download PDFInfo
- Publication number
- CN106021573A CN106021573A CN201610379859.7A CN201610379859A CN106021573A CN 106021573 A CN106021573 A CN 106021573A CN 201610379859 A CN201610379859 A CN 201610379859A CN 106021573 A CN106021573 A CN 106021573A
- Authority
- CN
- China
- Prior art keywords
- picture
- sorted
- time point
- determines
- category attribute
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/5866—Retrieval 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 relates to an image classification method and device and an electronic device. The method includes the steps that to-be-classified images are determined, and a first time point when the to-be-classified images are acquired is determined; category attributes corresponding to the to-be-classified images are determined according to the first time point; the to-be-classified images are stored in files corresponding to the category attributes. According to the technical scheme, the to-be-classified images can be automatically classified, the files corresponding to the category attributes can be precisely searched for target images, the image search range is narrowed, and the image search efficiency of a user is improved.
Description
Technical field
It relates to electronic technology field, particularly relate to a kind of picture classification method and device, electronics sets
Standby.
Background technology
Along with developing rapidly of electronic technology, mobile phone is provided with photographic head, user can by mobile phone with
Time take pictures everywhere.The photo generated of taking pictures would generally be ranked up being stored in by photo opporunity the picture library of mobile phone
In, during photo in preview picture library, photo is illustrated on picture library interface according to photo opporunity equally,
When user needs searched targets photo in picture library, user needs the photo opporunity according to this target picture
Picture library is searched one by one, due to correlation technique cannot precise positioning to target picture, cause user to search
The inefficiency of target picture.
Summary of the invention
For overcoming problem present in correlation technique, disclosure embodiment provide a kind of picture classification method and
Device, electronic equipment, can improve, by picture carries out sophisticated category, the efficiency searching picture.
First aspect according to disclosure embodiment, it is provided that a kind of picture classification method, including:
Determine picture to be sorted and determine the first time point when getting described picture to be sorted;
The category attribute that described picture to be sorted is corresponding is determined according to described first time point;
Described picture to be sorted is stored in the file that described category attribute is corresponding.
In one embodiment, described determine picture to be sorted and determine and getting described picture to be sorted
Time first time point, it may include:
When camera application program is run, by described camera application program by triggering what shoot button obtained
Photo is defined as described picture to be sorted;
Determine the second time point when described shoot button is triggered, be defined as obtaining by described second time point
Get first time point during described picture to be sorted.
In one embodiment, described method may also include that
Determine in the user interface of described camera application program for classified to taking a picture first
Whether option tab is triggered;
When described first option tab is triggered, by true for category attribute corresponding for described first option tab
It is set to the category attribute of described picture to be sorted.
In one embodiment, the described time point determining picture to be sorted and obtaining described picture to be sorted,
Comprise the steps that
When instant messenger runs, by true for the picture file received by described instant messenger
It is set to described picture to be sorted;
Determine the 3rd time point receiving described picture file, be defined as described 3rd time point obtaining institute
State the first time point of picture to be sorted.
In one embodiment, described method may also include that
Determine in the user interface of described instant messenger for described picture file classified
Whether the second option tab is triggered;
When described second option tab is triggered, by true for category attribute corresponding for described second option tab
It is set to the category attribute of described picture to be sorted.
In one embodiment, described the class that described picture to be sorted is corresponding is determined according to described first time point
Other attribute, it may include:
Determine the time period at described first time point place;
Time period according to described first time point place determines that the classification that described picture to be sorted is corresponding belongs to
Property.
Second aspect according to disclosure embodiment, it is provided that a kind of picture classifier, including:
First determines module, be configured to determine that picture to be sorted and determine get described to be sorted
First time point during picture;
Second determines module, is configured to determine, according to described first, the described first time point that module determines
Determine the category attribute that described picture to be sorted is corresponding;
Classification memory module, is configured to determine that the picture described to be sorted that module determines is deposited by described first
Store up and determine in the file that described category attribute that module determines is corresponding described second.
In one embodiment, described first determines that module comprises the steps that
First determines submodule, when being configured as camera application program operation, by described camera applications journey
The photo that sequence obtains by triggering shoot button is defined as described picture to be sorted;
Second determines submodule, is configured to determine that the second time point when described shoot button is triggered,
Described second time point is defined as getting first time point during described picture to be sorted.
In one embodiment, described device may also include that
3rd determines module, be configured to determine that in the user interface of described camera application program for right
Whether the first option tab carrying out classifying of being taken a picture is triggered;
4th determines module, is configured as the described 3rd and determines that module determines described first option tab quilt
During triggering, category attribute corresponding for described first option tab is defined as the classification of described picture to be sorted
Attribute.
In one embodiment, described first determines that module comprises the steps that
3rd determines submodule, when being configured as instant messenger operation, immediately will be chatted by described
The picture file that it instrument receives is defined as described picture to be sorted;
4th determines submodule, is configured to determine that the 3rd time point receiving described picture file, by institute
State the 3rd time point and be defined as obtaining the first time point of described picture to be sorted.
In one embodiment, described device may also include that
5th determines module, be configured to determine that in the user interface of described instant messenger for right
Whether the second option tab that described picture file carries out classifying is triggered;
6th determines module, is configured as the described 5th and determines that module determines described second option tab quilt
During triggering, category attribute corresponding for described second option tab is defined as the classification of described picture to be sorted
Attribute.
In one embodiment, described second determines that module comprises the steps that
5th determines submodule, is configured to determine that described first determines the described very first time that module determines
The time period at some place;
6th determines submodule, be configured to according to the described 5th determine that submodule determines described first time
Between put time period at place and determine the category attribute that described picture to be sorted is corresponding.
The third aspect according to disclosure embodiment, it is provided that a kind of electronic equipment, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Determine picture to be sorted and determine the time point when getting described picture to be sorted;
The category attribute that described picture to be sorted is corresponding is determined according to described time point;
Described picture to be sorted is stored in the file that described category attribute is corresponding.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
By picture to be sorted is determined picture to be sorted according to first time point when obtaining picture to be sorted
Corresponding category attribute, and then picture to be sorted is stored in the file that category attribute is corresponding, thus
Can automatically treat category images and carry out classification storage, when user requires to look up arbitrary target picture, logical
Cross file corresponding to category attribute and can accurately find this Target Photo, reduce the model searching picture
Enclose, improve user and search the efficiency of picture.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe
, the disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet this
Bright embodiment, and for explaining the principle of the present invention together with description.
Figure 1A is the flow chart according to the picture classification method shown in an exemplary embodiment.
Figure 1B is the scene graph being suitable for according to the picture classification method shown in an exemplary embodiment.
Fig. 2 A is the flow chart according to the picture classification method shown in an exemplary embodiment one.
Fig. 2 B is the signal of the user interface according to the camera application program shown in an exemplary embodiment one
Figure.
Fig. 3 is the flow chart according to the picture classification method shown in an exemplary embodiment two.
Fig. 4 A is the flow chart according to the picture classification method shown in an exemplary embodiment three.
Fig. 4 B is the signal of the user interface according to the instant messenger shown in an exemplary embodiment three
Figure.
Fig. 5 is the flow chart according to the picture classification method shown in an exemplary embodiment four.
Fig. 6 is the block diagram according to a kind of picture classifier shown in an exemplary embodiment.
Fig. 7 is the block diagram according to the another kind of picture classifier shown in an exemplary embodiment.
Fig. 8 is the block diagram according to another picture classifier shown in an exemplary embodiment.
Fig. 9 is according to a kind of block diagram being applicable to picture classifier shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following
When description relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous
Key element.Embodiment described in following exemplary embodiment does not represent the institute consistent with the present invention
There is embodiment.On the contrary, they only with as appended claims describes in detail, the one of the present invention
The example of the apparatus and method that a little aspects are consistent.
Figure 1A is the flow chart according to the picture classification method shown in an exemplary embodiment, and Figure 1B is root
The scene graph being suitable for according to the picture classification method shown in an exemplary embodiment;This picture classification method can
To apply on electronic equipment (such as: smart mobile phone, panel computer etc.), as shown in Figure 1A, should
The filter element replacing processing method of water purifier comprises the following steps S101-S103:
In step S101, determine picture to be sorted and determine when getting picture to be sorted
One time point.
In one embodiment, can by the camera application program on electronic equipment take pictures obtain to be sorted
Picture, it is also possible to the picture file being received the contact person's transmission in address list by instant messenger is obtained
To picture to be sorted.In one embodiment, first time point can be that camera application program is taken pictures in triggering
Time time point, it is also possible to for receive contact person send picture file time time point.
In step s 102, determine, according to first time point, the category attribute that picture to be sorted is corresponding.
In one embodiment, category attribute can be arranged according to the time period, such as, by working day
Category attribute corresponding to working time section is set to " work ", by the inoperative period in working day and
Category attribute corresponding to public holiday is set to " life ", further, it is also possible to according to time point and electronics
The position at equipment place determines whether category attribute is " going on a tour ", and such as, time point is public holiday,
The region at electronic equipment place is different from the region at place on working day, and such as, working day, region was north
Capital, public holiday the region at place be Tianjin, then can be according to first time point and the position at electronic equipment place
Put and determine that category attribute is " going on a tour ".In one embodiment, working day and time corresponding to public holiday
Section can be by user according to its specific works time self-defined setting.
In step s 103, picture to be sorted is stored in the file that category attribute is corresponding.
Corresponding to above-mentioned steps S102, corresponding file includes: working folder, life file folder,
Go on a tour file.
In an exemplary scenario, as shown in Figure 1B, in the picture library application program of electronic equipment 10,
When electronic equipment 10 gets the photo taken pictures by camera application program or passes through instant messenger
When receiving the picture file that the contact person in address list sends, by above-mentioned steps S101-step S103
Picture can be stored in the file corresponding with category attribute according to the time period, such as, operationally
The photo of section shooting is stored in " working folder ", and the photo of inoperative period shooting is deposited on weekdays
Storage is in " life file folder ", and the photo shot public holiday determines depending on the position at electronic equipment 10 place
It is stored in " life file folder " or " file of going on a tour ".It will be appreciated by those skilled in the art that
, picture included in each file in the picture library at file place and this picture library in Figure 1B
Quantity (46,190,420,35) be only an exemplary illustration, file can be arbitrarily to be used for
The application program of management picture, the specific name of this kind of application program is not limited by the disclosure.
In the present embodiment, by picture to be sorted is true according to first time point when obtaining picture to be sorted
The category attribute that fixed picture to be sorted is corresponding, and then picture to be sorted is stored in the literary composition that category attribute is corresponding
In part folder, such that it is able to automatically treat category images to carry out classification storage, when user requires to look up arbitrary mesh
Mark on a map sheet time, the file corresponding by category attribute can accurately find this Target Photo, reduce
Search the scope of picture, improve user and search the efficiency of picture.
Specifically how picture is classified, refer to subsequent embodiment.
In one embodiment, when determining picture to be sorted and determine first when getting picture to be sorted
Between point, it may include:
When camera application program is run, photo camera application program obtained by triggering shoot button is true
It is set to picture to be sorted;
Determine the second time point when shoot button is triggered, be defined as the second time point getting to be sorted
First time point during picture.
In one embodiment, method may also include that
Determine in the user interface of camera application program for the first option of being classified to taking a picture by
Key whether by;
When the first option tab is triggered, category attribute corresponding for the first option tab is defined as to be sorted
The category attribute of picture.
In one embodiment, determine picture to be sorted and obtain the time point of picture to be sorted, it may include:
When instant messenger runs, it is defined as treating by the picture file received by instant messenger
Category images;
Determine the 3rd time point receiving picture file, be defined as obtaining picture to be sorted by the 3rd time point
First time point.
In one embodiment, method may also include that
Determine in the user interface of instant messenger for the second option that picture file is classified by
Whether key is triggered;
When the second option tab is triggered, category attribute corresponding for the second option tab is defined as to be sorted
The category attribute of picture.
In one embodiment, determine, according to first time point, the category attribute that picture to be sorted is corresponding, it may include:
Determine the time period at first time point place;
Time period according to first time point place determines the category attribute that picture to be sorted is corresponding.
So far, the said method that disclosure embodiment provides, can automatically treat category images and classify,
The file corresponding by category attribute can accurately search Target Photo, reduces the scope searching picture,
Improve user and search the efficiency of picture.
With specific embodiment, the technical scheme that disclosure embodiment provides is described below.
Fig. 2 A is the flow chart according to the picture classification method shown in an exemplary embodiment one, and Fig. 2 B is
The schematic diagram of the user interface according to the camera application program shown in an exemplary embodiment one;The present embodiment
Utilize the said method that disclosure embodiment provides, to get picture to be sorted by camera application program
As a example by illustrative, as shown in Figure 2 A, comprise the steps:
In step s 201, when camera application program is run, camera application program is clapped by triggering
Take the picture that button obtains and be defined as picture to be sorted.
In step S202, determine the second time point when shoot button is triggered, by the second time point
It is defined as the first time point when getting picture to be sorted.
In step S203, determine the time period at first time point place.
In step S204, determine that picture to be sorted is corresponding according to the time period at first time point place
Category attribute.
In step S205, picture to be sorted is stored in the file that category attribute is corresponding.
In an exemplary scenario, as shown in Figure 2 B, the system of electronic equipment 10 listen to camera should
After running by program 11, when user triggers shoot button 12, camera application program 11 controls photographic head
Taking pictures and obtain the photo in interface 13 of finding a view, this photo in interface 13 of finding a view is picture to be sorted,
The system record of electronic equipment 10 triggers the second time point of shoot button 12, such as, the second time point
It it is 10: 11 on the 25th May in 2016, in the time period at this second time point place is working day
Working time section, category attribute corresponding to working time section is " work ", therefore can be by figure to be sorted
Sheet is categorized in " working folder " shown in Figure 1B;The most such as, the second time point is 2016 5
10: 11 on the 15th moon, the time period at this second time point place is public holiday, the class that public holiday is corresponding
Other attribute is " life ", therefore can be by picture classification to be sorted to " the life file shown in Figure 1B
Folder " in.By user is clapped working time section, non-working time section and public holiday on weekdays
The photo taken the photograph is classified automatically, such that it is able to guarantee confidentiality and the life of the photo that work factor shoots
The photo in work with privacy will not be exposed to unrelated 3rd people.
The present embodiment is on the basis of having the Advantageous Effects of above-described embodiment, to passing through camera applications
The picture to be sorted that the mode that program is taken pictures gets carries out classification storage, and user effort can be avoided extra
Time user is taken pictures the whenever and wherever possible photo obtained arrange, saved the time of user.
Fig. 3 is the flow chart according to the picture classification method shown in an exemplary embodiment two;The present embodiment
Utilize the said method that disclosure embodiment provides, as a example by how determining category attribute and combine Fig. 2 B
Illustrative, as it is shown on figure 3, comprise the steps:
In step S301, when camera application program is run, determine user circle of camera application program
Whether being triggered, when the first option is pressed for the first option tab classified to taking a picture on face
When key is triggered, perform step S302, when the first option tab is not triggered, can be according to above-mentioned figure
The correlation technique flow process of 2A embodiment determines picture pair to be sorted according to the time period at first time point place
The category attribute answered.
In step s 302, when the first option tab is triggered, by class corresponding for the first option tab
Other attribute is defined as the category attribute of picture to be sorted.
In step S303, the photo that camera application program obtains by triggering shoot button is defined as
Picture to be sorted.
In step s 304, picture to be sorted is stored in the file that category attribute is corresponding.
In an exemplary scenario, as shown in Figure 2 B, need to be touched by camera application program 11 as user
Before sending out shoot button 12, if current point in time is working time section, user needs to shoot one temporarily
During live photo, user can determine the classification of the photo currently taken by triggering the first option tab 14
Attribute is life, and after the first option tab 14 is triggered, when shoot button 12 is triggered, camera should
Control photographic head by program 11 to take pictures and obtain the photo in interface 13 of finding a view, this photograph in interface 13 of finding a view
Sheet is picture to be sorted, now can be by picture classification to be sorted to " the life file shown in Figure 1B
Folder " in.
When in one embodiment, the category attribute corresponding to the first option tab 14 can be taken pictures with triggering
Category attribute corresponding to time point place time period differs, such as, when triggering time point institute when taking pictures
Being working time section in the time period, category attribute corresponding to working time section is " work ", then the first choosing
The category attribute of item button 14 correspondence is " life ".
The present embodiment is on the basis of having the Advantageous Effects of above-described embodiment, by monitoring the first choosing
Whether item button is triggered, when the first option tab is triggered, and can be by corresponding for the first option tab
Category attribute is defined as the category attribute of picture to be sorted, it can be ensured that picture can be classified more accurately
In the file that corresponding category attribute is corresponding.
Fig. 4 A is the flow chart according to the picture classification method shown in an exemplary embodiment three, and Fig. 4 B is
The schematic diagram of the user interface according to the instant messenger shown in an exemplary embodiment three;The present embodiment
Utilize the said method that disclosure embodiment provides, to get picture to be sorted by instant messenger
As a example by illustrative, as shown in Figure 4 A, comprise the steps:
In step S401, when instant messenger runs, receive by monitoring instant messenger
To picture file determine picture to be sorted.
In step S403, determine the 3rd time point receiving picture file, picture file will be received
3rd time point is defined as obtaining the first time point of picture to be sorted.
In step s 404, the time period at first time point place is determined.
In step S405, determine that picture to be sorted is corresponding according to the time period at first time point place
Category attribute.
In step S406, picture to be sorted is stored in the file that category attribute is corresponding.
In an exemplary scenario, as shown in Figure 4 B, the system of electronic equipment 10 is listening to instant chatting
After it instrument 15 runs, when timely chat tool 15 receives the picture file that contact person sends, use
When this picture file is clicked at family, picture file can be illustrated in below region 16, and region 16 and can show
The virtual key such as " preservation picture ", " being sent to friend ", " cancellation ", " preserves when user triggers
Picture " button time, it may be determined that the time period at this first time point place, such as, the 3rd time point is
12: 11 on the 25th May in 2016, the time period at this first time point place is non-in working day
Working time section, non-working time section correspondence category attribute is " life ", therefore can be by figure to be sorted
Sheet is categorized in " life file folder " shown in Figure 1B;The most such as, first time point is 2016 5
10: 11 on the 25th moon, the time period at this first time point place is working time section, working time section
Corresponding category attribute is " work ", therefore can be by picture classification to be sorted to the " work shown in Figure 1B
Make file " in.By by user's working time section, non-working time section and general holiday on weekdays
The picture file day received by instant messenger is classified automatically, such that it is able to guarantee work because of
The picture in the confidentiality of the picture that element receives and the personal lifestyle that receives with privacy will not be by
Show unrelated 3rd people.
The present embodiment is on the basis of having the Advantageous Effects of above-described embodiment, to passing through instant chat
The picture to be sorted that the mode of instrument gets carry out classification storage, can avoid user effort extra time
Between picture that user is received arrange, saved the time of user.
Fig. 5 is the flow chart according to the picture classification method shown in an exemplary embodiment four;The present embodiment
Utilize the said method that disclosure embodiment provides, to get picture to be sorted by instant messenger
As a example by and to combine Fig. 4 B illustrative, as it is shown in figure 5, comprise the steps:
In step S501, when instant messenger runs, will be received by instant messenger
Picture file be defined as picture to be sorted.
In step S502, determine in the user interface of instant messenger for picture file is entered
Whether the second option tab of row classification is triggered.
In step S503, when the second option tab is triggered, by class corresponding for the second option tab
Other attribute is defined as the category attribute of picture to be sorted.
In step S504, picture to be sorted is stored in the file that category attribute is corresponding.
In an exemplary scenario, as shown in Figure 4 B, need to be received by instant messenger as user
To picture file, the time period at the time point place receiving picture file is working time section, now user
Needing to receive the picture file about life, user can be by triggering the second option tab 17 really temporarily
The category attribute of the picture file being surely currently received is life, after the second option tab 17 is triggered,
When the button of " preservation picture " is triggered, instant messenger using this picture file as file to be sorted,
By in this picture classification to be sorted to " life file folder " shown in Figure 1B.
In one embodiment, the category attribute corresponding to the second option tab 17 can with receive picture literary composition
Category attribute corresponding to time point place time period during part differs, such as, when receiving picture file
Time time period at time point place be working time section, category attribute corresponding to working time section is " work
Make ", then the category attribute of the second option tab 17 correspondence is " life ".
The present embodiment is on the basis of having the Advantageous Effects of above-described embodiment, by monitoring the second choosing
Whether item button is triggered, when the second option tab is triggered, and can be by corresponding for the second option tab
Category attribute is defined as the category attribute of picture to be sorted, it can be ensured that picture can be classified more accurately
In the file that corresponding category attribute is corresponding.
Fig. 6 is the block diagram according to a kind of picture classifier shown in an exemplary embodiment, such as Fig. 6 institute
Showing, picture classifier includes:
First determines module 61, is configured to determine that picture to be sorted and determines and getting figure to be sorted
First time point during sheet;
Second determines module 62, is configured to determine that the first time point that module 61 determines is true according to first
The category attribute that fixed picture to be sorted is corresponding;
Classification memory module 63, is configured to determine the picture to be sorted storage that module 61 determines by first
Determine in the file that category attribute that module 62 determines is corresponding second.
Fig. 7 is the block diagram according to the another kind of picture classifier shown in an exemplary embodiment, such as Fig. 7
Shown in, on the basis of above-mentioned embodiment illustrated in fig. 6, in one embodiment, first determines module 61
Comprise the steps that
First determines submodule 611, when being configured as camera application program operation, by camera applications journey
The photo that sequence obtains by triggering shoot button is defined as picture to be sorted;
Second determines submodule 612, is configured to determine that the second time point when shoot button is triggered,
Second time point is defined as getting first time point during picture to be sorted.
In one embodiment, device may also include that
3rd determines module 64, be configured to determine that in the user interface of camera application program for institute
Whether the first option tab carrying out classifying of taking a picture is triggered;
4th determines module 65, is configured as the 3rd and determines that module 64 determines that the first option tab is touched
When sending out, category attribute corresponding for the first option tab is defined as the category attribute of picture to be sorted, for
Picture to be sorted is stored in the 4th and determines that the category attribute that module 65 determines is corresponding by classification memory module 63
File in.
Fig. 8 is the block diagram according to another picture classifier shown in an exemplary embodiment, such as Fig. 8
Shown in, on the basis of above-mentioned Fig. 6 or embodiment illustrated in fig. 7, in one embodiment, first determines mould
Block 61 comprises the steps that
3rd determines submodule 613, when being configured as instant messenger operation, will be chatted by instant
The picture file that it instrument receives is defined as picture to be sorted;
4th determines submodule 614, is configured to determine that the 3rd time point receiving picture file, by the
Three time points are defined as obtaining the first time point of picture to be sorted.
In one embodiment, device may also include that
5th determines module 66, be configured to determine that in the user interface of instant messenger for figure
Whether the second option tab that sheet file carries out classifying is triggered;
6th determines module 67, is configured as the 5th and determines that module 66 determines that the second option tab is touched
When sending out, category attribute corresponding for the second option tab is defined as the category attribute of picture to be sorted, for
Picture to be sorted is stored in the 6th and determines that the category attribute that module 67 determines is corresponding by classification memory module 63
File in.
In one embodiment, second determines that module 62 comprises the steps that
5th determines submodule 621, is configured to determine that first determines the first time point that module 61 determines
The time period at place;
6th determines submodule 622, be configured to according to the 5th determine that submodule 621 determines first time
Between put time period at place and determine the category attribute that picture to be sorted is corresponding.
About the device in above-described embodiment, the concrete mode that wherein modules performs to operate is having
Close in the embodiment of the method and be described in detail, explanation will be not set forth in detail herein.
Fig. 9 is according to a kind of block diagram being applicable to picture classifier shown in an exemplary embodiment.Example
As, device 900 can be mobile phone, computer, digital broadcast terminal, messaging devices, trip
Play control station, tablet device, armarium, body-building equipment, the electronic equipment such as personal digital assistant.
With reference to Fig. 9, device 900 can include following one or more assembly: processes assembly 902, storage
Device 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, input/output (I/O)
Interface 912, sensor cluster 914, and communications component 916.
Process assembly 902 and generally control the integrated operation of device 900, such as with display, call,
The operation that data communication, camera operation and record operation are associated.Treatment element 902 can include one
Or multiple processor 920 performs instruction, to complete all or part of step of above-mentioned method.Additionally,
Process assembly 902 and can include one or more module, it is simple to process between assembly 902 and other assemblies
Mutual.Such as, processing component 902 can include multi-media module, to facilitate multimedia groupware 908
And process between assembly 902 mutual.
Memorizer 904 is configured to store various types of data to support the operation at equipment 900.This
The example of a little data includes any application program for operation on device 900 or the instruction of method, connection
It is personal data, telephone book data, message, picture, video etc..Memorizer 904 can be by any type
Volatibility or non-volatile memory device or combinations thereof realize, such as static RAM
(SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable is read-only
Memorizer (EPROM), programmable read only memory (PROM), read only memory (ROM),
Magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 906 is device 900 provide electric power.Electric power assembly 906 can include
Power-supply management system, one or more power supplys, and other with generate for device 900, manage and distribute electricity
The assembly that power is associated.
One output interface of offer that multimedia groupware 908 is included between described device 900 and user
Screen.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).
If screen includes that touch panel, screen may be implemented as touch screen, to receive the input from user
Signal.Touch panel includes that one or more touch sensor touches with sensing, slides and on touch panel
Gesture.Described touch sensor can not only sense touch or the border of sliding action, but also detects
The persistent period relevant to described touch or slide and pressure.In certain embodiments, multimedia group
Part 908 includes a front-facing camera and/or post-positioned pick-up head.When equipment 900 is in operator scheme, as
When screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multimedia of outside
Data.Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have
Focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to output and/or input audio signal.Such as, audio-frequency assembly 910 wraps
Include a mike (MIC), when device 900 is in operator scheme, such as call model, logging mode
During with speech recognition mode, mike is configured to receive external audio signal.The audio signal received
Can be further stored at memorizer 904 or send via communications component 916.In certain embodiments,
Audio-frequency assembly 910 also includes a speaker, is used for exporting audio signal.
I/O interface 912 provides interface, above-mentioned periphery for processing between assembly 902 and peripheral interface module
Interface module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: homepage is pressed
Button, volume button, start button and locking press button.
Sensor cluster 914 includes one or more sensor, for providing various aspects for device 900
State estimation.Such as, what sensor cluster 914 can detect equipment 900 opens/closed mode,
The relative localization of assembly, the most described assembly is display and the keypad of device 900, sensor cluster
914 position changes that can also detect device 900 or 900 1 assemblies of device, user and device 900
The presence or absence of contact, device 900 orientation or acceleration/deceleration and the variations in temperature of device 900.Pass
Sensor assembly 914 can include proximity transducer, is configured to when not having any physical contact examine
The existence of object near surveying.Sensor cluster 914 can also include optical sensor, such as CMOS or CCD
Imageing sensor, for using in imaging applications.In certain embodiments, this sensor cluster 914
Can also include that acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature pass
Sensor.
Communications component 916 is configured to facilitate wired or wireless mode between device 900 and other equipment
Communication.Device 900 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or
Combinations thereof.In one exemplary embodiment, communication component 916 via broadcast channel receive from
The broadcast singal of external broadcasting management system or broadcast related information.In one exemplary embodiment, institute
State communication component 916 and also include near-field communication (NFC) module, to promote junction service.Such as, exist
NFC module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, super
Broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be by one or more application specific integrated circuits
(ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), can compile
Journey logical device (PLD), field programmable gate array (FPGA), controller, microcontroller, micro-
Processor or other electronic components realize, and are used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable storage including instruction is additionally provided
Medium, such as, include the memorizer 904 of instruction, and above-mentioned instruction can be held by the processor 920 of device 900
Row is to complete said method.Such as, described non-transitory computer-readable recording medium can be ROM,
Random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to this
Other embodiment disclosed.The application is intended to any modification, purposes or the adaptability of the disclosure
Change, these modification, purposes or adaptations are followed the general principle of the disclosure and include these public affairs
Open undocumented common knowledge in the art or conventional techniques means.Description and embodiments only by
Being considered as exemplary, the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure be not limited to described above and illustrated in the accompanying drawings accurately
Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by institute
Attached claim limits.
Claims (13)
1. a picture classification method, it is characterised in that described method includes:
Determine picture to be sorted and determine the first time point when getting described picture to be sorted;
The category attribute that described picture to be sorted is corresponding is determined according to described first time point;
Described picture to be sorted is stored in the file that described category attribute is corresponding.
Method the most according to claim 1, it is characterised in that described determine picture to be sorted and
Determine the first time point when getting described picture to be sorted, including:
When camera application program is run, by described camera application program by triggering what shoot button obtained
Photo is defined as described picture to be sorted;
Determine the second time point when described shoot button is triggered, be defined as obtaining by described second time point
Get first time point during described picture to be sorted.
Method the most according to claim 2, it is characterised in that described method also includes:
Determine in the user interface of described camera application program for classified to taking a picture first
Whether option tab is triggered;
When described first option tab is triggered, by true for category attribute corresponding for described first option tab
It is set to the category attribute of described picture to be sorted.
Method the most according to claim 1, it is characterised in that described determine picture to be sorted and
Obtain the time point of described picture to be sorted, including:
When instant messenger runs, by true for the picture file received by described instant messenger
It is set to described picture to be sorted;
Determine the 3rd time point receiving described picture file, be defined as described 3rd time point obtaining institute
State the first time point of picture to be sorted.
Method the most according to claim 4, it is characterised in that described method also includes:
Determine in the user interface of described instant messenger for described picture file classified
Whether the second option tab is triggered;
When described second option tab is triggered, by true for category attribute corresponding for described second option tab
It is set to the category attribute of described picture to be sorted.
Method the most according to claim 1, it is characterised in that described according to described first time point
Determine the category attribute that described picture to be sorted is corresponding, including:
Determine the time period at described first time point place;
Time period according to described first time point place determines that the classification that described picture to be sorted is corresponding belongs to
Property.
7. a picture classifier, it is characterised in that described device includes:
First determines module, be configured to determine that picture to be sorted and determine get described to be sorted
First time point during picture;
Second determines module, is configured to determine, according to described first, the described first time point that module determines
Determine the category attribute that described picture to be sorted is corresponding;
Classification memory module, is configured to determine that the picture described to be sorted that module determines is deposited by described first
Store up and determine in the file that described category attribute that module determines is corresponding described second.
Device the most according to claim 7, it is characterised in that described first determines that module includes:
First determines submodule, when being configured as camera application program operation, by described camera applications journey
The photo that sequence obtains by triggering shoot button is defined as described picture to be sorted;
Second determines submodule, is configured to determine that the second time point when described shoot button is triggered,
Described second time point is defined as getting first time point during described picture to be sorted.
Device the most according to claim 8, it is characterised in that described device also includes:
3rd determines module, be configured to determine that in the user interface of described camera application program for right
Whether the first option tab carrying out classifying of being taken a picture is triggered;
4th determines module, is configured as the described 3rd and determines that module determines described first option tab quilt
During triggering, category attribute corresponding for described first option tab is defined as the classification of described picture to be sorted
Attribute.
Device the most according to claim 7, it is characterised in that described first determines that module includes:
3rd determines submodule, when being configured as instant messenger operation, immediately will be chatted by described
The picture file that it instrument receives is defined as described picture to be sorted;
4th determines submodule, is configured to determine that the 3rd time point receiving described picture file, by institute
State the 3rd time point and be defined as obtaining the first time point of described picture to be sorted.
11. devices according to claim 10, it is characterised in that described device also includes:
5th determines module, be configured to determine that in the user interface of described instant messenger for right
Whether the second option tab that described picture file carries out classifying is triggered;
6th determines module, is configured as the described 5th and determines that module determines described second option tab quilt
During triggering, category attribute corresponding for described second option tab is defined as the classification of described picture to be sorted
Attribute.
12. devices according to claim 7, it is characterised in that described second determines that module includes:
5th determines submodule, is configured to determine that described first determines the described very first time that module determines
The time period at some place;
6th determines submodule, be configured to according to the described 5th determine that submodule determines described first time
Between put time period at place and determine the category attribute that described picture to be sorted is corresponding.
13. 1 kinds of electronic equipments, it is characterised in that described electronic equipment includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Determine picture to be sorted and determine the time point when getting described picture to be sorted;
The category attribute that described picture to be sorted is corresponding is determined according to described time point;
Described picture to be sorted is stored in the file that described category attribute is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379859.7A CN106021573A (en) | 2016-05-31 | 2016-05-31 | Image classification method and device and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379859.7A CN106021573A (en) | 2016-05-31 | 2016-05-31 | Image classification method and device and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106021573A true CN106021573A (en) | 2016-10-12 |
Family
ID=57091840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610379859.7A Pending CN106021573A (en) | 2016-05-31 | 2016-05-31 | Image classification method and device and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106021573A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110046267A (en) * | 2019-04-26 | 2019-07-23 | 广东电网有限责任公司 | Image fast organizing system |
CN110532407A (en) * | 2019-08-14 | 2019-12-03 | 北京超凡视幻网络科技有限公司 | A kind of picture taxis system and method |
CN111368108A (en) * | 2020-02-28 | 2020-07-03 | 维沃移动通信有限公司 | Method and device for inquiring photos |
CN111371999A (en) * | 2020-03-17 | 2020-07-03 | Oppo广东移动通信有限公司 | Image management method, device, terminal and storage medium |
US11386140B2 (en) | 2017-12-05 | 2022-07-12 | Huawei Technologies Co., Ltd. | Story album display method and apparatus |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577475A (en) * | 2012-08-03 | 2014-02-12 | 阿里巴巴集团控股有限公司 | Picture automatic sorting method, picture processing method and devices thereof |
CN105022802A (en) * | 2015-07-02 | 2015-11-04 | 深圳市金立通信设备有限公司 | Photo classification method and terminal |
-
2016
- 2016-05-31 CN CN201610379859.7A patent/CN106021573A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577475A (en) * | 2012-08-03 | 2014-02-12 | 阿里巴巴集团控股有限公司 | Picture automatic sorting method, picture processing method and devices thereof |
CN105022802A (en) * | 2015-07-02 | 2015-11-04 | 深圳市金立通信设备有限公司 | Photo classification method and terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11386140B2 (en) | 2017-12-05 | 2022-07-12 | Huawei Technologies Co., Ltd. | Story album display method and apparatus |
CN110046267A (en) * | 2019-04-26 | 2019-07-23 | 广东电网有限责任公司 | Image fast organizing system |
CN110532407A (en) * | 2019-08-14 | 2019-12-03 | 北京超凡视幻网络科技有限公司 | A kind of picture taxis system and method |
CN111368108A (en) * | 2020-02-28 | 2020-07-03 | 维沃移动通信有限公司 | Method and device for inquiring photos |
CN111371999A (en) * | 2020-03-17 | 2020-07-03 | Oppo广东移动通信有限公司 | Image management method, device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105095873B (en) | Photo be shared method, apparatus | |
CN104820675A (en) | Photo album displaying method and device | |
CN106202194A (en) | The storage method and device of screenshot picture | |
CN104317932A (en) | Photo sharing method and device | |
CN105302315A (en) | Image processing method and device | |
CN106021573A (en) | Image classification method and device and electronic device | |
CN106919629B (en) | Method and device for realizing information screening in group chat | |
CN104717366A (en) | Method and device for recommending contact photos | |
CN105426515A (en) | Video classification method and apparatus | |
KR101810514B1 (en) | Methods, devices, program and recording medium for calling based on cloud card | |
CN104112119A (en) | Face identification-based communication method and apparatus | |
CN105069083A (en) | Determination method and device of associated user | |
CN104991910A (en) | Album creation method and apparatus | |
CN105549300A (en) | Automatic focusing method and device | |
CN105872254A (en) | Message forwarding method and device | |
CN105912450A (en) | Method and device for displaying state information of application | |
CN104484438A (en) | Image processing method and device | |
CN105530167A (en) | Method and device for setting group name card | |
CN105704016A (en) | Group message shielding processing method, device and terminal | |
CN105335714A (en) | Photograph processing method, device and apparatus | |
CN104636164A (en) | Generating method and device for starting page | |
CN106547547A (en) | Collecting method and device | |
CN105808667A (en) | Image acquisition method, apparatus and system | |
CN105205093B (en) | The method and device that picture is handled in picture library | |
CN104809204A (en) | Picture processing method and picture processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161012 |
|
RJ01 | Rejection of invention patent application after publication |