CN111191064A - Intelligent photo aggregation method, electronic equipment and storage medium - Google Patents

Intelligent photo aggregation method, electronic equipment and storage medium Download PDF

Info

Publication number
CN111191064A
CN111191064A CN201911383134.5A CN201911383134A CN111191064A CN 111191064 A CN111191064 A CN 111191064A CN 201911383134 A CN201911383134 A CN 201911383134A CN 111191064 A CN111191064 A CN 111191064A
Authority
CN
China
Prior art keywords
photos
gallery
photo
recall
aggregation
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
CN201911383134.5A
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.)
Xian Wingtech Electronic Technology Co Ltd
Original Assignee
Xian Wingtech Electronic 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 Xian Wingtech Electronic Technology Co Ltd filed Critical Xian Wingtech Electronic Technology Co Ltd
Priority to CN201911383134.5A priority Critical patent/CN111191064A/en
Publication of CN111191064A publication Critical patent/CN111191064A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/55Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an intelligent photo polymerization method, which comprises the following steps: responding to the execution action of the user, and reading all the photos stored in the gallery; selecting a plurality of photos from all the photos according to a preset proportion to generate at least one recall photo album based on a preset aggregation algorithm, wherein the aggregation algorithm comprises at least one time rule and a limited number of photos corresponding to each time rule; displaying the recall photo album in the gallery. The invention provides an intelligent photo aggregation algorithm which helps a user aggregate photos in a specific category into one or more recall photo albums from a huge number of photos, limits the number of selected photos in the recall photo albums, and avoids redundancy and jamming during playing.

Description

Intelligent photo aggregation method, electronic equipment and storage medium
Technical Field
The present invention relates to image aggregation technologies, and in particular, to an intelligent photo aggregation method, an electronic device, and a storage medium.
Background
With the improvement of science and technology and the improvement of living standard of people, in addition to the shooting by a camera, people can record pictures of people, objects, scenes and the like by electronic equipment such as a smart phone, a tablet personal computer and the like with a shooting function. Because it is more and more convenient to shoot to along with intelligent terminal's gradual enhancement of function of shooing, more and more users are keen on shooing, obtain a large amount of photos.
However, as more photos are stored in the intelligent terminal, a photo that is to be turned over to the past is difficult to find, and due to the fact that the number of photos is too large, if the number of photos is not correspondingly classified and integrated, the number of times of turning over the old photo is reduced, and the photos cannot play a good recall role.
Disclosure of Invention
In order to overcome the defects of the prior art, an object of the present invention is to provide an intelligent photo aggregation method, which can solve the problem that the intelligent terminal in the prior art cannot classify and integrate photos.
The second objective of the present invention is to provide an electronic device, which can solve the problem that the intelligent terminal in the prior art cannot classify and integrate photos.
The invention also aims to provide a storage medium, which can solve the problem that the intelligent terminal in the prior art cannot classify and integrate the photos.
One of the purposes of the invention is realized by adopting the following technical scheme:
the intelligent photo polymerization method comprises the following steps:
responding to the execution action of the user, and reading all the photos stored in the gallery;
selecting a plurality of photos from all the photos according to a preset proportion to generate at least one recall photo album based on a preset aggregation algorithm, wherein the aggregation algorithm comprises at least one time rule and a limited number of photos corresponding to each time rule;
displaying the recall photo album in the gallery.
Preferably, after responding to the execution action of the user, the method further comprises the following steps:
and judging whether the current timestamp is far away from the vision of the last generated memory album to meet the updating period, if so, reading all the pictures stored in the gallery, and otherwise, continuously displaying the last generated memory album in the gallery.
Preferably, the update period is one month.
Preferably, the time rules include one or more of weekends, months, quarters, years, festivals.
Preferably, the limited number of photographs corresponding to the weekend is 20, the limited number of photographs corresponding to the month is 50, the limited number of photographs corresponding to the quarter is 50, the limited number of photographs corresponding to the year is 60, and the limited number of photographs corresponding to the holiday is 20.
Preferably, the aggregation algorithm further comprises a location rule, a content rule, a defined number of photos corresponding to the location rule and a defined number of photos corresponding to the content rule.
Preferably, the number of photos corresponding to the location rule is limited to 50.
Preferably, after reading all the photos stored in the gallery, the following steps are also performed: calculating the similarity of all the photos, and excluding the photos with the similarity larger than a preset value; the method comprises the steps of selecting a plurality of photos according to a preset proportion from all the photos to generate at least one recall photo album based on a preset aggregation algorithm.
The second purpose of the invention is realized by adopting the following technical scheme:
an electronic device having a processor, a memory, and a computer readable program stored in the memory and executable by the processor, the computer readable program when executed by the processor implementing the steps of:
responding to the execution action of the user, and reading all the photos stored in the gallery;
selecting a plurality of photos from all the photos according to a preset proportion to generate at least one recall photo album based on a preset aggregation algorithm, wherein the aggregation algorithm comprises at least one time rule and a limited number of photos corresponding to each time rule;
displaying the recall photo album in the gallery.
The third purpose of the invention is realized by adopting the following technical scheme:
a storage medium having a computer readable program stored thereon, the computer readable program being executable by a processor, the computer readable program, when executed by the processor, implementing a photo intelligent aggregation method according to any one of the objects of the present invention.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides an intelligent photo aggregation algorithm which helps a user aggregate photos in a specific category into one or more recall photo albums from a huge number of photos, limits the number of selected photos in the recall photo albums, and avoids redundancy and jamming during playing.
Drawings
Fig. 1 is a flowchart of a photo intelligent aggregation method of the present invention.
Detailed Description
The invention will be further described with reference to the accompanying drawings and the detailed description below:
the invention provides an intelligent photo polymerization method, as shown in fig. 1, comprising the following steps:
s1: responding to the execution action of the user, and reading all the photos stored in the gallery;
the method comprises the steps that a user clicks a gallery on an intelligent terminal, the intelligent terminal automatically detects actions of selection, clicking and the like of the user on the intelligent terminal, and when the situation that the user clicks the gallery is detected, the actions of the user are responded. The execution action is the action of clicking the gallery by the user. When the user clicks on the gallery, all the photos stored in the gallery are read.
In this step, it may also be determined as a preferred embodiment whether the current timestamp is within the update period from the last generated recall album, if so, all the photos stored in the gallery are read, and otherwise, the last generated recall album is continuously displayed in the gallery.
For example, the update period is one month, which is satisfied neither by too frequent updates nor by too long update intervals. And judging whether the time of the last generation of the recall photo album is more than one month away from the current time stamp, if so, continuously reading all photos stored in the gallery, and otherwise, directly and continuously displaying the last generated recall photo album in the gallery. So as to avoid causing frequent updating and wasting power consumption.
It is understood that the recall photo album generated by the present invention may be one or more, and is affected by the number of photos in the user gallery, the classifiable situation, and the actual difference of the aggregation algorithm.
Furthermore, after all the photos stored in the gallery are read, the following steps are also executed: calculating the similarity of all the photos, and excluding the photos with the similarity larger than a preset value; the method comprises the steps of selecting a plurality of photos according to a preset proportion from all the photos to generate at least one recall photo album based on a preset aggregation algorithm. Therefore, the situation that the selected photos for generating the recall photo album contain the photos with high similarity or the photos are repeated, the number of the photos limited in the recall photo album is occupied, and the watching experience of a user is influenced can be avoided.
S2: selecting a plurality of photos from all the photos according to a preset proportion to generate at least one recall photo album based on a preset aggregation algorithm, wherein the aggregation algorithm comprises at least one time rule and a limited number of photos corresponding to each time rule;
the aggregation algorithm is set in the intelligent terminal, when a user clicks the gallery, namely the user responds to the execution action of the user, the aggregation algorithm is started, and the photos are sorted and aggregated through rules and algorithm rules specified in the aggregation algorithm. The aggregation algorithm includes at least one temporal rule and a defined number of photos corresponding to each temporal rule. A time rule corresponds at least to a recall album.
In this step, the time rules include one or more of weekends, months, quarters, years, and festivals. For example, according to the time rule of weekends, the photos taken on each weekend are extracted, and the photos with the number meeting the limited number of photos are selected to generate the recall photo album. Meanwhile, according to the time rule of the month degree, the photos shot corresponding to each month degree in the photos are extracted, the photos in accordance with the number are selected according to the limited number of the photos, and the recall photo album corresponding to the month degree is generated.
In a preferred embodiment, the limited number of photographs corresponding to the weekend is 20, the limited number of photographs corresponding to the month is 50, the limited number of photographs corresponding to the quarter is 50, the limited number of photographs corresponding to the year is 60, and the limited number of photographs corresponding to the holiday is 20.
In the present invention, the aggregation algorithm includes not only the temporal rules. The rules involved in the aggregation algorithm actually correspond to the classification of the photos according to different situations. Thus, the aggregation algorithm may also include content rules, locality rules, and the like. A defined number of photos corresponding to the location rule and a defined number of photos corresponding to the content rule are also included. Further, the number of photographs corresponding to the location rule is limited to 50.
S3: displaying the recall photo album in the gallery.
And the generated one or more recall albums are respectively displayed in the gallery. The recall photo album may be named according to the rules of the aggregation algorithm to which it corresponds. For example, the month under the time rule, the corresponding recall photo album is named a certain month.
The present invention also provides an electronic device having a processor, a memory, and a computer readable program stored in the memory and executable by the processor, the computer readable program when executed by the processor implementing the steps of:
responding to the execution action of the user, and reading all the photos stored in the gallery;
selecting a plurality of photos from all the photos according to a preset proportion to generate at least one recall photo album based on a preset aggregation algorithm, wherein the aggregation algorithm comprises at least one time rule and a limited number of photos corresponding to each time rule;
displaying the recall photo album in the gallery.
The process executed by the electronic device provided by the present invention is completely the same as the intelligent photo aggregation method provided by the present invention, and further description thereof is omitted here for brevity.
The present invention also provides a storage medium having a computer readable program stored thereon, wherein the computer readable program is executable by a processor, and when executed by the processor, the method for intelligent photo aggregation is implemented.
Various other modifications and changes may be made by those skilled in the art based on the above-described technical solutions and concepts, and all such modifications and changes should fall within the scope of the claims of the present invention.

Claims (10)

1. The intelligent photo polymerization method is characterized by comprising the following steps:
responding to the execution action of the user, and reading all the photos stored in the gallery;
selecting a plurality of photos from all the photos according to a preset proportion to generate at least one recall photo album based on a preset aggregation algorithm, wherein the aggregation algorithm comprises at least one time rule and a limited number of photos corresponding to each time rule;
displaying the recall photo album in the gallery.
2. The intelligent photo aggregation method of claim 1, further comprising, in response to a user performing an action, the steps of:
and judging whether the current timestamp is far away from the vision of the last generated memory album to meet the updating period, if so, reading all the pictures stored in the gallery, and otherwise, continuously displaying the last generated memory album in the gallery.
3. The intelligent photo aggregation method of claim 2, wherein the update period is one month.
4. The intelligent photo aggregation method of claim 1, wherein the temporal rules include one or more of weekends, months, quarters, years, and festivals.
5. The intelligent photo aggregation method of claim 4, wherein the defined number of photos corresponding to the weekend is 20, the defined number of photos corresponding to the month is 50, the defined number of photos corresponding to the quarter is 50, the defined number of photos corresponding to the year is 60, and the defined number of photos corresponding to the holiday is 20.
6. The intelligent photo aggregation method of claim 1, wherein the aggregation algorithm further comprises a location rule, a content rule, a defined number of photos corresponding to the location rule, and a defined number of photos corresponding to the content rule.
7. The intelligent photo aggregation method of claim 6, wherein the limited number of photos corresponding to the location rule is 50.
8. The intelligent photo aggregation method of claim 1, wherein after all photos stored in the gallery are read, the following steps are further performed: calculating the similarity of all the photos, and excluding the photos with the similarity larger than a preset value; the method comprises the steps of selecting a plurality of photos according to a preset proportion from all the photos to generate at least one recall photo album based on a preset aggregation algorithm.
9. An electronic device having a processor, a memory, and a computer readable program stored in the memory and executable by the processor, wherein the computer readable program when executed by the processor implements the steps of:
responding to the execution action of the user, and reading all the photos stored in the gallery;
selecting a plurality of photos from all the photos according to a preset proportion to generate at least one recall photo album based on a preset aggregation algorithm, wherein the aggregation algorithm comprises at least one time rule and a limited number of photos corresponding to each time rule;
displaying the recall photo album in the gallery.
10. A storage medium having a computer readable program stored thereon that is executable by a processor, wherein the computer readable program, when executed by the processor, implements the intelligent photo aggregation method according to any of claims 1 to 8.
CN201911383134.5A 2019-12-27 2019-12-27 Intelligent photo aggregation method, electronic equipment and storage medium Pending CN111191064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911383134.5A CN111191064A (en) 2019-12-27 2019-12-27 Intelligent photo aggregation method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911383134.5A CN111191064A (en) 2019-12-27 2019-12-27 Intelligent photo aggregation method, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111191064A true CN111191064A (en) 2020-05-22

Family

ID=70705911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911383134.5A Pending CN111191064A (en) 2019-12-27 2019-12-27 Intelligent photo aggregation method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111191064A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108241752A (en) * 2018-01-30 2018-07-03 努比亚技术有限公司 Photo display methods, mobile terminal and computer readable storage medium
WO2018152822A1 (en) * 2017-02-25 2018-08-30 华为技术有限公司 Method and device for generating album, and mobile terminal
CN109165564A (en) * 2018-08-01 2019-01-08 广州视源电子科技股份有限公司 Electron album, generation method, system, storage medium and computer equipment
CN109508398A (en) * 2018-11-30 2019-03-22 维沃移动通信有限公司 A kind of photo classification method and its terminal device
WO2019137167A1 (en) * 2018-01-10 2019-07-18 Oppo广东移动通信有限公司 Photo album management method and apparatus, storage medium, and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018152822A1 (en) * 2017-02-25 2018-08-30 华为技术有限公司 Method and device for generating album, and mobile terminal
WO2019137167A1 (en) * 2018-01-10 2019-07-18 Oppo广东移动通信有限公司 Photo album management method and apparatus, storage medium, and electronic device
CN110109878A (en) * 2018-01-10 2019-08-09 广东欧珀移动通信有限公司 Photograph album management method, device, storage medium and electronic equipment
CN108241752A (en) * 2018-01-30 2018-07-03 努比亚技术有限公司 Photo display methods, mobile terminal and computer readable storage medium
CN109165564A (en) * 2018-08-01 2019-01-08 广州视源电子科技股份有限公司 Electron album, generation method, system, storage medium and computer equipment
CN109508398A (en) * 2018-11-30 2019-03-22 维沃移动通信有限公司 A kind of photo classification method and its terminal device

Similar Documents

Publication Publication Date Title
US9020183B2 (en) Tagging images with labels
US10733262B2 (en) Attribute control for updating digital content in a digital medium environment
US8867779B2 (en) Image tagging user interface
CN111105819B (en) Clipping template recommendation method and device, electronic equipment and storage medium
TWI498843B (en) Portable electronic device, content recommendation method and computer-readable medium
JP5524219B2 (en) Interactive image selection method
WO2012073421A1 (en) Image classification device, image classification method, program, recording media, integrated circuit, and model creation device
CN108898082B (en) Picture processing method, picture processing device and terminal equipment
TWI781554B (en) Method of determining item name of object, device, computer equipment and storage medium
CN110941736B (en) Electronic photograph display method and device and mobile equipment
CN110223186A (en) User's similarity determines method and information recommendation method
JP2014092955A (en) Similar content search processing device, similar content search processing method and program
CN111259245B (en) Work pushing method, device and storage medium
CN110049180A (en) Shoot posture method for pushing and device, intelligent terminal
CN111274476B (en) House source matching method, device, equipment and storage medium based on face recognition
CN111191064A (en) Intelligent photo aggregation method, electronic equipment and storage medium
CN110633377A (en) Picture cleaning method and device
US20160360079A1 (en) Generation apparatus and method for evaluation information, electronic device and server
CN115757973A (en) Sorting method, device and equipment of recommendation system and readable storage medium
CN110413817B (en) Method and device for clustering pictures
CN111400526A (en) Photo processing method and device and computer readable storage medium
CN111324759A (en) Picture sorting processing method and device
US11250271B1 (en) Cross-video object tracking
CN114390345B (en) Video generation method, device, electronic equipment and computer readable storage medium
CN116226523B (en) Knowledge training method and system based on big data

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