CN102323936A - Method and device for automatically classifying photos - Google Patents

Method and device for automatically classifying photos Download PDF

Info

Publication number
CN102323936A
CN102323936A CN201110255665A CN201110255665A CN102323936A CN 102323936 A CN102323936 A CN 102323936A CN 201110255665 A CN201110255665 A CN 201110255665A CN 201110255665 A CN201110255665 A CN 201110255665A CN 102323936 A CN102323936 A CN 102323936A
Authority
CN
China
Prior art keywords
photo
information
temporal information
classified
same theme
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
CN201110255665A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201110255665A priority Critical patent/CN102323936A/en
Publication of CN102323936A publication Critical patent/CN102323936A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a method and device for automatically classifying photos. The method comprises the steps of: receiving unclassified photos uploaded by a user; randomly selecting a photo with time information from the unclassified photos to serves as a reference photo, and determining the time information of the reference photo; selecting photos with the time information in the same time section as that of the time information of the reference photo, from other unclassified photos, and classifying the selected photos into a same topic with the reference photo; and dividing the photos with same camera information in the same topic into a group. The method and device in the invention are suitable for rapidly and automatically classifying the photos.

Description

Method that comparison film is classified automatically and device
Technical field
The present invention relates to the picture processing technology field, relate in particular to method and device that a kind of comparison film is classified automatically.
Background technology
In daily routines; People take some photos through regular meeting, and along with the increasing of digital photograph, in the past to develop and print preserving type no longer suitable; There are many shortcomings such as fragile, that inconvenience is shared in particularly traditional papery photograph album preserving type, and makes digital photograph become present main flow.Manage a large amount of digital photographs for ease, occurred many electron album products and deriving technology on the internet.The user can be uploaded to electron album with taking good digital photograph, the convenient storage and reading.
In realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
When using existing electron album, often need carry out manual sort according to the temporal information of photo and the camera information comparison film of taking this photo, again with photo upload to electron album, and give each photograph album name.When running into the photo of classifying in a large number, such work is not only loaded down with trivial details but also time-consuming, is not easy to the user and uses.
Summary of the invention
Method and device that embodiments of the invention provide a kind of comparison film to classify automatically, comparison film is classified automatically apace.
For achieving the above object, embodiments of the invention adopt following technical scheme:
The method that a kind of comparison film is classified automatically comprises:
Receive the non-classified photo that the user uploads;
From said non-classified photo, select a photo with temporal information photo as a reference at random, confirm said temporal information with reference to photo;
From non-classified other photo, select time information and said temporal information with reference to photo are in the photo of identical time period, are divided into same theme with said with reference to photo;
To have in the photograph of same theme, the photo with identical camera information is divided into one group.
The device that a kind of comparison film is classified automatically comprises:
Receiver module is used to receive the non-classified photo that the user uploads;
Select module, be used for selecting a photo with temporal information photo as a reference at random, confirm said temporal information with reference to photo from said non-classified photo;
First sort module is used for from non-classified other photo, and select time information and said temporal information with reference to photo are in the photo of identical time period, are divided into same theme with said with reference to photo;
Second sort module is used for the photograph with same theme, and the photo with identical camera information is divided into one group.
Method that the comparison film that the embodiment of the invention provides is classified automatically and device; Can receive the photo that the user uploads; Read entrained temporal information of said photo and camera information; According to said temporal information and camera information the photo that the user uploads is classified, and the grouping that obtains is named automatically.Compared with prior art, the embodiment of the invention can read the information of photo automatically, classifies according to these information comparison films, and the process of whole classification all is to handle automatically, especially when handling a large amount of photo, can save time, and reduces workload.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The process flow diagram of the method that the comparison film that Fig. 1 provides for the embodiment of the invention one is classified automatically;
The process flow diagram of the method that the comparison film that Fig. 2 provides for the embodiment of the invention two is classified automatically;
The structural representation of the device that the comparison film that Fig. 3, Fig. 4 provide for the embodiment of the invention three is classified automatically.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making all other embodiment that obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
For the advantage that makes technical scheme of the present invention is clearer, the present invention is elaborated below in conjunction with accompanying drawing and embodiment.
Embodiment one
The method that present embodiment provides a kind of comparison film to classify automatically, as shown in Figure 1, said method comprises:
The non-classified photo that step 101, reception user upload.
Step 102, select a photo with temporal information photo as a reference.
From said non-classified photo, select a photo with temporal information photo as a reference at random, confirm said temporal information with reference to photo.
Step 103, select time information and said temporal information with reference to photo are in the photo of identical time period and saidly are divided into same theme with reference to photo.
Step 104, the photo that has identical camera information in the same theme is divided into same group.
The method that the comparison film that the embodiment of the invention provides is classified automatically can receive the photo that the user uploads, and reads entrained temporal information of said photo and camera information, classifies according to resulting information comparison film.Compared with prior art, the embodiment of the invention can read the information of photo automatically, classifies according to these information comparison films, and the process of classification does not need manually-operated, compared with prior art, saves time, and reduces workload.
Embodiment two
The method that present embodiment provides a kind of comparison film to classify automatically, as shown in Figure 2, said method comprises:
The non-classified photo that step 201, reception user upload.
The ungrouped photo that server reception user uploads also backs up, and can selected voluntarily to divide into groups automatically by the user.
Step 202, select a photo with temporal information photo as a reference.
Select photo photo as a reference at random, and confirm the temporal information with reference to photo, if the not free information of said photo, execution in step 207 is with the unknown group of said photo classification to the first.
Step 203, select time information and said temporal information with reference to photo are in the photo of identical time period and saidly are divided into same theme with reference to photo.
The temporal information of remaining photo and temporal information with reference to photo are compared,, think that then these photos with once taking in the activity, have same theme if the absolute value of difference is less than or equal to the Preset Time value.For example, the Preset Time value is six hours, the temporal information that 100 photos are arranged in said non-classified photo with reference to the absolute value of the difference of the temporal information of photo smaller or equal to 6 hours, then these 100 photos with belong to same theme with reference to photo.
Step 204, the photo that has identical camera information in the same theme is divided into same group.
According to the mode of step 203 with photo classification to a theme after, confirm the camera information of photo in the said theme, the photo that shows with identical camera information is taken by same camera.The photo classification that will have identical camera information obtains one group of section photo by same camera shooting at one time to same group, and automatic allocation packets title, and said group names is the combination of time period and camera information.Can't confirm the camera information of said photo, then execution in step 208, free information do not had the unknown group of photo classification to the second of camera information.
Whether step 205, inspection also have remaining photo.
Also have remaining non-classified photo, then classify automatically once more according to the photo of step 202, step 203, step 204 pair remainder; Do not have the photo residue, then execution in step 206 finishes classification automatically.
Step 206, classification end automatically.
The unknown group of the photo classification to the first of step 207, the information that will have no time.
Step 208, free information there is not the unknown group of photo classification to the second of camera information.
The method that the comparison film that the embodiment of the invention provides is classified automatically; Can receive the photo that the user uploads, the temporal information that reads in the said photo is also confirmed with reference to photo, according to the temporal information of contrast with reference to photo; Obtain and the said photo that is in the identical time period with reference to photo; According to the camera information of said photo, classification has the photo of identical temporal information and camera information to same group, and automatic allocation packets title again.Compared with prior art; The embodiment of the invention can read the temporal information and the camera information of photo automatically; Temporal information and camera information comparison film according to photo are classified, the process of classification does not need manually-operated, have removed user's comparison film work of classifying one by one from; Can save time, reduce workload.
Embodiment three
The device that present embodiment provides a kind of comparison film to classify automatically, as shown in Figure 3, said device comprises:
Receiver module 31 is used to receive the non-classified photo that the user uploads;
Select module 32, be used for selecting a photo with temporal information photo as a reference at random, confirm said temporal information with reference to photo from said non-classified photo;
First sort module 33 is used for from non-classified other photo, and select time information and said temporal information with reference to photo are in the photo of identical time period, are divided into same theme with said with reference to photo;
Second sort module 34 is used for the photograph with same theme, and the photo with identical camera information is divided into one group.
Further, as shown in Figure 4, said device can also comprise:
Distribution module 35 is used in the said photograph with same theme, has the photo allocation packets title of identical camera information, and said group names is the combination of time period and camera information.
Further, as shown in Figure 4, said first sort module 33 comprises:
Confirm unit 331, be used for confirming the temporal information of said non-classified other photo;
Comparing unit 332 is used for the temporal information of said non-classified other photo is compared with said temporal information with reference to photo respectively, confirms the temporal information of each photo and said with reference to the difference between the temporal information of photo;
Taxon 333 is used for temporal information and saidly is less than or equal to the photo of Preset Time value and saidly is divided into same theme with reference to photo with reference to the difference between the temporal information of photo.
Further, as shown in Figure 4, said device can also comprise:
The 3rd sort module 36 is used for the photo of the not free information of said non-classified photo is assigned to the first unknown group.
Further, as shown in Figure 4, said device can also comprise:
The 4th sort module 37, the photo that is used for not having having temporal information camera information is assigned to the second unknown group.
The device that the comparison film that the embodiment of the invention provides is classified automatically; Receiver module receives the photo that the user uploads, and the temporal information of selecting module to read in the said photo confirms that also with reference to photo, first sort module is according to the temporal information of contrast with reference to photo; Obtain and the said photo that is in the identical time period with reference to photo; Second sort module is according to the camera information of said photo, and classification has the photo of identical temporal information and camera information to same group, and automatic allocation packets title.Compared with prior art; The embodiment of the invention can read the temporal information and the camera information of photo automatically; Temporal information and camera information comparison film according to photo are classified, the process of classification does not need manually-operated, have removed user's comparison film work of classifying one by one from; Can save time, reduce workload.
The device that the comparison film that the embodiment of the invention provides is classified automatically can be realized the above-mentioned method embodiment that provides, and concrete function is realized seeing also the explanation among the method embodiment, repeats no more at this.Method that the comparison film that the embodiment of the invention provides is classified automatically and device go for classifying according to the temporal information of photo and camera information comparison film, but are not limited only to this.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by said protection domain with claim.

Claims (10)

1. the method that comparison film is classified automatically is characterized in that, comprising:
Receive the non-classified photo that the user uploads;
From said non-classified photo, select a photo with temporal information photo as a reference at random, confirm said temporal information with reference to photo;
From non-classified other photo, select time information and said temporal information with reference to photo are in the photo of identical time period, are divided into same theme with said with reference to photo;
To have in the photograph of same theme, the photo with identical camera information is divided into one group.
2. method according to claim 1 is characterized in that, in the said photograph that will have a same theme, the photo with identical camera information is divided into after one group, also comprises:
In said photograph with same theme, have the photo allocation packets title of identical camera information, said group names is the combination of time period and camera information.
3. method according to claim 1 is characterized in that, and is said from said non-classified photo, and select time information and said temporal information with reference to photo are in the photo of identical time period, is divided into same theme with reference to photo and comprises with said:
Confirm the temporal information of said non-classified other photo;
The temporal information of said non-classified other photo is compared with said temporal information with reference to photo respectively, confirm the temporal information of each photo and said with reference to the difference between the temporal information of photo;
With temporal information and saidly be less than or equal to the photo of Preset Time value and saidly be divided into same theme with reference to photo with reference to the difference between the temporal information of photo.
4. according to each described method in the claim 1 to 3, it is characterized in that, after the non-classified photo that said reception user uploads, also comprise:
The photo of not free information in the said non-classified photo is assigned to the first unknown group.
5. according to each described method in the claim 1 to 3, it is characterized in that, also comprise:
The photo that will have temporal information and not have a camera information is assigned to the second unknown group.
6. the device that comparison film is classified automatically is characterized in that, comprising:
Receiver module is used to receive the non-classified photo that the user uploads;
Select module, be used for selecting a photo with temporal information photo as a reference at random, confirm said temporal information with reference to photo from said non-classified photo;
First sort module is used for from non-classified other photo, and select time information and said temporal information with reference to photo are in the photo of identical time period, are divided into same theme with said with reference to photo;
Second sort module is used for the photograph with same theme, and the photo with identical camera information is divided into one group.
7. device according to claim 6 is characterized in that, also comprises:
Distribution module is used in the said photograph with same theme, has the photo allocation packets title of identical camera information, and said group names is the combination of time period and camera information.
8. device according to claim 6 is characterized in that, said first sort module comprises:
Confirm the unit, be used for confirming the temporal information of said non-classified other photo;
Comparing unit is used for the temporal information of said non-classified other photo is compared with said temporal information with reference to photo respectively, confirms the temporal information of each photo and said with reference to the difference between the temporal information of photo;
Taxon is used for temporal information and saidly is less than or equal to the photo of Preset Time value and saidly is divided into same theme with reference to photo with reference to the difference between the temporal information of photo.
9. according to each described device among the claim 6-8, it is characterized in that, also comprise:
The 3rd sort module is used for the photo of the not free information of said non-classified photo is assigned to the first unknown group.
10. according to each described device among the claim 6-8, it is characterized in that, also comprise:
The 4th sort module, the photo that is used for not having having temporal information camera information is assigned to the second unknown group.
CN201110255665A 2011-08-31 2011-08-31 Method and device for automatically classifying photos Pending CN102323936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110255665A CN102323936A (en) 2011-08-31 2011-08-31 Method and device for automatically classifying photos

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110255665A CN102323936A (en) 2011-08-31 2011-08-31 Method and device for automatically classifying photos

Publications (1)

Publication Number Publication Date
CN102323936A true CN102323936A (en) 2012-01-18

Family

ID=45451679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110255665A Pending CN102323936A (en) 2011-08-31 2011-08-31 Method and device for automatically classifying photos

Country Status (1)

Country Link
CN (1) CN102323936A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226575A (en) * 2013-04-01 2013-07-31 北京小米科技有限责任公司 Image processing method and device
CN104469069A (en) * 2014-12-15 2015-03-25 北京百度网讯科技有限公司 Picture synchronization method and device
CN104572847A (en) * 2014-12-15 2015-04-29 广东欧珀移动通信有限公司 Method and device for naming photo
CN104951459A (en) * 2014-03-26 2015-09-30 腾讯科技(深圳)有限公司 Display method and device for photo gallery
CN105320514A (en) * 2014-07-31 2016-02-10 腾讯科技(深圳)有限公司 Picture processing method and device
CN105488067A (en) * 2014-09-19 2016-04-13 中兴通讯股份有限公司 Slide generation method and apparatus
CN105531741A (en) * 2013-09-26 2016-04-27 富士胶片株式会社 Device for determining principal facial image in photographic image, and method and program for controlling same
CN105528450A (en) * 2015-12-23 2016-04-27 北京奇虎科技有限公司 Method and device for naming photo album
WO2016065999A1 (en) * 2014-10-29 2016-05-06 努比亚技术有限公司 Photo album management method and device
CN105989182A (en) * 2015-04-13 2016-10-05 乐视移动智能信息技术(北京)有限公司 Photo display method and intelligent terminal
CN106294518A (en) * 2015-06-12 2017-01-04 联想(北京)有限公司 A kind of photo management method and electronic equipment
WO2019127300A1 (en) * 2017-12-25 2019-07-04 深圳云天励飞技术有限公司 Data storage method, electronic device and storage medium
CN110008364A (en) * 2019-03-25 2019-07-12 联想(北京)有限公司 Image processing method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040145602A1 (en) * 2003-01-24 2004-07-29 Microsoft Corporation Organizing and displaying photographs based on time
CN1666200A (en) * 2002-07-09 2005-09-07 皇家飞利浦电子股份有限公司 Method and apparatus for classification of a data object in a database
CN1780353A (en) * 2004-11-24 2006-05-31 乐金电子(中国)研究开发中心有限公司 Method for providing pictures with names of camera mobile phone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1666200A (en) * 2002-07-09 2005-09-07 皇家飞利浦电子股份有限公司 Method and apparatus for classification of a data object in a database
US20040145602A1 (en) * 2003-01-24 2004-07-29 Microsoft Corporation Organizing and displaying photographs based on time
CN1780353A (en) * 2004-11-24 2006-05-31 乐金电子(中国)研究开发中心有限公司 Method for providing pictures with names of camera mobile phone

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226575A (en) * 2013-04-01 2013-07-31 北京小米科技有限责任公司 Image processing method and device
CN105531741A (en) * 2013-09-26 2016-04-27 富士胶片株式会社 Device for determining principal facial image in photographic image, and method and program for controlling same
CN104951459A (en) * 2014-03-26 2015-09-30 腾讯科技(深圳)有限公司 Display method and device for photo gallery
CN105320514A (en) * 2014-07-31 2016-02-10 腾讯科技(深圳)有限公司 Picture processing method and device
CN105488067A (en) * 2014-09-19 2016-04-13 中兴通讯股份有限公司 Slide generation method and apparatus
CN105488067B (en) * 2014-09-19 2020-04-21 中兴通讯股份有限公司 Slide generation method and device
WO2016065999A1 (en) * 2014-10-29 2016-05-06 努比亚技术有限公司 Photo album management method and device
CN104572847A (en) * 2014-12-15 2015-04-29 广东欧珀移动通信有限公司 Method and device for naming photo
CN104469069A (en) * 2014-12-15 2015-03-25 北京百度网讯科技有限公司 Picture synchronization method and device
CN104572847B (en) * 2014-12-15 2018-05-15 广东欧珀移动通信有限公司 A kind of method and device of photo name
CN105989182A (en) * 2015-04-13 2016-10-05 乐视移动智能信息技术(北京)有限公司 Photo display method and intelligent terminal
CN106294518A (en) * 2015-06-12 2017-01-04 联想(北京)有限公司 A kind of photo management method and electronic equipment
CN105528450A (en) * 2015-12-23 2016-04-27 北京奇虎科技有限公司 Method and device for naming photo album
WO2019127300A1 (en) * 2017-12-25 2019-07-04 深圳云天励飞技术有限公司 Data storage method, electronic device and storage medium
CN110008364A (en) * 2019-03-25 2019-07-12 联想(北京)有限公司 Image processing method, device and system

Similar Documents

Publication Publication Date Title
CN102323936A (en) Method and device for automatically classifying photos
CN102882838B (en) Authentication method and system applying verification code mechanism
EP2506522A1 (en) Method and device for pushing data
US20160179846A1 (en) Method, system, and computer readable medium for grouping and providing collected image content
EP1566752A3 (en) Rapid visual sorting of digital files and data
US9460123B1 (en) Systems and methods for generating an arrangement of images based on image analysis
CN102077570A (en) Image processing
US20080307337A1 (en) Classifying digital media based on content
WO2006053168A1 (en) Sequential processing of video data
CN104484855A (en) Method and device for cropping pictures
CN105956080A (en) Photo naming processing method and apparatus
US11195003B2 (en) Fast identification of text intensive pages from photographs
CN102918526A (en) Method and apparatus for organizing images
CN104462096A (en) Public opinion monitoring and analysis method and device
Gurrin et al. An examination of a large visual lifelog
CN105488526B (en) The auto-screening method of the shared photo of group
US20170102831A1 (en) System and method for displaying content objects
CN106250426A (en) A kind of photo processing method and terminal
CN102253935A (en) System and method for classifying photographs
TWI621954B (en) Method and system of classifying image files
CN106294519A (en) A kind of method for displaying image and electronic equipment
US9460206B2 (en) Active platform system
CN113438417A (en) Method, system, medium and device for capturing object to be identified by video
CN111177422B (en) Group chat system capable of reproducing information based on keyword information
JP5546951B2 (en) Distributed media processing apparatus, method and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120118