WO2018233480A1 - Photograph recommendation method and related product - Google Patents

Photograph recommendation method and related product Download PDF

Info

Publication number
WO2018233480A1
WO2018233480A1 PCT/CN2018/089830 CN2018089830W WO2018233480A1 WO 2018233480 A1 WO2018233480 A1 WO 2018233480A1 CN 2018089830 W CN2018089830 W CN 2018089830W WO 2018233480 A1 WO2018233480 A1 WO 2018233480A1
Authority
WO
WIPO (PCT)
Prior art keywords
photo
photos
shooting
sets
image quality
Prior art date
Application number
PCT/CN2018/089830
Other languages
French (fr)
Chinese (zh)
Inventor
白剑
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2018233480A1 publication Critical patent/WO2018233480A1/en

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/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5838Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection

Definitions

  • the present application relates to the field of electronic device technologies, and in particular, to a photo recommendation method and related products.
  • smartphones can support more and more applications and become more powerful. Smartphones are becoming more and more indispensable in the life of users. More and more research shows that how software works and how users use smartphones is a key factor in determining system energy consumption and efficiency.
  • the embodiment of the present application provides a photo recommendation method and related products, which can improve the efficiency of selecting a photo.
  • an embodiment of the present application provides a photo recommendation method, including:
  • N photos taken in a preset time period where N is a positive integer
  • each photo set includes at least one photo, and the M is a positive integer less than or equal to the N;
  • the P photos are recommended to the user.
  • the embodiment of the present application provides a photo recommendation device, including:
  • An acquiring unit configured to acquire N photos taken in a preset time period when the user selects a photo, wherein the N is a positive integer;
  • a dividing unit configured to divide the N photos into scenes, to obtain M photo sets, each photo set includes at least one photo, and the M is a positive integer less than or equal to the N;
  • An evaluation unit configured to perform image quality evaluation on each photo set in the M photo collections, and select a photo in which the image quality of each photo collection satisfies a corresponding preset requirement, to obtain P photos, wherein the P is smaller than the a positive integer of N;
  • a recommendation unit for recommending the P photos to a user.
  • an embodiment of the present application provides an electronic device, including: a processor and a memory; and one or more programs, wherein the one or more programs are stored in the memory, and configured to Executed by the processor, the program includes instructions for performing some or all of the steps as described in the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute as implemented in the present application.
  • an embodiment of the present application provides a computer program product, where the computer program product includes a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute Apply some or all of the steps described in the first aspect of the embodiment.
  • the computer program product can be a software installation package.
  • the N photos taken in the preset time period are acquired, and N is a positive integer, and the N photos are divided into scenes to obtain M photo sets, each of which is obtained.
  • the photo set contains at least one photo, and M is a positive integer less than or equal to N.
  • the image quality is evaluated for each photo set in the M photo collection, and the photo with the image quality of each photo set meets the corresponding preset requirement is obtained.
  • P photos, P is a positive integer less than N, recommending P photos to the user, so that when the user selects a photo, the scene is divided by the scene for a period of time, and the image corresponding to each scene is imaged.
  • Quality evaluation select a number of photos, and recommend to the user, without the user to filter the photos, but directly recommend, improve the efficiency of the selection of photos.
  • FIG. 1 is a schematic flow chart of a photo recommendation method disclosed in an embodiment of the present application.
  • FIG. 2 is a schematic flow chart of another photo recommendation method disclosed in an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a photo recommendation device according to an embodiment of the present application.
  • FIG. 3b is a schematic structural diagram of an acquiring unit of the photo recommendation device described in FIG. 3a disclosed in the embodiment of the present application;
  • FIG. 3b is a schematic structural diagram of an acquiring unit of the photo recommendation device described in FIG. 3a disclosed in the embodiment of the present application;
  • 3c is a schematic structural diagram of a dividing unit of the photo recommendation device described in FIG. 3a disclosed in the embodiment of the present application;
  • FIG. 3d is still another schematic structural diagram of a dividing unit of the photo recommendation device described in FIG. 3a disclosed in the embodiment of the present application;
  • FIG. 3e is a schematic structural diagram of an evaluation unit of the photo recommendation device described in FIG. 3a disclosed in the embodiment of the present application; FIG.
  • FIG. 3f is still another schematic structural diagram of the photo recommendation device described in FIG. 3a disclosed in the embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present application.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • the electronic device involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various forms of user devices (user Equipment, UE), mobile station (MS), terminal device, etc.
  • user Equipment user Equipment
  • MS mobile station
  • terminal device etc.
  • the devices mentioned above are collectively referred to as electronic devices.
  • the embodiments of the present application are described in detail below.
  • the electronic device in the embodiment of the present application may be installed with an artificial intelligence module (AI), and the artificial intelligence module may be separately installed in the electronic device, for example, the processor calls the AI module to implement artificial intelligence, and of course, Can be integrated with the processor, this time, the processor is equivalent to the AI module.
  • the artificial intelligence module can be a quantum chip, or a high-density silicon integrated circuit, and an AI module can store a machine learning algorithm for training user habits (for example, habits for screening photos), and user habits. Deep learning, thus, through the AI module to achieve intelligent control of electronic devices.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a photo recommendation method according to an embodiment of the present application.
  • the photo recommendation method described in this embodiment includes the following steps:
  • N photos taken in a preset time period where N is a positive integer.
  • the user selects a photo, which usually occurs in an application scenario in which a photo needs to be collected, or a friend circle is sent, or a photo is sent to a friend, for example, when detecting that the user is in a friend circle, the application is executed.
  • a specific operation may be monitored, for example, an operation of sending a circle of friends, a collection operation, or an operation of sending a picture in a live chat tool, etc., when the above operation occurs, the user may be deemed to be detected. choose a photo.
  • the preset time period may be set by the user or the system defaults, for example, the current day, or within 12 hours of the current time. When it is detected that the user selects a photo, N photos taken in a preset time period can be acquired, and the N is a positive integer.
  • acquiring N photos taken in a preset time period may include the following steps:
  • the preset time period may be obtained in the process of performing step 101, because the photos in the preset time period are not all in good condition, and sometimes the backlight may appear, or the camera shakes. All the photos in the inside, that is, Q photos, of course, Q is a positive integer greater than or equal to N, and then, the Q photos are filtered to obtain N photos.
  • step 12 the Q photos are filtered, including:
  • a photo of the blurred area having a larger area than the preset blurred area is filtered out from the Q photos.
  • the specific method of screening may be: performing fuzzy region detection on each photo in the Q photos, and obtaining Q blurred region areas, and each photo corresponding to a blurred region area may filter out the blurred region area larger than the preset blurred area.
  • the photo get N photos, that is, to see which photos have blurred areas, and the blurred area is larger than the preset blurred area, then filter out the part of the photo, the preset blurred area can be set by the user or the system default.
  • the electronic device itself performs photo blurring on the photo, the background blurred photo can be directly retained.
  • the N photos are divided into scenes to obtain M photo sets, each photo set includes at least one photo, and the M is a positive integer less than or equal to the N.
  • N photos may be very large, for example, for traveling, visiting a day, taking a lot of photos, of course, the day's itinerary has a certain plan, it is difficult to concentrate on one scene, and therefore, will be multiple
  • the scene is shot, so that N pictures can be divided into scenes to obtain M photo sets, each photo set contains at least one photo, and M is a positive integer less than or equal to N.
  • the N photos are divided into scenes to obtain M photo sets, which may include the following steps:
  • A1) acquiring the shooting positions of each of the N photos, and obtaining the N shooting positions
  • A3) acquiring a photo corresponding to the shooting position in each of the M shooting position sets to obtain the M photo sets.
  • the electronic device in the process of shooting with the camera, can not only obtain photos, but also record one shooting position for each photo, and N photos corresponding to N shooting positions, each photo corresponding to one shooting position.
  • N photos corresponding to N shooting positions
  • N shooting positions can be combined, thus obtaining M shooting position sets.
  • a photo corresponding to each of the M shooting position sets is acquired, and M photo sets are obtained. In this way, the scene is divided by the shooting position.
  • the N photos are divided into scenes to obtain M photo sets, which may include the following steps:
  • each of the N photos can correspond to one shooting time.
  • N photos there are N shooting times, and the photos correspond to the shooting time one by one. Since the time of photo recording is first and foremost, Obtain the earliest shooting time (one shooting time that is the farthest from the current time in N shooting times) and the most recent shooting time (one shooting time closest to the current time in N shooting times) in N shooting times.
  • the shooting time and the most recent shooting time are divided into M time periods, and each time period may have a shooting time falling into the time period. Therefore, N shooting times can be classified according to the M time periods to obtain M.
  • a collection of shooting time further, obtaining a photo corresponding to the shooting time in each of the M shooting time sets, so that M photo sets can be obtained, thereby realizing scene division of multiple photos according to time. For example, when we travel, we don’t concentrate on one place in one day. Therefore, by dividing the time period, we can achieve photos to a certain extent. The scene is divided.
  • the foregoing steps B2 and B3 provide a manner of dividing the time period.
  • the user's schedule can also be combined (for example, 8-10 points in the A position, 10-12 points in the B position, 13 -15 points in the C position), the preset time period is divided into M time periods.
  • an image quality evaluation value when performing image quality evaluation on each photo, an image quality evaluation value may be obtained, and the preset requirement may be that the image quality evaluation value is greater than a preset image quality threshold, wherein the preset image quality threshold may be set by the user or the system
  • the preset image quality threshold may be set by the user or the system
  • different photo collections may have different preset image quality thresholds.
  • Each of the above M photo collections may correspond to a preset requirement.
  • all the photo collections in the M photo collections may also correspond to the same preset requirement.
  • the preset requirement may also be determined according to user habits. For example, if a user likes a certain scene, the scene will be multi-dimensionally photographed, thereby obtaining a large number of photos, so that the user is likely to be here. Some photos are selected in some photos.
  • the preset image quality threshold can be adjusted appropriately. In this way, P-pictures can be obtained by performing image quality evaluation on each photo set in M photo sets, and selecting photos in which the image quality of each photo set satisfies the corresponding preset requirements, and P is a positive integer smaller than N.
  • the P photos include at least one photo in each photo set in the M photo collection.
  • at least one photo in each photo set in the M photo set can be retained, and photos of different scenes can be recommended to the user.
  • performing image quality evaluation on each photo set in the M photo sets may include the following steps:
  • the evaluation index set includes at least one image quality evaluation index
  • the environmental parameter includes at least one of the following: ambient brightness, weather, temperature, geographic location, that is, environmental parameters may include, but are not limited to, ambient brightness, weather, temperature, geographic location, and the like.
  • the step 32 of obtaining the evaluation index corresponding to the environmental parameter of the photo i can be implemented as follows:
  • the evaluation index set corresponding to the environmental parameter of the photo i is determined according to a mapping relationship between the preset environmental parameter and the evaluation index set.
  • the mapping relationship between the environment parameter and the evaluation index set may be preset in the electronic device, and different environmental parameters correspond to different evaluation index sets, and each evaluation index set includes at least one image quality evaluation indicator.
  • the image quality evaluation of the photos of each scene can be performed in a targeted manner, and the evaluation result is more in line with the actual situation.
  • the photo i is any photo of any set of M photo collections, and may obtain an environmental parameter of the photo i, further obtain an evaluation index set corresponding to the environmental parameter, and set the photo according to the evaluation index set.
  • Image quality evaluation indicators may include, but are not limited to, average gray scale, mean square error, entropy, edge retention, signal to noise ratio, and the like.
  • the evaluation index set may include a plurality of image quality evaluation indicators, and each image quality evaluation index also corresponds to one weight, so that each image quality evaluation index can obtain a picture quality evaluation of the photo.
  • Image quality can be evaluated by using 2 to 10 image quality evaluation indicators. Specifically, the number of image quality evaluation indicators and which indicator are selected are determined according to specific implementation conditions. Of course, it is also necessary to select image quality evaluation indicators in combination with specific scenes, and the image quality indicators in the dark environment and the image quality evaluation in the bright environment may be different.
  • an image quality evaluation index may be used for evaluation.
  • the image quality evaluation value is processed by entropy processing, and the entropy is larger, indicating that the image quality is higher.
  • the smaller the entropy the worse the image quality.
  • the image may be evaluated by using multiple image quality evaluation indicators, and the plurality of image quality evaluation indicators may be set when the image quality is evaluated.
  • the weight of each image quality evaluation index in the image quality evaluation index may obtain a plurality of image quality evaluation values, and the final image quality evaluation value may be obtained according to the plurality of image quality evaluation values and corresponding weights, for example, three images
  • the quality evaluation indicators are: A index, B index and C index.
  • the weight of A is a1
  • the weight of B is a2
  • the weight of C is a3.
  • A, B and C are used to evaluate the image quality of an image
  • a The corresponding image quality evaluation value is b1
  • the image quality evaluation value corresponding to B is b2
  • the image quality evaluation value corresponding to C is b3
  • the final image quality evaluation value a1b1+a2b2+a3b3.
  • the larger the image quality evaluation value the better the image quality.
  • P photos can be displayed on the display interface of the electronic device, for example, P photos can be displayed in order of shooting time.
  • the user does not need to filter the photos one by one, but directly recommends by the electronic device, which greatly facilitates the user and improves the screening efficiency.
  • the N photos taken in the preset time period are acquired, and N is a positive integer, and the N photos are divided into scenes to obtain M photo sets, each of which is obtained.
  • the photo set contains at least one photo, and M is a positive integer less than or equal to N.
  • the image quality is evaluated for each photo set in the M photo collection, and the photo with the image quality of each photo set meets the corresponding preset requirement is obtained.
  • P photos, P is a positive integer less than N, recommending P photos to the user, so that when the user selects a photo, the scene is divided by the scene for a period of time, and the image corresponding to each scene is imaged.
  • Quality evaluation select a number of photos, and recommend to the user, without the user to filter the photos, but directly recommend, improve the efficiency of the selection of photos.
  • FIG. 2 a schematic flowchart of a second embodiment of a photo recommendation method according to an embodiment of the present application is provided.
  • the photo recommendation method described in this embodiment includes the following steps:
  • N photos taken in a preset time period where N is a positive integer.
  • each photo set includes at least one photo, and the M is a positive integer less than or equal to the N.
  • the number of photos of the circle of friends is limited to nine. Therefore, when the number of photos is large, the user can input a puzzle command, and the electronic device can perform the puzzle operation after receiving the puzzle instruction.
  • each photo in P photos comes from a photo collection in M photo collections. Therefore, P photos can be classified according to the photo collection, so that Q photos are obtained, and Q is less than or equal to M. Integer.
  • a puzzle operation can be performed on each photo set in the Q photo collection, so that after a photo collection is completed, a puzzle photo can be obtained, and thus a Q puzzle photo can be obtained, and thus, can be obtained in an electronic device.
  • the Q puzzle photo is displayed on the display interface.
  • the N photos taken in the preset time period are acquired, and N is a positive integer, and the N photos are divided into scenes to obtain M photo sets, each of which is obtained.
  • the photo set contains at least one photo, and M is a positive integer less than or equal to N.
  • the image quality is evaluated for each photo set in the M photo collection, and the photo with the image quality of each photo set meets the corresponding preset requirement is obtained.
  • P photos P is a positive integer less than N
  • recommend P photos to the user receive the puzzle command, classify according to the photo set to which the P photos belong, and obtain Q photo sets
  • Q is a positive integer less than or equal to M
  • the jigsaw operation is performed on each photo set in the Q photo collection, and Q puzzle photos are obtained, and the Q jigsaw puzzle photos are displayed on the display interface of the electronic device, so that the user can select the photo for a period of time.
  • the photos are divided into scenes, and the image quality of each scene is evaluated, and a plurality of photos are selected and recommended to the user, and the user does not need to filter the photos. It is directly recommended, which improves the efficiency of selecting photos. It can also perform jigsaw operations on these photos to meet the user's alternative needs and greatly facilitate users.
  • FIG. 3a is a schematic structural diagram of a photo recommendation device according to the embodiment.
  • the photo recommendation device is applied to an electronic device, and the electronic device includes a processor and a memory, and the photo recommendation device includes: an acquisition unit 301, a division unit 302, an evaluation unit 303, and a recommendation unit 304, as follows:
  • the obtaining unit 301 is configured to acquire, when the user selects a photo, the N photos taken in the preset time period, where the N is a positive integer;
  • the dividing unit 302 is configured to divide the N photos into scenes to obtain M photo sets, each photo set includes at least one photo, and the M is a positive integer less than or equal to the N;
  • the evaluation unit 303 is configured to perform image quality evaluation on each photo set in the M photo collections, and select a photo in which the image quality of each photo collection meets the corresponding preset requirement, and obtain P photos, where the P is smaller than the a positive integer of N;
  • the recommendation unit 304 is configured to recommend the P photos to the user.
  • FIG. 3b is a specific refinement structure of the acquiring unit 301 of the photo recommendation device described in FIG. 3a, and the obtaining unit 301 may include: a first obtaining module 3011 and a screening module 3012, as follows:
  • the first obtaining module 3011 is configured to obtain Q photos of the preset time period, where the Q is a positive integer greater than or equal to the N;
  • the screening module 3012 is configured to filter the Q photos to obtain the N photos.
  • the screening module 3012 is specifically configured to:
  • FIG. 3c is a specific refinement structure of the dividing unit 302 of the photo recommendation device described in FIG. 3a, and the dividing unit 302 may include: a second obtaining module 3021 and a merging module 3022, as follows:
  • a second acquiring module 3021 configured to acquire a shooting position of each photo of the N photos, to obtain the N shooting positions
  • a merging module 3022 configured to combine the N shooting positions to obtain the M shooting position sets
  • the second obtaining module 3021 is further specifically configured to:
  • FIG. 3d is a specific refinement structure of the dividing unit 302 of the photo recommendation device described in FIG. 3a, and the dividing unit 302 may include: a third obtaining module 3023, a dividing module 3024, and a classifying module 3025. ,details as follows:
  • a third obtaining module 3023 configured to acquire a shooting time of each of the N photos, obtain the N shooting times, and acquire an earliest shooting time and a latest shooting time of the N shooting times;
  • a dividing module 3024 configured to divide a time period between the earliest shooting time and the most recent shooting time into M time segments;
  • a classification module 3025 configured to classify the N shooting times according to the M time periods, to obtain the M shooting time sets;
  • the third obtaining module 3023 is further configured to:
  • FIG. 3e is a specific refinement structure of the evaluation unit 303 of the photo recommendation device described in FIG. 3a, and the evaluation unit 303 may include: a fourth acquisition module 3031 and an evaluation module 3032, as follows:
  • the fourth obtaining module 3031 is configured to obtain an environment parameter of the photo i, where the photo i is any photo of any one of the M photo sets; and obtain an evaluation index set corresponding to the environment parameter of the photo i.
  • the evaluation indicator set includes at least one image quality evaluation index;
  • the evaluation module 3032 is configured to perform image quality evaluation on the photo i according to the evaluation index set.
  • the fourth obtaining module 3031 is specifically configured to:
  • the evaluation index set corresponding to the environmental parameter of the photo i is determined according to a mapping relationship between the preset environmental parameter and the evaluation index set.
  • the environmental parameter includes at least one of the following: ambient brightness, weather, temperature, and geographic location.
  • FIG. 3f is a further modification of the photo recommendation device described in FIG. 3a.
  • the method may further include: a receiving unit 305, a classification unit 306, and a puzzle unit 307, as follows: :
  • the receiving unit 305 is configured to receive a nesting instruction
  • the classifying unit 306 is configured to perform classification according to the photo set to which the P photos belong, to obtain Q photo sets, where the Q is a positive integer less than or equal to the M;
  • the puzzle unit 307 is configured to perform a puzzle operation on each photo set in the Q photo collections to obtain the Q puzzle photos, and display the Q puzzle photos on a display interface of the electronic device.
  • FIG. 4 is an electronic device according to an embodiment of the present application, including: a processor and a memory; and one or more programs:
  • the one or more programs are stored in the memory and are configured to be executed by the processor, the program including instructions for performing the following steps:
  • N photos taken in a preset time period where N is a positive integer
  • each photo set includes at least one photo, and the M is a positive integer less than or equal to the N;
  • the P photos are recommended to the user.
  • the instructions in the program are specifically used to perform the following steps:
  • the instructions in the program are specifically used to perform the following steps:
  • a photo of the blurred area having a larger area than the preset blurred area is filtered out from the Q photos.
  • the instructions in the program are specifically used to perform the following steps:
  • the instructions in the program are specifically used to perform the following steps:
  • the instructions in the program are specifically used to perform the following steps:
  • the evaluation index set includes at least one image quality evaluation index
  • Image quality evaluation is performed on the photo i according to the evaluation index set.
  • the instructions in the program are specifically used to perform the following steps:
  • the evaluation index set corresponding to the environmental parameter of the photo i is determined according to a mapping relationship between the preset environmental parameter and the evaluation index set.
  • the environmental parameter includes at least one of the following: ambient brightness, weather, temperature, geographic location.
  • the instructions in the program are also specifically used to perform the following steps:
  • the embodiment of the present application further provides another electronic device. As shown in FIG. 5, for the convenience of description, only the parts related to the embodiment of the present application are shown. If the specific technical details are not disclosed, refer to the method of the embodiment of the present application. section.
  • the electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (personal digital assistant), a POS (point of sales), an in-vehicle computer, and the like, and the electronic device is used as a mobile phone as an example:
  • FIG. 5 is a block diagram showing a partial structure of a mobile phone related to an electronic device provided by an embodiment of the present application.
  • the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a sensor 950, an audio circuit 960, a wireless fidelity (WiFi) module 970, a processor 980, and a power supply 990.
  • RF radio frequency
  • the structure of the handset shown in FIG. 5 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
  • the input unit 930 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit 930 can include a touch display screen 933, a biometric device 931, and other input devices 932.
  • the biometric device 931 can be a face recognition device, an iris recognition device, or a fingerprint recognition device.
  • the input unit 930 can also include other input devices 932.
  • other input devices 932 may include, but are not limited to, one or more of physical buttons, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the processor 980 obtains N photos taken in a preset time period when the user selects a photo, and the N is a positive integer; the N photos are divided into scenes to obtain M photo collections.
  • Each photo set includes at least one photo, the M is a positive integer less than or equal to the N; image quality evaluation is performed on each photo set in the M photo sets, and the image quality in each photo collection is selected to meet the corresponding
  • the pre-required photo is taken to obtain P photos, the P being a positive integer smaller than the N; the P photos are recommended to the user.
  • the processor 980 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 920, and invoking data stored in the memory 920, executing The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 980 may include one or more processing units; optionally, the processor 980 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 980.
  • memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the RF circuit 910 can be used for receiving and transmitting information.
  • RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • LNA low noise amplifier
  • RF circuitry 910 can also communicate with the network and other devices via wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (code division) Multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), e-mail, short messaging service (SMS), and the like.
  • GSM global system of mobile communication
  • GPRS general packet radio service
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • LTE long term evolution
  • SMS short messaging service
  • the handset may also include at least one type of sensor 950, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the touch display screen according to the brightness of the ambient light, and the proximity sensor can turn off the touch display when the mobile phone moves to the ear. And / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • An audio circuit 960, a speaker 961, and a microphone 962 can provide an audio interface between the user and the handset.
  • the audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 961 for conversion to the sound signal by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal by the audio circuit 960. After receiving, it is converted into audio data, and then processed by the audio data playback processor 980, sent to the other mobile phone via the RF circuit 910, or played back to the memory 920 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides users with wireless broadband Internet access.
  • FIG. 5 shows the WiFi module 970, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the handset also includes a power supply 990 (such as a battery) that supplies power to the various components.
  • a power supply 990 (such as a battery) that supplies power to the various components.
  • the power supply can be logically coupled to the processor 980 via a power management system to manage charging, discharging, and power management functions through the power management system.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • each unit function can be implemented based on the structure of the mobile phone.
  • the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to execute part of any photo recommendation method as described in the foregoing method embodiment. Or all steps.
  • the embodiment of the present application further provides a computer program product, comprising: a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the operations as recited in the foregoing method embodiments Some or all of the steps in any photo recommendation method.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software program module.
  • the integrated unit if implemented in the form of a software program module and sold or used as a standalone product, may be stored in a computer readable memory.
  • a computer device which may be a personal computer, server or network device, etc.
  • the foregoing memory includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • Studio Devices (AREA)

Abstract

Disclosed are a photograph recommendation method and a related product. The method comprises: acquiring N photographs taken within a pre-set time period when it is detected that a user selects the photographs, wherein N is a positive integer; performing scene division on the N photographs so as to obtain M photograph galleries, wherein each photograph gallery at least includes one photograph, and M is a positive integer less than or equal to N; evaluating image quality of each photograph gallery of the M photograph galleries, and selecting, from each photograph gallery, a photograph with the image quality meeting corresponding pre-set requirements so as to obtain P photographs, wherein P is a positive integer less than N; and recommending the P photographs to the user. In the embodiments of the present application, when a user selects photographs, by means of performing scene division on photographs within a period of time and evaluating image quality of the photographs corresponding to each scene, a plurality of photographs are selected and are recommended to a user, without screening photographs by the user, thereby improving the efficiency of photograph selection.

Description

照片推荐方法及相关产品Photo recommendation method and related products
本申请要求2017年6月20日递交的发明名称为“照片推荐方法及相关产品”的申请号201710471790.5的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。The present application claims the priority of the priority of the application of the Japanese Patent Application No. PCT Application No.
技术领域Technical field
本申请涉及电子设备技术领域,具体涉及一种照片推荐方法及相关产品。The present application relates to the field of electronic device technologies, and in particular, to a photo recommendation method and related products.
背景技术Background technique
随着智能手机的大量普及应用,智能手机能够支持的应用越来越多,功能越来越强大,智能手机向着多样化、个性化的方向发展,成为用户生活中不可缺少的电子用品。越来越多的研究表明,软件如何运行以及用户如何使用智能手机,是决定***能耗和效率的关键要素。With the widespread use of smartphones, smartphones can support more and more applications and become more powerful. Smartphones are becoming more and more indispensable in the life of users. More and more research shows that how software works and how users use smartphones is a key factor in determining system energy consumption and efficiency.
目前,随着社交网络的快速发展,发朋友圈(例如,微信、微博)成为一种普遍行为,在发朋友圈的过程中,用户可添加照片,这些照片是从一天一天照片中选择出来的,因而,选择过程较为繁琐,如何简化选择过程的问题亟待解决。At present, with the rapid development of social networks, it is a common behavior to send friends (for example, WeChat and Weibo). In the process of sending friends, users can add photos, which are selected from photos of the day. Therefore, the selection process is cumbersome, and the problem of how to simplify the selection process needs to be solved.
发明内容Summary of the invention
本申请实施例提供了一种照片推荐方法及相关产品,可以提高选择照片的效率。The embodiment of the present application provides a photo recommendation method and related products, which can improve the efficiency of selecting a photo.
第一方面,本申请实施例提供一种照片推荐方法,包括:In a first aspect, an embodiment of the present application provides a photo recommendation method, including:
在检测到用户选择照片时,获取预设时间段拍摄的N张照片,所述N为正整数;When detecting that the user selects a photo, acquiring N photos taken in a preset time period, where N is a positive integer;
将所述N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,所述M为小于或等于所述N的正整数;Dividing the N photos into scenes to obtain M photo sets, each photo set includes at least one photo, and the M is a positive integer less than or equal to the N;
对所述M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,所述P为小于所述N的正整数;Performing image quality evaluation on each photo set in the M photo collections, and selecting a photo in which the image quality of each photo collection satisfies the corresponding preset requirement, and obtaining P photos, wherein P is a positive integer smaller than the N;
将所述P张照片推荐给用户。The P photos are recommended to the user.
第二方面,本申请实施例提供了一种照片推荐装置,包括:In a second aspect, the embodiment of the present application provides a photo recommendation device, including:
获取单元,用于在检测到用户选择照片时,获取预设时间段拍摄的N张 照片,所述N为正整数;An acquiring unit, configured to acquire N photos taken in a preset time period when the user selects a photo, wherein the N is a positive integer;
划分单元,用于将所述N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,所述M为小于或等于所述N的正整数;a dividing unit, configured to divide the N photos into scenes, to obtain M photo sets, each photo set includes at least one photo, and the M is a positive integer less than or equal to the N;
评价单元,用于对所述M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,所述P为小于所述N的正整数;An evaluation unit, configured to perform image quality evaluation on each photo set in the M photo collections, and select a photo in which the image quality of each photo collection satisfies a corresponding preset requirement, to obtain P photos, wherein the P is smaller than the a positive integer of N;
推荐单元,用于将所述P张照片推荐给用户。a recommendation unit for recommending the P photos to a user.
第三方面,本申请实施例提供了一种电子设备,包括:处理器和存储器;以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述程序包括用于执行如本申请实施例第一方面中所描述的部分或全部步骤的指令。In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory; and one or more programs, wherein the one or more programs are stored in the memory, and configured to Executed by the processor, the program includes instructions for performing some or all of the steps as described in the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute as implemented in the present application. Some or all of the steps described in the first aspect.
第五方面,本申请实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, where the computer program product includes a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute Apply some or all of the steps described in the first aspect of the embodiment. The computer program product can be a software installation package.
实施本申请实施例,具有如下有益效果:The implementation of the embodiment of the present application has the following beneficial effects:
可以看出,本申请实施例中,在检测到用户选择照片时,获取预设时间段拍摄的N张照片,N为正整数,将N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,M为小于或等于N的正整数,对M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,P为小于N的正整数,将P张照片推荐给用户,从而,可在用户选择照片时,通过对一段时间内的照片进行场景划分,以及对每一场景对应的照片进行图像质量评价,选取出多张照片,并推荐给用户,不用用户对照片进行筛选,而是直接推荐,提高了选择照片的效率。It can be seen that, in the embodiment of the present application, when the user selects a photo, the N photos taken in the preset time period are acquired, and N is a positive integer, and the N photos are divided into scenes to obtain M photo sets, each of which is obtained. The photo set contains at least one photo, and M is a positive integer less than or equal to N. The image quality is evaluated for each photo set in the M photo collection, and the photo with the image quality of each photo set meets the corresponding preset requirement is obtained. P photos, P is a positive integer less than N, recommending P photos to the user, so that when the user selects a photo, the scene is divided by the scene for a period of time, and the image corresponding to each scene is imaged. Quality evaluation, select a number of photos, and recommend to the user, without the user to filter the photos, but directly recommend, improve the efficiency of the selection of photos.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative work for those skilled in the art.
图1是本申请实施例公开的一种照片推荐方法的流程示意图;1 is a schematic flow chart of a photo recommendation method disclosed in an embodiment of the present application;
图2是本申请实施例公开的另一种照片推荐方法的流程示意图;2 is a schematic flow chart of another photo recommendation method disclosed in an embodiment of the present application;
图3a是本申请实施例公开的一种照片推荐装置的结构示意图;FIG. 3 is a schematic structural diagram of a photo recommendation device according to an embodiment of the present application; FIG.
图3b是本申请实施例公开的图3a所描述的照片推荐装置的获取单元结构示意图;FIG. 3b is a schematic structural diagram of an acquiring unit of the photo recommendation device described in FIG. 3a disclosed in the embodiment of the present application; FIG.
图3c是本申请实施例公开的图3a所描述的照片推荐装置的划分单元结构示意图;3c is a schematic structural diagram of a dividing unit of the photo recommendation device described in FIG. 3a disclosed in the embodiment of the present application;
图3d是本申请实施例公开的图3a所描述的照片推荐装置的划分单元的又一结构示意图;FIG. 3d is still another schematic structural diagram of a dividing unit of the photo recommendation device described in FIG. 3a disclosed in the embodiment of the present application;
图3e是本申请实施例公开的图3a所描述的照片推荐装置的评价单元结构示意图;FIG. 3e is a schematic structural diagram of an evaluation unit of the photo recommendation device described in FIG. 3a disclosed in the embodiment of the present application; FIG.
图3f是本申请实施例公开的图3a所描述的照片推荐装置的又一结构示意图;FIG. 3f is still another schematic structural diagram of the photo recommendation device described in FIG. 3a disclosed in the embodiment of the present application; FIG.
图4是本申请实施例公开的一种电子设备的结构示意图;4 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
图5是本申请实施例公开的另一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、***、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or, optionally, Other steps or units inherent to these processes, methods, products, or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
本申请实施例所涉及到的电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为电子设备。下面对本申请实施例进行详细介绍。The electronic device involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various forms of user devices (user Equipment, UE), mobile station (MS), terminal device, etc. For convenience of description, the devices mentioned above are collectively referred to as electronic devices. The embodiments of the present application are described in detail below.
本申请实施例中的电子设备可安装有人工智能模块(artificial intelligence,AI),该人工智能模块可单独于处理器安装在电子设备中,例如,处理器调用AI模块实现人工智能,当然,也可以与处理器集成在一起,这时候,处理器就相当于AI模块。该人工智能模块可为量子芯片,或者,高密度硅集成电路,AI模块中可存储有机器学习算法,用于对用户使用习惯(例如,筛选照片的习惯)进行训练,以及对用户使用习惯进行深度学习,从而,通过AI模块达到对电子设备进行智能化控制的目的。The electronic device in the embodiment of the present application may be installed with an artificial intelligence module (AI), and the artificial intelligence module may be separately installed in the electronic device, for example, the processor calls the AI module to implement artificial intelligence, and of course, Can be integrated with the processor, this time, the processor is equivalent to the AI module. The artificial intelligence module can be a quantum chip, or a high-density silicon integrated circuit, and an AI module can store a machine learning algorithm for training user habits (for example, habits for screening photos), and user habits. Deep learning, thus, through the AI module to achieve intelligent control of electronic devices.
请参阅图1,为本申请实施例提供的一种照片推荐方法的实施例流程示意图。本实施例中所描述的照片推荐方法,包括以下步骤:FIG. 1 is a schematic flowchart diagram of an embodiment of a photo recommendation method according to an embodiment of the present application. The photo recommendation method described in this embodiment includes the following steps:
101、在检测到用户选择照片时,获取预设时间段拍摄的N张照片,所述N为正整数。101. When detecting that the user selects a photo, acquiring N photos taken in a preset time period, where N is a positive integer.
其中,上述步骤101中,用户选择照片通常发生在需要对照片进行收藏,或者,发朋友圈,或者,向好友发送照片等应用场景,例如,当检测到用户在发朋友圈,则执行本申请实施例,具体实现中,可对具体的操作进行监控,例如,发朋友圈的操作,收藏操作,或者,在即时聊天工具中发送图片的操作等,当发生上述操作,则可认为检测到用户选择照片。上述预设时间段可由用户自行设置或者***默认,例如,当天,或者,距离当前时间12小时以内。在检测到用户选择照片时,则可获取预设时间段拍摄的N张照片,该N为正整数。In the above step 101, the user selects a photo, which usually occurs in an application scenario in which a photo needs to be collected, or a friend circle is sent, or a photo is sent to a friend, for example, when detecting that the user is in a friend circle, the application is executed. In an embodiment, in a specific implementation, a specific operation may be monitored, for example, an operation of sending a circle of friends, a collection operation, or an operation of sending a picture in a live chat tool, etc., when the above operation occurs, the user may be deemed to be detected. choose a photo. The preset time period may be set by the user or the system defaults, for example, the current day, or within 12 hours of the current time. When it is detected that the user selects a photo, N photos taken in a preset time period can be acquired, and the N is a positive integer.
可选地,上述步骤101中,获取预设时间段拍摄的N张照片,可包括如下步骤:Optionally, in the foregoing step 101, acquiring N photos taken in a preset time period may include the following steps:
11)、获取所述预设时间段的Q张照片,所述Q为大于或等于所述N的正整数;11) acquiring Q photos of the preset time period, where Q is a positive integer greater than or equal to the N;
12)、对所述Q张照片进行筛选,得到所述N张照片。12), screening the Q photos to obtain the N photos.
其中,由于预设时间段中的照片并非每一张都完好,有时候可能出现背光,或者,抖动,则会造成照片模糊,因而,在执行步骤101的过程中,可先获取预设时间段内的全部照片,即Q张照片,当然,Q为大于或等于N的正整数,进而,再对Q张照片进行筛选,得到N张照片。In the process of performing the step 101, the preset time period may be obtained in the process of performing step 101, because the photos in the preset time period are not all in good condition, and sometimes the backlight may appear, or the camera shakes. All the photos in the inside, that is, Q photos, of course, Q is a positive integer greater than or equal to N, and then, the Q photos are filtered to obtain N photos.
可选地,上述步骤12,对所述Q张照片进行筛选,包括:Optionally, in step 12, the Q photos are filtered, including:
对所述Q张照片中每一照片进行模糊区域检测,得到Q个模糊区域面积,每一照片对应一个模糊区域面积;Performing fuzzy region detection on each of the Q photos to obtain Q blurred region areas, and each photo corresponds to a blurred region area;
从所述Q张照片中过滤掉模糊区域面积大于预设模糊面积的照片。A photo of the blurred area having a larger area than the preset blurred area is filtered out from the Q photos.
其中,筛选的具体方式可为:对Q张照片中每一照片进行模糊区域检测,得到Q个模糊区域面积,每一照片对应一个模糊区域面积,则可以过滤掉模糊区域面积大于预设模糊面积的照片,得到N张照片,即看看哪些照片中有模糊区域,且模糊区域面积大于预设模糊面积,则过滤掉这部分照片,预设模糊面积可以由用户自行设置或者***默认。具体实现中,若电子设备本身对照片进行背景虚化处理的照片除外,即可以直接保留背景虚化照片。The specific method of screening may be: performing fuzzy region detection on each photo in the Q photos, and obtaining Q blurred region areas, and each photo corresponding to a blurred region area may filter out the blurred region area larger than the preset blurred area. The photo, get N photos, that is, to see which photos have blurred areas, and the blurred area is larger than the preset blurred area, then filter out the part of the photo, the preset blurred area can be set by the user or the system default. In the specific implementation, if the electronic device itself performs photo blurring on the photo, the background blurred photo can be directly retained.
102、将所述N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,所述M为小于或等于所述N的正整数。102. The N photos are divided into scenes to obtain M photo sets, each photo set includes at least one photo, and the M is a positive integer less than or equal to the N.
其中,由于N张照片可能数量非常多,例如,用于出去旅游,游览了一天,拍摄了大量照片,当然,一天的行程有一定的规划,很难集中在一个场景,因而,会在多个场景进行拍摄,于是,可对N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,M为小于或等于N的正整数。Among them, because N photos may be very large, for example, for traveling, visiting a day, taking a lot of photos, of course, the day's itinerary has a certain plan, it is difficult to concentrate on one scene, and therefore, will be multiple The scene is shot, so that N pictures can be divided into scenes to obtain M photo sets, each photo set contains at least one photo, and M is a positive integer less than or equal to N.
可选地,上述步骤102中,将所述N张照片进行场景划分,得到M个照片集,可包括如下步骤:Optionally, in the foregoing step 102, the N photos are divided into scenes to obtain M photo sets, which may include the following steps:
A1)、获取所述N张照片每一照片的拍摄位置,得到所述N个拍摄位置;A1) acquiring the shooting positions of each of the N photos, and obtaining the N shooting positions;
A2)、将所述N个拍摄位置进行合并,得到所述M个拍摄位置集合;A2) combining the N shooting positions to obtain the M shooting position sets;
A3)、获取所述M个拍摄位置集合中每一拍摄位置集合中的拍摄位置对应的照片,得到所述M个照片集。A3) acquiring a photo corresponding to the shooting position in each of the M shooting position sets to obtain the M photo sets.
其中,电子设备在利用摄像头进行拍摄的过程中,不仅可得到照片,每一张照片还可以记录一个拍摄位置,N张照片,则对应有N个拍摄位置,每一照片与一个拍摄位置对应,当然,有时候在同一个拍摄位置可能拍摄多张照片,因而,N张照片中也会有些照片的拍摄位置相同,因而,可将N个拍摄位置进行合并,如此,得到M个拍摄位置集合,进一步,获取M个拍摄位置集合中每一个拍摄位置集合对应的照片,得到M个照片集。如此,实现了通过拍摄位置对照片进行场景划分。Among them, in the process of shooting with the camera, the electronic device can not only obtain photos, but also record one shooting position for each photo, and N photos corresponding to N shooting positions, each photo corresponding to one shooting position. Of course, sometimes multiple photos may be taken at the same shooting position. Therefore, some of the N photos are shot at the same position. Therefore, N shooting positions can be combined, thus obtaining M shooting position sets. Further, a photo corresponding to each of the M shooting position sets is acquired, and M photo sets are obtained. In this way, the scene is divided by the shooting position.
可选地,上述步骤102中,将所述N张照片进行场景划分,得到M个照片集,可包括如下步骤:Optionally, in the foregoing step 102, the N photos are divided into scenes to obtain M photo sets, which may include the following steps:
B1)、获取所述N张照片中每一照片的拍摄时间,得到所述N个拍摄时间;B1) acquiring the shooting time of each of the N photos to obtain the N shooting times;
B2)、获取所述N个拍摄时间中最早拍摄时间和最近拍摄时间;B2) acquiring the earliest shooting time and the latest shooting time of the N shooting times;
B3)、将所述最早拍摄时间和所述最近拍摄时间之间的时间段划分为M个时间段;B3) dividing the time period between the earliest shooting time and the most recent shooting time into M time periods;
B4)、根据所述M个时间段,将所述N个拍摄时间进行分类,得到所述M个拍摄时间集合;B4) classifying the N shooting times according to the M time periods to obtain the M shooting time sets;
B5)、获取所述M个拍摄时间集合中每一拍摄时间集合中的拍摄时间对应的照片,得到所述M个照片集。B5) acquiring a photo corresponding to the shooting time in each of the M shooting time sets to obtain the M photo sets.
其中,N张照片中每一照片可对应一个拍摄时间,如此,N张照片,就有N个拍摄时间,照片与拍摄时间一一对应,由于照片记录的时间有先有后,因而,可从N个拍摄时间中获取最早拍摄时间(N个拍摄时间中距离当前时间最远的一个拍摄时间)和最近拍摄时间(N个拍摄时间中距离当前时间最近的一个拍摄时间),进而,可在最早拍摄时间和最近拍摄时间之间划分为M个时间段,每一时间段都有可能有拍摄时间落入该时间段,因而,可根据该M个时间段将N个拍摄时间进行分类,得到M个拍摄时间集合,进一步,获取M个拍摄时间集合中每一拍摄时间集合中的拍摄时间对应的照片,如此,可得到M个照片集,从而,实现了根据时间将多张照片进行场景划分,例如,在我们旅游的时候,不会一天都集中在一个地方,因而,通过时间段划分,可在一定程度上实现对照片的场景进行划分。Among them, each of the N photos can correspond to one shooting time. Thus, for N photos, there are N shooting times, and the photos correspond to the shooting time one by one. Since the time of photo recording is first and foremost, Obtain the earliest shooting time (one shooting time that is the farthest from the current time in N shooting times) and the most recent shooting time (one shooting time closest to the current time in N shooting times) in N shooting times. The shooting time and the most recent shooting time are divided into M time periods, and each time period may have a shooting time falling into the time period. Therefore, N shooting times can be classified according to the M time periods to obtain M. a collection of shooting time, further, obtaining a photo corresponding to the shooting time in each of the M shooting time sets, so that M photo sets can be obtained, thereby realizing scene division of multiple photos according to time. For example, when we travel, we don’t concentrate on one place in one day. Therefore, by dividing the time period, we can achieve photos to a certain extent. The scene is divided.
可选地,上述步骤B2和B3提供了一种划分时间段的方式,具体实现中,还可以结合用户的行程安排(例如,8-10点在A位置,10-12点在B位置,13-15点在C位置),将预设时间段划分为M个时间段。Optionally, the foregoing steps B2 and B3 provide a manner of dividing the time period. In the specific implementation, the user's schedule can also be combined (for example, 8-10 points in the A position, 10-12 points in the B position, 13 -15 points in the C position), the preset time period is divided into M time periods.
103、对所述M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,所述P为小于所述N的正整数。103. Perform image quality evaluation on each photo set in the M photo collections, and select a photo in which the image quality of each photo collection meets the corresponding preset requirement, and obtain P photos, where P is less than the positive of the N Integer.
其中,在对每一照片进行图像质量评价时,可得到一个图像质量评价值,预设要求可为图像质量评价值大于预设图像质量阈值,其中,预设图像质量阈值可由用户自行设置或者***默认,当然,不同的照片集对应的预设图像质量阈值可不一样。上述M个照片集中每一照片集可对应一个预设要求,当然,上述M个照片集中所有的照片集也可对应同一个预设要求。例如,预设要求也可以根据用户习惯而定,例如,通常情况下,用户若喜欢某个场景,则会对该场景进行多维度拍摄,从而,得到大量照片,如此,用户极有可能在这部分照片中选取较多照片,若该场景没拍摄好,则可适当调整预设图像质量阈值。如此,可通过对M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,P为小于N的正 整数。Wherein, when performing image quality evaluation on each photo, an image quality evaluation value may be obtained, and the preset requirement may be that the image quality evaluation value is greater than a preset image quality threshold, wherein the preset image quality threshold may be set by the user or the system By default, of course, different photo collections may have different preset image quality thresholds. Each of the above M photo collections may correspond to a preset requirement. Of course, all the photo collections in the M photo collections may also correspond to the same preset requirement. For example, the preset requirement may also be determined according to user habits. For example, if a user likes a certain scene, the scene will be multi-dimensionally photographed, thereby obtaining a large number of photos, so that the user is likely to be here. Some photos are selected in some photos. If the scene is not taken well, the preset image quality threshold can be adjusted appropriately. In this way, P-pictures can be obtained by performing image quality evaluation on each photo set in M photo sets, and selecting photos in which the image quality of each photo set satisfies the corresponding preset requirements, and P is a positive integer smaller than N.
可选地,所述P张照片至少包含所述M个照片集中的每一照片集中的一张照片。也就是说,可保留M个照片集中每一照片集中的至少一张照片,可实现将不同场景的照片都推荐给用户。Optionally, the P photos include at least one photo in each photo set in the M photo collection. In other words, at least one photo in each photo set in the M photo set can be retained, and photos of different scenes can be recommended to the user.
可选地,上述步骤103中,对所述M个照片集中每一照片集进行图像质量评价,可包括如下步骤:Optionally, in the foregoing step 103, performing image quality evaluation on each photo set in the M photo sets may include the following steps:
31)、获取照片i的环境参数,所述照片i为所述M个照片集中的任一集合的任一照片;31) obtaining an environmental parameter of the photo i, wherein the photo i is any photo of any one of the M photo sets;
32)、获取所述照片i的环境参数对应的评价指标集,所述评价指标集至少包含一个图像质量评价指标;32) acquiring an evaluation index set corresponding to the environmental parameter of the photo i, where the evaluation index set includes at least one image quality evaluation index;
33)、根据所述评价指标集对所述照片i进行图像质量评价。33) Perform image quality evaluation on the photo i according to the evaluation index set.
其中,所述环境参数包括以下至少一种:环境亮度、天气、温度、地理位置,即环境参数可包括但不仅限于:环境亮度、天气、温度、地理位置等等。The environmental parameter includes at least one of the following: ambient brightness, weather, temperature, geographic location, that is, environmental parameters may include, but are not limited to, ambient brightness, weather, temperature, geographic location, and the like.
其中,上述步骤32,获取所述照片i的环境参数对应的评价指标集,可按照如下方式实施:The step 32 of obtaining the evaluation index corresponding to the environmental parameter of the photo i can be implemented as follows:
按照预设的环境参数与评价指标集之间的映射关系,确定所述照片i的环境参数对应的评价指标集。其中,电子设备中可预先设置环境参数与评价指标集之间的映射关系,不同的环境参数对应不同的评价指标集,每一评价指标集至少包含一个图像质量评价指标。The evaluation index set corresponding to the environmental parameter of the photo i is determined according to a mapping relationship between the preset environmental parameter and the evaluation index set. The mapping relationship between the environment parameter and the evaluation index set may be preset in the electronic device, and different environmental parameters correspond to different evaluation index sets, and each evaluation index set includes at least one image quality evaluation indicator.
具体实现中,可实现有针对性地对每一场景的照片进行图像质量评价,评价结果更加符合实际情况。以照片i为例,该照片i为M个照片集中的任一集合的任一照片,可获取照片i的环境参数,进一步获取该环境参数对应的评价指标集,并根据该评价指标集对照片i进行图像质量评价值。图像质量评价指标可包括但不仅限于:平均灰度、均方差、熵、边缘保持度、信噪比等等。In the specific implementation, the image quality evaluation of the photos of each scene can be performed in a targeted manner, and the evaluation result is more in line with the actual situation. Taking photo i as an example, the photo i is any photo of any set of M photo collections, and may obtain an environmental parameter of the photo i, further obtain an evaluation index set corresponding to the environmental parameter, and set the photo according to the evaluation index set. i Perform image quality evaluation values. Image quality evaluation indicators may include, but are not limited to, average gray scale, mean square error, entropy, edge retention, signal to noise ratio, and the like.
其中,上述步骤33中,评价指标集可包含多个图像质量评价指标,每一图像质量评价指标也对应一个权重,如此,每一图像质量评价指标对照片进行图像质量评价时,均可得到一个评价结果,最终,进行加权运算,也就得到最终的图像质量评价值。Wherein, in the above step 33, the evaluation index set may include a plurality of image quality evaluation indicators, and each image quality evaluation index also corresponds to one weight, so that each image quality evaluation index can obtain a picture quality evaluation of the photo. The evaluation result, finally, the weighting operation is performed, and the final image quality evaluation value is obtained.
需要说明的是,由于采用单一评价指标对图像质量进行评价时,具有一定的局限性,因此,可采用多个图像质量评价指标对图像质量进行评价,当然,对图像质量进行评价时,并非图像质量评价指标越多越好,因为图像质量评价指标越多,图像质量评价过程的计算复杂度越高,也不见得图像质量评价效果越好,因此,在对图像质量评价要求较高的情况下,可采用2~10个图像质量 评价指标对图像质量进行评价。具体地,选取图像质量评价指标的个数及哪个指标,依据具体实现情况而定。当然,也得结合具体地场景选取图像质量评价指标,在暗环境下进行图像质量评价和亮环境下进行图像质量评价选取的图像质量指标可不一样。It should be noted that since the image quality is evaluated by using a single evaluation index, there are certain limitations. Therefore, multiple image quality evaluation indicators can be used to evaluate the image quality. Of course, when evaluating the image quality, it is not an image. The more quality evaluation indicators, the better, because the more image quality evaluation indicators, the higher the computational complexity of the image quality evaluation process, the better the image quality evaluation effect is. Therefore, in the case of high image quality evaluation requirements Image quality can be evaluated by using 2 to 10 image quality evaluation indicators. Specifically, the number of image quality evaluation indicators and which indicator are selected are determined according to specific implementation conditions. Of course, it is also necessary to select image quality evaluation indicators in combination with specific scenes, and the image quality indicators in the dark environment and the image quality evaluation in the bright environment may be different.
可选地,在对图像质量评价精度要求不高的情况下,可用一个图像质量评价指标进行评价,例如,以熵对待处理图像进行图像质量评价值,可认为熵越大,则说明图像质量越好,相反地,熵越小,则说明图像质量越差。Optionally, in the case that the image quality evaluation accuracy is not high, an image quality evaluation index may be used for evaluation. For example, the image quality evaluation value is processed by entropy processing, and the entropy is larger, indicating that the image quality is higher. Well, conversely, the smaller the entropy, the worse the image quality.
可选地,在对图像质量评价精度要求较高的情况下,可以采用多个图像质量评价指标对图像进行评价,在多个图像质量评价指标对图像进行图像质量评价时,可设置该多个图像质量评价指标中每一图像质量评价指标的权重,可得到多个图像质量评价值,根据该多个图像质量评价值及其对应的权重可得到最终的图像质量评价值,例如,三个图像质量评价指标分别为:A指标、B指标和C指标,A的权重为a1,B的权重为a2,C的权重为a3,采用A、B和C对某一图像进行图像质量评价时,A对应的图像质量评价值为b1,B对应的图像质量评价值为b2,C对应的图像质量评价值为b3,那么,最后的图像质量评价值=a1b1+a2b2+a3b3。通常情况下,图像质量评价值越大,说明图像质量越好。Optionally, in the case that the image quality evaluation accuracy is high, the image may be evaluated by using multiple image quality evaluation indicators, and the plurality of image quality evaluation indicators may be set when the image quality is evaluated. The weight of each image quality evaluation index in the image quality evaluation index may obtain a plurality of image quality evaluation values, and the final image quality evaluation value may be obtained according to the plurality of image quality evaluation values and corresponding weights, for example, three images The quality evaluation indicators are: A index, B index and C index. The weight of A is a1, the weight of B is a2, and the weight of C is a3. When A, B and C are used to evaluate the image quality of an image, A The corresponding image quality evaluation value is b1, the image quality evaluation value corresponding to B is b2, and the image quality evaluation value corresponding to C is b3, then the final image quality evaluation value=a1b1+a2b2+a3b3. In general, the larger the image quality evaluation value, the better the image quality.
104、将所述P张照片推荐给用户。104. Recommend the P photos to the user.
其中,可将P张照片展示在电子设备的显示界面,例如,可将P张照片按照拍摄时间先后顺序进行展示。如此,用户不用对照片再一一筛选,而是直接由电子设备进行推荐,大大方便了用户,提升了筛选效率。Among them, P photos can be displayed on the display interface of the electronic device, for example, P photos can be displayed in order of shooting time. In this way, the user does not need to filter the photos one by one, but directly recommends by the electronic device, which greatly facilitates the user and improves the screening efficiency.
可以看出,本申请实施例中,在检测到用户选择照片时,获取预设时间段拍摄的N张照片,N为正整数,将N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,M为小于或等于N的正整数,对M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,P为小于N的正整数,将P张照片推荐给用户,从而,可在用户选择照片时,通过对一段时间内的照片进行场景划分,以及对每一场景对应的照片进行图像质量评价,选取出多张照片,并推荐给用户,不用用户对照片进行筛选,而是直接推荐,提高了选择照片的效率。It can be seen that, in the embodiment of the present application, when the user selects a photo, the N photos taken in the preset time period are acquired, and N is a positive integer, and the N photos are divided into scenes to obtain M photo sets, each of which is obtained. The photo set contains at least one photo, and M is a positive integer less than or equal to N. The image quality is evaluated for each photo set in the M photo collection, and the photo with the image quality of each photo set meets the corresponding preset requirement is obtained. P photos, P is a positive integer less than N, recommending P photos to the user, so that when the user selects a photo, the scene is divided by the scene for a period of time, and the image corresponding to each scene is imaged. Quality evaluation, select a number of photos, and recommend to the user, without the user to filter the photos, but directly recommend, improve the efficiency of the selection of photos.
与上述一致地,请参阅图2,为本申请实施例提供的一种照片推荐方法的第二实施例流程示意图。本实施例中所描述的照片推荐方法,包括以下步骤:With reference to FIG. 2, a schematic flowchart of a second embodiment of a photo recommendation method according to an embodiment of the present application is provided. The photo recommendation method described in this embodiment includes the following steps:
201、在检测到用户选择照片时,获取预设时间段拍摄的N张照片,所述 N为正整数。201. When detecting that the user selects a photo, acquiring N photos taken in a preset time period, where N is a positive integer.
202、将所述N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,所述M为小于或等于所述N的正整数。202. Perform the scene division on the N photos to obtain M photo sets, each photo set includes at least one photo, and the M is a positive integer less than or equal to the N.
203、对所述M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,所述P为小于所述N的正整数。203. Perform image quality evaluation on each photo set in the M photo collections, and select a photo in which the image quality of each photo collection meets the corresponding preset requirement, and obtain P photos, where P is smaller than the positive of the N. Integer.
204、将所述P张照片推荐给用户。204. Recommend the P photos to the user.
其中,上述步骤201-步骤204的具体描述可参照图1所描述的照片推荐方法的对应步骤,在此不再赘述。For a detailed description of the foregoing steps 201-204, reference may be made to the corresponding steps of the photo recommendation method described in FIG. 1, and details are not described herein again.
205、接收拼图指令。205. Receive a puzzle instruction.
其中,通常情况下,发朋友圈的照片数量上限在9张,因而,在照片数量较多时,用户可输入拼图指令,电子设备在接收到拼图指令后,可执行拼图操作。In general, the number of photos of the circle of friends is limited to nine. Therefore, when the number of photos is large, the user can input a puzzle command, and the electronic device can perform the puzzle operation after receiving the puzzle instruction.
206、根据所述P张照片所属的照片集进行分类,得到Q个照片集,所述Q为小于或等于所述M的正整数。206. Sort according to the photo set to which the P photos belong, and obtain Q photo sets, where Q is a positive integer less than or equal to the M.
其中,P张照片中每一照片均来自于M个照片集中的一个照片集,因而,可根据照片集对P张照片进行分类,于是,得到Q个照片集,Q为小于或等于M的正整数。Among them, each photo in P photos comes from a photo collection in M photo collections. Therefore, P photos can be classified according to the photo collection, so that Q photos are obtained, and Q is less than or equal to M. Integer.
207、对所述Q个照片集中的每一照片集进行拼图操作,得到所述Q个拼图照片,将所述Q张拼图照片在电子设备的显示界面上进行展示。207. Perform a puzzle operation on each photo set in the Q photo collection to obtain the Q puzzle photos, and display the Q puzzle photos on a display interface of the electronic device.
其中,可对Q个照片集中的每一照片集进行拼图操作,于是,一个照片集在拼图之后,就可以得到一张拼图照片,于是,可得到Q张拼图照片,进而,可在电子设备的显示界面上展示该Q张拼图照片。Among them, a puzzle operation can be performed on each photo set in the Q photo collection, so that after a photo collection is completed, a puzzle photo can be obtained, and thus a Q puzzle photo can be obtained, and thus, can be obtained in an electronic device. The Q puzzle photo is displayed on the display interface.
可以看出,本申请实施例中,在检测到用户选择照片时,获取预设时间段拍摄的N张照片,N为正整数,将N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,M为小于或等于N的正整数,对M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,P为小于N的正整数,将P张照片推荐给用户,接收拼图指令,根据P张照片所属的照片集进行分类,得到Q个照片集,Q为小于或等于M的正整数,对Q个照片集中的每一照片集进行拼图操作,得到Q个拼图照片,将Q张拼图照片在电子设备的显示界面上进行展示,从而,可在用户选择照片时,通过对一段时间内的照片进行场景划分,以及对每一场景对应的照片进行图像质量评价,选取出多张照片,并推荐给用户,用户 不需要对照片进行筛选,而是直接推荐,提高了选择照片的效率,还可以对这些照片进行拼图操作,满足用户的另类需求,大大方便了用户。It can be seen that, in the embodiment of the present application, when the user selects a photo, the N photos taken in the preset time period are acquired, and N is a positive integer, and the N photos are divided into scenes to obtain M photo sets, each of which is obtained. The photo set contains at least one photo, and M is a positive integer less than or equal to N. The image quality is evaluated for each photo set in the M photo collection, and the photo with the image quality of each photo set meets the corresponding preset requirement is obtained. P photos, P is a positive integer less than N, recommend P photos to the user, receive the puzzle command, classify according to the photo set to which the P photos belong, and obtain Q photo sets, Q is a positive integer less than or equal to M The jigsaw operation is performed on each photo set in the Q photo collection, and Q puzzle photos are obtained, and the Q jigsaw puzzle photos are displayed on the display interface of the electronic device, so that the user can select the photo for a period of time. The photos are divided into scenes, and the image quality of each scene is evaluated, and a plurality of photos are selected and recommended to the user, and the user does not need to filter the photos. It is directly recommended, which improves the efficiency of selecting photos. It can also perform jigsaw operations on these photos to meet the user's alternative needs and greatly facilitate users.
请参阅图3a,图3a是本实施例提供的一种照片推荐装置的结构示意图。该照片推荐装置应用于电子设备,所述电子设备包括处理器和存储器,所述照片推荐装置包括:获取单元301、划分单元302、评价单元303和推荐单元304,具体如下:Please refer to FIG. 3a. FIG. 3a is a schematic structural diagram of a photo recommendation device according to the embodiment. The photo recommendation device is applied to an electronic device, and the electronic device includes a processor and a memory, and the photo recommendation device includes: an acquisition unit 301, a division unit 302, an evaluation unit 303, and a recommendation unit 304, as follows:
获取单元301,用于在检测到用户选择照片时,获取预设时间段拍摄的N张照片,所述N为正整数;The obtaining unit 301 is configured to acquire, when the user selects a photo, the N photos taken in the preset time period, where the N is a positive integer;
划分单元302,用于将所述N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,所述M为小于或等于所述N的正整数;The dividing unit 302 is configured to divide the N photos into scenes to obtain M photo sets, each photo set includes at least one photo, and the M is a positive integer less than or equal to the N;
评价单元303,用于对所述M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,所述P为小于所述N的正整数;The evaluation unit 303 is configured to perform image quality evaluation on each photo set in the M photo collections, and select a photo in which the image quality of each photo collection meets the corresponding preset requirement, and obtain P photos, where the P is smaller than the a positive integer of N;
推荐单元304,用于将所述P张照片推荐给用户。The recommendation unit 304 is configured to recommend the P photos to the user.
可选地,如图3b,图3b为图3a所描述的照片推荐装置的获取单元301的具体细化结构,所述获取单元301可包括:第一获取模块3011和筛选模块3012,具体如下:Optionally, as shown in FIG. 3b, FIG. 3b is a specific refinement structure of the acquiring unit 301 of the photo recommendation device described in FIG. 3a, and the obtaining unit 301 may include: a first obtaining module 3011 and a screening module 3012, as follows:
第一获取模块3011,用于获取所述预设时间段的Q张照片,所述Q为大于或等于所述N的正整数;The first obtaining module 3011 is configured to obtain Q photos of the preset time period, where the Q is a positive integer greater than or equal to the N;
筛选模块3012,用于对所述Q张照片进行筛选,得到所述N张照片。The screening module 3012 is configured to filter the Q photos to obtain the N photos.
可选地,在所述对所述Q张照片进行筛选方面,所述筛选模块3012具体用于:Optionally, in the screening the Q photos, the screening module 3012 is specifically configured to:
对所述Q张照片中每一照片进行模糊区域检测,得到Q个模糊区域面积,每一照片对应一个模糊区域面积,从所述Q张照片中过滤掉模糊区域面积大于预设模糊面积的照片。Performing a blurred area detection on each of the Q photos to obtain Q blurred area areas, each photo corresponding to a blurred area, and filtering out photos of the blurred area larger than the preset blurred area from the Q photos .
可选地,如图3c,图3c为图3a所描述的照片推荐装置的划分单元302的具体细化结构,所述划分单元302可包括:第二获取模块3021和合并模块3022,具体如下:Optionally, as shown in FIG. 3c, FIG. 3c is a specific refinement structure of the dividing unit 302 of the photo recommendation device described in FIG. 3a, and the dividing unit 302 may include: a second obtaining module 3021 and a merging module 3022, as follows:
第二获取模块3021,用于获取所述N张照片每一照片的拍摄位置,得到所述N个拍摄位置;a second acquiring module 3021, configured to acquire a shooting position of each photo of the N photos, to obtain the N shooting positions;
合并模块3022,用于将所述N个拍摄位置进行合并,得到所述M个拍摄位置集合;a merging module 3022, configured to combine the N shooting positions to obtain the M shooting position sets;
所述第二获取模块3021,还具体用于:The second obtaining module 3021 is further specifically configured to:
获取所述M个拍摄位置集合中每一拍摄位置集合中的拍摄位置对应的照片,得到所述M个照片集。Acquiring a photo corresponding to the shooting position in each of the M shooting position sets to obtain the M photo sets.
可选地,如图3d,图3d为图3a所描述的照片推荐装置的划分单元302的具体细化结构,所述划分单元302可包括:第三获取模块3023、划分模块3024和分类模块3025,具体如下:Optionally, as shown in FIG. 3d, FIG. 3d is a specific refinement structure of the dividing unit 302 of the photo recommendation device described in FIG. 3a, and the dividing unit 302 may include: a third obtaining module 3023, a dividing module 3024, and a classifying module 3025. ,details as follows:
第三获取模块3023,用于获取所述N张照片中每一照片的拍摄时间,得到所述N个拍摄时间;获取所述N个拍摄时间中最早拍摄时间和最近拍摄时间;a third obtaining module 3023, configured to acquire a shooting time of each of the N photos, obtain the N shooting times, and acquire an earliest shooting time and a latest shooting time of the N shooting times;
划分模块3024,用于将所述最早拍摄时间和所述最近拍摄时间之间的时间段划分为M个时间段;a dividing module 3024, configured to divide a time period between the earliest shooting time and the most recent shooting time into M time segments;
分类模块3025,用于根据所述M个时间段,将所述N个拍摄时间进行分类,得到所述M个拍摄时间集合;a classification module 3025, configured to classify the N shooting times according to the M time periods, to obtain the M shooting time sets;
所述第三获取模块3023,还用于:The third obtaining module 3023 is further configured to:
获取所述M个拍摄时间集合中每一拍摄时间集合中的拍摄时间对应的照片,得到所述M个照片集。Acquiring a photo corresponding to the shooting time in each of the M shooting time sets to obtain the M photo sets.
可选地,如图3e,图3e为图3a所描述的照片推荐装置的评价单元303的具体细化结构,所述评价单元303可包括:第四获取模块3031和评价模块3032,具体如下:Optionally, as shown in FIG. 3e, FIG. 3e is a specific refinement structure of the evaluation unit 303 of the photo recommendation device described in FIG. 3a, and the evaluation unit 303 may include: a fourth acquisition module 3031 and an evaluation module 3032, as follows:
第四获取模块3031,用于获取照片i的环境参数,所述照片i为所述M个照片集中的任一集合的任一照片;获取所述照片i的环境参数对应的评价指标集,所述评价指标集至少包含一个图像质量评价指标;The fourth obtaining module 3031 is configured to obtain an environment parameter of the photo i, where the photo i is any photo of any one of the M photo sets; and obtain an evaluation index set corresponding to the environment parameter of the photo i. The evaluation indicator set includes at least one image quality evaluation index;
评价模块3032,用于根据所述评价指标集对所述照片i进行图像质量评价。The evaluation module 3032 is configured to perform image quality evaluation on the photo i according to the evaluation index set.
可选地,在所述获取所述照片i的环境参数对应的评价指标集方面,所述第四获取模块3031具体用于:Optionally, in the obtaining the set of the evaluation indicators corresponding to the environment parameter of the photo i, the fourth obtaining module 3031 is specifically configured to:
按照预设的环境参数与评价指标集之间的映射关系,确定所述照片i的环境参数对应的评价指标集。The evaluation index set corresponding to the environmental parameter of the photo i is determined according to a mapping relationship between the preset environmental parameter and the evaluation index set.
可选地,所述环境参数包括以下至少一种:环境亮度、天气、温度、地理位置。Optionally, the environmental parameter includes at least one of the following: ambient brightness, weather, temperature, and geographic location.
可选地,如图3f,图3f为图3a所描述的照片推荐装置的又一变型结构,其与图3a相比较,还可以包括:接收单元305、分类单元306和拼图单元307,具体如下:Optionally, as shown in FIG. 3f, FIG. 3f is a further modification of the photo recommendation device described in FIG. 3a. Compared with FIG. 3a, the method may further include: a receiving unit 305, a classification unit 306, and a puzzle unit 307, as follows: :
所述接收单元305,用于接收拼图指令;The receiving unit 305 is configured to receive a nesting instruction;
所述分类单元306,用于根据所述P张照片所属的照片集进行分类,得到Q个照片集,所述Q为小于或等于所述M的正整数;The classifying unit 306 is configured to perform classification according to the photo set to which the P photos belong, to obtain Q photo sets, where the Q is a positive integer less than or equal to the M;
所述拼图单元307,用于对所述Q个照片集中的每一照片集进行拼图操作,得到所述Q个拼图照片,将所述Q张拼图照片在电子设备的显示界面上进行展示。The puzzle unit 307 is configured to perform a puzzle operation on each photo set in the Q photo collections to obtain the Q puzzle photos, and display the Q puzzle photos on a display interface of the electronic device.
可以理解的是,本实施例的照片推荐装置的各程序模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the functions of the program modules of the photo recommendation device of the present embodiment may be specifically implemented according to the method in the foregoing method embodiments. For the specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again.
请参阅图4,图4是本申请实施例提供的一种电子设备,包括:处理器和存储器;以及一个或多个程序:Referring to FIG. 4, FIG. 4 is an electronic device according to an embodiment of the present application, including: a processor and a memory; and one or more programs:
所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述程序包括用于执行以下步骤的指令:The one or more programs are stored in the memory and are configured to be executed by the processor, the program including instructions for performing the following steps:
在检测到用户选择照片时,获取预设时间段拍摄的N张照片,所述N为正整数;When detecting that the user selects a photo, acquiring N photos taken in a preset time period, where N is a positive integer;
将所述N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,所述M为小于或等于所述N的正整数;Dividing the N photos into scenes to obtain M photo sets, each photo set includes at least one photo, and the M is a positive integer less than or equal to the N;
对所述M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,所述P为小于所述N的正整数;Performing image quality evaluation on each photo set in the M photo collections, and selecting a photo in which the image quality of each photo collection satisfies the corresponding preset requirement, and obtaining P photos, wherein P is a positive integer smaller than the N;
将所述P张照片推荐给用户。The P photos are recommended to the user.
在一个可能的示例中,在所述获取预设时间段拍摄的N张照片,所述程序中的指令具体用于执行以下步骤:In one possible example, in the obtaining N photos taken in a preset time period, the instructions in the program are specifically used to perform the following steps:
获取所述预设时间段的Q张照片,所述Q为大于或等于所述N的正整数;Obtaining Q photos of the preset time period, where Q is a positive integer greater than or equal to the N;
对所述Q张照片进行筛选,得到所述N张照片。The Q photographs were screened to obtain the N photographs.
在一个可能的示例中,在所述对所述Q张照片进行筛选方面,所述程序中的指令具体用于执行以下步骤:In one possible example, in the screening of the Q photos, the instructions in the program are specifically used to perform the following steps:
对所述Q张照片中每一照片进行模糊区域检测,得到Q个模糊区域面积,每一照片对应一个模糊区域面积;Performing fuzzy region detection on each of the Q photos to obtain Q blurred region areas, and each photo corresponds to a blurred region area;
从所述Q张照片中过滤掉模糊区域面积大于预设模糊面积的照片。A photo of the blurred area having a larger area than the preset blurred area is filtered out from the Q photos.
在一个可能的示例中,在所述将所述N张照片进行场景划分,得到M个照片集方面,所述程序中的指令具体用于执行以下步骤:In one possible example, in the aspect that the N photos are divided into scenes to obtain M photo sets, the instructions in the program are specifically used to perform the following steps:
获取所述N张照片每一照片的拍摄位置,得到所述N个拍摄位置;Obtaining a shooting position of each photo of the N photos, and obtaining the N shooting positions;
将所述N个拍摄位置进行合并,得到所述M个拍摄位置集合;Combining the N shooting positions to obtain the M shooting position sets;
获取所述M个拍摄位置集合中每一拍摄位置集合中的拍摄位置对应的照片,得到所述M个照片集。Acquiring a photo corresponding to the shooting position in each of the M shooting position sets to obtain the M photo sets.
在一个可能的示例中,在所述将所述N张照片进行场景划分,得到M个照片集方面,所述程序中的指令具体用于执行以下步骤:In one possible example, in the aspect that the N photos are divided into scenes to obtain M photo sets, the instructions in the program are specifically used to perform the following steps:
获取所述N张照片中每一照片的拍摄时间,得到所述N个拍摄时间;Obtaining a shooting time of each of the N photos, and obtaining the N shooting times;
获取所述N个拍摄时间中最早拍摄时间和最近拍摄时间;Obtaining the earliest shooting time and the most recent shooting time of the N shooting times;
将所述最早拍摄时间和所述最近拍摄时间之间的时间段划分为M个时间段;Dividing a time period between the earliest photographing time and the most recent photographing time into M time periods;
根据所述M个时间段,将所述N个拍摄时间进行分类,得到所述M个拍摄时间集合;Sorting the N shooting times according to the M time periods to obtain the M shooting time sets;
获取所述M个拍摄时间集合中每一拍摄时间集合中的拍摄时间对应的照片,得到所述M个照片集。Acquiring a photo corresponding to the shooting time in each of the M shooting time sets to obtain the M photo sets.
在一个可能的示例中,在所述对所述M个照片集中每一照片集进行图像质量评价方面,所述程序中的指令具体用于执行以下步骤:In one possible example, in the image quality evaluation for each photo set in the M photo sets, the instructions in the program are specifically used to perform the following steps:
获取照片i的环境参数,所述照片i为所述M个照片集中的任一集合的任一照片;Obtaining an environment parameter of the photo i, the photo i being any photo of any one of the M photo sets;
获取所述照片i的环境参数对应的评价指标集,所述评价指标集至少包含一个图像质量评价指标;Acquiring an evaluation index set corresponding to the environmental parameter of the photo i, where the evaluation index set includes at least one image quality evaluation index;
根据所述评价指标集对所述照片i进行图像质量评价。Image quality evaluation is performed on the photo i according to the evaluation index set.
在一个可能的示例中,在所述获取所述照片i的环境参数对应的评价指标集方面,所述程序中的指令具体用于执行以下步骤:In one possible example, in the obtaining the set of evaluation indicators corresponding to the environment parameter of the photo i, the instructions in the program are specifically used to perform the following steps:
按照预设的环境参数与评价指标集之间的映射关系,确定所述照片i的环境参数对应的评价指标集。The evaluation index set corresponding to the environmental parameter of the photo i is determined according to a mapping relationship between the preset environmental parameter and the evaluation index set.
在一个可能的示例中,所述环境参数包括以下至少一种:环境亮度、天气、温度、地理位置。In one possible example, the environmental parameter includes at least one of the following: ambient brightness, weather, temperature, geographic location.
在一个可能的示例中,所述程序中的指令还具体用于执行以下步骤:In one possible example, the instructions in the program are also specifically used to perform the following steps:
接收拼图指令;Receiving a puzzle instruction;
根据所述P张照片所属的照片集进行分类,得到Q个照片集,所述Q为小于或等于所述M的正整数;Sorting according to the photo set to which the P photos belong, and obtaining Q photo sets, wherein Q is a positive integer less than or equal to the M;
对所述Q个照片集中的每一照片集进行拼图操作,得到所述Q个拼图照片,将所述Q张拼图照片在电子设备的显示界面上进行展示。Performing a puzzle operation on each photo set in the Q photo collection to obtain the Q puzzle photos, and displaying the Q puzzle photos on the display interface of the electronic device.
本申请实施例还提供了另一种电子设备,如图5所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该电子设备可以为包括手机、平板电脑、PDA(personal digital assistant,个人数字助理)、POS(point of sales,销售终端)、车载电脑等任意终端设备,以电子设备为手机为例:The embodiment of the present application further provides another electronic device. As shown in FIG. 5, for the convenience of description, only the parts related to the embodiment of the present application are shown. If the specific technical details are not disclosed, refer to the method of the embodiment of the present application. section. The electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (personal digital assistant), a POS (point of sales), an in-vehicle computer, and the like, and the electronic device is used as a mobile phone as an example:
图5示出的是与本申请实施例提供的电子设备相关的手机的部分结构的框图。参考图5,手机包括:射频(radio frequency,RF)电路910、存储器920、输入单元930、传感器950、音频电路960、无线保真(wireless fidelity,WiFi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图5中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 5 is a block diagram showing a partial structure of a mobile phone related to an electronic device provided by an embodiment of the present application. Referring to FIG. 5, the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a sensor 950, an audio circuit 960, a wireless fidelity (WiFi) module 970, a processor 980, and a power supply 990. And other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 5 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
下面结合图5对手机的各个构成部件进行具体的介绍:The following describes the components of the mobile phone in detail with reference to FIG. 5:
输入单元930可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括触控显示屏933、生物识别装置931以及其他输入设备932。生物识别装置931可为人脸识别装置、虹膜识别装置或者指纹识别装置。输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于物理按键、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。其中,所述处理器980,在检测到用户选择照片时,获取预设时间段拍摄的N张照片,所述N为正整数;将所述N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,所述M为小于或等于所述N的正整数;对所述M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,所述P为小于所述N的正整数;将所述P张照片推荐给用户。The input unit 930 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset. Specifically, the input unit 930 can include a touch display screen 933, a biometric device 931, and other input devices 932. The biometric device 931 can be a face recognition device, an iris recognition device, or a fingerprint recognition device. The input unit 930 can also include other input devices 932. Specifically, other input devices 932 may include, but are not limited to, one or more of physical buttons, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like. The processor 980 obtains N photos taken in a preset time period when the user selects a photo, and the N is a positive integer; the N photos are divided into scenes to obtain M photo collections. Each photo set includes at least one photo, the M is a positive integer less than or equal to the N; image quality evaluation is performed on each photo set in the M photo sets, and the image quality in each photo collection is selected to meet the corresponding The pre-required photo is taken to obtain P photos, the P being a positive integer smaller than the N; the P photos are recommended to the user.
处理器980是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器980可包括一个或多个处理单元;可选的,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 920, and invoking data stored in the memory 920, executing The phone's various functions and processing data, so that the overall monitoring of the phone. Optionally, the processor 980 may include one or more processing units; optionally, the processor 980 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 980.
此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Moreover, memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
RF电路910可用于信息的接收和发送。通常,RF电路910包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(low noise amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯***(global system of mobile communication,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA)、长期演进(long term evolution,LTE)、电子邮件、短消息服务(short messaging service,SMS)等。The RF circuit 910 can be used for receiving and transmitting information. Generally, RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 910 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (code division) Multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), e-mail, short messaging service (SMS), and the like.
手机还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节触控显示屏的亮度,接近传感器可在手机移动到耳边时,关闭触控显示屏和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one type of sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the touch display screen according to the brightness of the ambient light, and the proximity sensor can turn off the touch display when the mobile phone moves to the ear. And / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
音频电路960、扬声器961,传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号播放;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据播放处理器980处理后,经RF电路910以发送给比如另一手机,或者将音频数据播放至存储器920以便进一步处理。An audio circuit 960, a speaker 961, and a microphone 962 can provide an audio interface between the user and the handset. The audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 961 for conversion to the sound signal by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal by the audio circuit 960. After receiving, it is converted into audio data, and then processed by the audio data playback processor 980, sent to the other mobile phone via the RF circuit 910, or played back to the memory 920 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块970,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides users with wireless broadband Internet access. Although FIG. 5 shows the WiFi module 970, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
手机还包括给各个部件供电的电源990(比如电池),可选的,电源可以通过电源管理***与处理器980逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。The handset also includes a power supply 990 (such as a battery) that supplies power to the various components. Alternatively, the power supply can be logically coupled to the processor 980 via a power management system to manage charging, discharging, and power management functions through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
前述图1~图2所示的实施例中,各步骤方法流程可以基于该手机的结构 实现。In the foregoing embodiments shown in Figures 1 to 2, the method flow of each step can be implemented based on the structure of the mobile phone.
前述图3a~图3f,图4所示的实施例中,各单元功能可以基于该手机的结构实现。In the foregoing embodiments of FIGS. 3a to 3f and FIG. 4, each unit function can be implemented based on the structure of the mobile phone.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种照片推荐方法的部分或全部步骤。The embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to execute part of any photo recommendation method as described in the foregoing method embodiment. Or all steps.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种照片推荐方法的部分或全部步骤。The embodiment of the present application further provides a computer program product, comprising: a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the operations as recited in the foregoing method embodiments Some or all of the steps in any photo recommendation method.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present application. In the following, those skilled in the art should also understand that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件程序模块的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software program module.
所述集成的单元如果以软件程序模块的形式实现并作为独立的产品销售 或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software program module and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a memory. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing memory includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、ROM、RAM、磁盘或光盘等。A person skilled in the art can understand that all or part of the steps of the foregoing embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable memory, and the memory can include: a flash drive , ROM, RAM, disk or CD.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been described in detail above. The principles and implementations of the present application are described in the specific examples. The description of the above embodiments is only used to help understand the method and core ideas of the present application. A person skilled in the art will have a change in the specific embodiments and the scope of the application according to the idea of the present application. In summary, the content of the present specification should not be construed as limiting the present application.

Claims (20)

  1. 一种照片推荐方法,其特征在于,包括:A photo recommendation method, comprising:
    在检测到用户选择照片时,获取预设时间段拍摄的N张照片,所述N为正整数;When detecting that the user selects a photo, acquiring N photos taken in a preset time period, where N is a positive integer;
    将所述N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,所述M为小于或等于所述N的正整数;Dividing the N photos into scenes to obtain M photo sets, each photo set includes at least one photo, and the M is a positive integer less than or equal to the N;
    对所述M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,所述P为小于所述N的正整数;Performing image quality evaluation on each photo set in the M photo collections, and selecting a photo in which the image quality of each photo collection satisfies the corresponding preset requirement, and obtaining P photos, wherein P is a positive integer smaller than the N;
    将所述P张照片推荐给用户。The P photos are recommended to the user.
  2. 根据权利要求1所述的方法,其特征在于,所述获取预设时间段拍摄的N张照片,包括:The method according to claim 1, wherein the acquiring N photos taken in a preset time period comprises:
    获取所述预设时间段的Q张照片,所述Q为大于或等于所述N的正整数;Obtaining Q photos of the preset time period, where Q is a positive integer greater than or equal to the N;
    对所述Q张照片进行筛选,得到所述N张照片。The Q photographs were screened to obtain the N photographs.
  3. 根据权利要求2所述的方法,其特征在于,所述对所述Q张照片进行筛选,包括:The method according to claim 2, wherein said screening said Q photos comprises:
    对所述Q张照片中每一照片进行模糊区域检测,得到Q个模糊区域面积,每一照片对应一个模糊区域面积;Performing fuzzy region detection on each of the Q photos to obtain Q blurred region areas, and each photo corresponds to a blurred region area;
    从所述Q张照片中过滤掉模糊区域面积大于预设模糊面积的照片。A photo of the blurred area having a larger area than the preset blurred area is filtered out from the Q photos.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述将所述N张照片进行场景划分,得到M个照片集,包括:The method according to any one of claims 1-3, wherein the dividing the N photos into scenes to obtain M photo sets comprises:
    获取所述N张照片每一照片的拍摄位置,得到所述N个拍摄位置;Obtaining a shooting position of each photo of the N photos, and obtaining the N shooting positions;
    将所述N个拍摄位置进行合并,得到所述M个拍摄位置集合;Combining the N shooting positions to obtain the M shooting position sets;
    获取所述M个拍摄位置集合中每一拍摄位置集合中的拍摄位置对应的照片,得到所述M个照片集。Acquiring a photo corresponding to the shooting position in each of the M shooting position sets to obtain the M photo sets.
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述将所述N张照片进行场景划分,得到M个照片集,包括:The method according to any one of claims 1-3, wherein the dividing the N photos into scenes to obtain M photo sets comprises:
    获取所述N张照片中每一照片的拍摄时间,得到所述N个拍摄时间;Obtaining a shooting time of each of the N photos, and obtaining the N shooting times;
    获取所述N个拍摄时间中最早拍摄时间和最近拍摄时间;Obtaining the earliest shooting time and the most recent shooting time of the N shooting times;
    将所述最早拍摄时间和所述最近拍摄时间之间的时间段划分为M个时间段;Dividing a time period between the earliest photographing time and the most recent photographing time into M time periods;
    根据所述M个时间段,将所述N个拍摄时间进行分类,得到所述M个拍 摄时间集合;Sorting the N shooting times according to the M time periods to obtain the M shooting time sets;
    获取所述M个拍摄时间集合中每一拍摄时间集合中的拍摄时间对应的照片,得到所述M个照片集。Acquiring a photo corresponding to the shooting time in each of the M shooting time sets to obtain the M photo sets.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述对所述M个照片集中每一照片集进行图像质量评价,包括:The method according to any one of claims 1-5, wherein the performing image quality evaluation on each photo set in the M photo sets comprises:
    获取照片i的环境参数,所述照片i为所述M个照片集中的任一集合的任一照片;Obtaining an environment parameter of the photo i, the photo i being any photo of any one of the M photo sets;
    获取所述照片i的环境参数对应的评价指标集,所述评价指标集至少包含一个图像质量评价指标;Acquiring an evaluation index set corresponding to the environmental parameter of the photo i, where the evaluation index set includes at least one image quality evaluation index;
    根据所述评价指标集对所述照片i进行图像质量评价。Image quality evaluation is performed on the photo i according to the evaluation index set.
  7. 根据权利要求6所述的方法,其特征在于,所述获取所述照片i的环境参数对应的评价指标集,包括:The method according to claim 6, wherein the obtaining the evaluation index set corresponding to the environment parameter of the photo i comprises:
    按照预设的环境参数与评价指标集之间的映射关系,确定所述照片i的环境参数对应的评价指标集。The evaluation index set corresponding to the environmental parameter of the photo i is determined according to a mapping relationship between the preset environmental parameter and the evaluation index set.
  8. 根据权利要求6所述的方法,其特征在于,所述环境参数包括以下至少一种:环境亮度、天气、温度、地理位置。The method according to claim 6, wherein the environmental parameter comprises at least one of the following: ambient brightness, weather, temperature, geographic location.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-8, wherein the method further comprises:
    接收拼图指令;Receiving a puzzle instruction;
    根据所述P张照片所属的照片集进行分类,得到Q个照片集,所述Q为小于或等于所述M的正整数;Sorting according to the photo set to which the P photos belong, and obtaining Q photo sets, wherein Q is a positive integer less than or equal to the M;
    对所述Q个照片集中的每一照片集进行拼图操作,得到所述Q个拼图照片,将所述Q张拼图照片在电子设备的显示界面上进行展示。Performing a puzzle operation on each photo set in the Q photo collection to obtain the Q puzzle photos, and displaying the Q puzzle photos on the display interface of the electronic device.
  10. 一种照片推荐装置,其特征在于,包括:A photo recommendation device, comprising:
    获取单元,用于在检测到用户选择照片时,获取预设时间段拍摄的N张照片,所述N为正整数;An acquiring unit, configured to acquire N photos taken in a preset time period when the user selects a photo, where the N is a positive integer;
    划分单元,用于将所述N张照片进行场景划分,得到M个照片集,每一照片集至少包含一张照片,所述M为小于或等于所述N的正整数;a dividing unit, configured to divide the N photos into scenes, to obtain M photo sets, each photo set includes at least one photo, and the M is a positive integer less than or equal to the N;
    评价单元,用于对所述M个照片集中每一照片集进行图像质量评价,并选取每一照片集中图像质量满足对应的预设要求的照片,得到P张照片,所述P为小于所述N的正整数;An evaluation unit, configured to perform image quality evaluation on each photo set in the M photo collections, and select a photo in which the image quality of each photo collection satisfies a corresponding preset requirement, to obtain P photos, wherein the P is smaller than the a positive integer of N;
    推荐单元,用于将所述P张照片推荐给用户。a recommendation unit for recommending the P photos to a user.
  11. 根据权利要求10所述的装置,其特征在于,所述获取单元包括:The device according to claim 10, wherein the obtaining unit comprises:
    第一获取模块,用于获取所述预设时间段的Q张照片,所述Q为大于或 等于所述N的正整数;a first acquiring module, configured to acquire Q photos of the preset time period, where the Q is a positive integer greater than or equal to the N;
    筛选模块,用于对所述Q张照片进行筛选,得到所述N张照片。And a screening module, configured to screen the Q photos to obtain the N photos.
  12. 根据权利要求11所述的装置,其特征在于,在所述对所述Q张照片进行筛选方面,所述筛选模块具体用于:The apparatus according to claim 11, wherein in the screening the Q photos, the screening module is specifically configured to:
    对所述Q张照片中每一照片进行模糊区域检测,得到Q个模糊区域面积,每一照片对应一个模糊区域面积,从所述Q张照片中过滤掉模糊区域面积大于预设模糊面积的照片。Performing a blurred area detection on each of the Q photos to obtain Q blurred area areas, each photo corresponding to a blurred area, and filtering out photos of the blurred area larger than the preset blurred area from the Q photos .
  13. 根据权利要求10-12任一项所述的装置,其特征在于,所述划分单元包括:The device according to any one of claims 10 to 12, wherein the dividing unit comprises:
    第二获取模块,用于获取所述N张照片每一照片的拍摄位置,得到所述N个拍摄位置;a second acquiring module, configured to acquire a shooting position of each photo of the N photos, to obtain the N shooting positions;
    合并模块,用于将所述N个拍摄位置进行合并,得到所述M个拍摄位置集合;a merging module, configured to combine the N shooting positions to obtain the M shooting position sets;
    所述第二获取模块,还具体用于:The second obtaining module is further specifically configured to:
    获取所述M个拍摄位置集合中每一拍摄位置集合中的拍摄位置对应的照片,得到所述M个照片集。Acquiring a photo corresponding to the shooting position in each of the M shooting position sets to obtain the M photo sets.
  14. 根据权利要求10-12任一项所述的装置,其特征在于,所述划分单元包括:The device according to any one of claims 10 to 12, wherein the dividing unit comprises:
    第三获取模块,用于获取所述N张照片中每一照片的拍摄时间,得到所述N个拍摄时间;获取所述N个拍摄时间中最早拍摄时间和最近拍摄时间;a third acquiring module, configured to acquire a shooting time of each of the N photos, obtain the N shooting times, and obtain an earliest shooting time and a latest shooting time of the N shooting times;
    划分模块,用于将所述最早拍摄时间和所述最近拍摄时间之间的时间段划分为M个时间段;a dividing module, configured to divide a time period between the earliest shooting time and the most recent shooting time into M time segments;
    分类模块,用于根据所述M个时间段,将所述N个拍摄时间进行分类,得到所述M个拍摄时间集合;a classification module, configured to classify the N shooting times according to the M time periods, to obtain the M shooting time sets;
    所述第三获取模块,还用于:The third obtaining module is further configured to:
    获取所述M个拍摄时间集合中每一拍摄时间集合中的拍摄时间对应的照片,得到所述M个照片集。Acquiring a photo corresponding to the shooting time in each of the M shooting time sets to obtain the M photo sets.
  15. 根据权利要求10-14任一项所述的装置,其特征在于,所述评价单元包括:The apparatus according to any one of claims 10 to 14, wherein the evaluation unit comprises:
    第四获取模块,用于获取照片i的环境参数,所述照片i为所述M个照片集中的任一集合的任一照片;获取所述照片i的环境参数对应的评价指标集,所述评价指标集至少包含一个图像质量评价指标;a fourth acquiring module, configured to acquire an environment parameter of the photo i, where the photo i is any photo of any one of the M photo sets; and obtain an evaluation index set corresponding to the environmental parameter of the photo i, The evaluation indicator set contains at least one image quality evaluation indicator;
    评价模块,用于根据所述评价指标集对所述照片i进行图像质量评价。And an evaluation module, configured to perform image quality evaluation on the photo i according to the evaluation index set.
  16. 根据权利要求15所述的装置,其特征在于,在所述获取所述照片i的环境参数对应的评价指标集方面,所述第四获取模块具体用于:The device according to claim 15, wherein the fourth obtaining module is specifically configured to: in the obtaining the evaluation index set corresponding to the environment parameter of the photo i:
    按照预设的环境参数与评价指标集之间的映射关系,确定所述照片i的环境参数对应的评价指标集。The evaluation index set corresponding to the environmental parameter of the photo i is determined according to a mapping relationship between the preset environmental parameter and the evaluation index set.
  17. 根据权利要求15所述的装置,其特征在于,所述环境参数包括以下至少一种:环境亮度、天气、温度、地理位置。The apparatus according to claim 15, wherein the environmental parameter comprises at least one of the following: ambient brightness, weather, temperature, geographic location.
  18. 一种电子设备,其特征在于,包括:处理器和存储器;以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所描述的方法的指令。An electronic device, comprising: a processor and a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor The program includes instructions for performing the method as described in any of claims 1-9.
  19. 一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。A computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method of any one of claims 1-9.
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-9任一项所述的方法。A computer program product, comprising: a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform as claimed in any one of claims 1-9 The method described.
PCT/CN2018/089830 2017-06-20 2018-06-04 Photograph recommendation method and related product WO2018233480A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710471790.5A CN107273510B (en) 2017-06-20 2017-06-20 Photo recommendation method and related product
CN201710471790.5 2017-06-20

Publications (1)

Publication Number Publication Date
WO2018233480A1 true WO2018233480A1 (en) 2018-12-27

Family

ID=60068980

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089830 WO2018233480A1 (en) 2017-06-20 2018-06-04 Photograph recommendation method and related product

Country Status (2)

Country Link
CN (1) CN107273510B (en)
WO (1) WO2018233480A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858987A (en) * 2020-07-08 2020-10-30 万翼科技有限公司 Problem checking method of CAD (computer-aided design) image, electronic equipment and related product
CN116320405A (en) * 2023-05-17 2023-06-23 西安畅榜电子科技有限公司 Security monitoring video compression storage method
CN116362848A (en) * 2023-06-03 2023-06-30 成都豪杰特科技有限公司 Electronic commerce recommendation method, system, equipment and medium based on artificial intelligence

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273510B (en) * 2017-06-20 2020-06-16 Oppo广东移动通信有限公司 Photo recommendation method and related product
CN108234870B (en) * 2017-12-27 2019-10-11 Oppo广东移动通信有限公司 Image processing method, device, terminal and storage medium
CN108198130B (en) * 2017-12-28 2021-09-28 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN108989555B (en) * 2018-07-10 2021-06-04 Oppo广东移动通信有限公司 Image processing method and related product
CN108986184B (en) * 2018-07-23 2023-04-18 Oppo广东移动通信有限公司 Video creation method and related device
CN110060122A (en) * 2019-03-16 2019-07-26 平安城市建设科技(深圳)有限公司 Picture display method, device, equipment and computer readable storage medium
CN110335237B (en) * 2019-05-06 2022-08-09 北京字节跳动网络技术有限公司 Method and device for generating model and method and device for recognizing image
CN110427888A (en) * 2019-08-05 2019-11-08 北京深醒科技有限公司 A kind of face method for evaluating quality based on feature clustering
CN110769259A (en) * 2019-11-05 2020-02-07 智慧视通(杭州)科技发展有限公司 Image data compression method for tracking track content of video target
CN110889007A (en) * 2019-11-27 2020-03-17 维沃移动通信有限公司 Electronic album generating method and electronic equipment
CN111143703B (en) * 2019-12-19 2023-05-23 上海寒武纪信息科技有限公司 Intelligent line recommendation method and related products
CN111522990A (en) * 2020-04-24 2020-08-11 英华达(上海)科技有限公司 Group sharing type photographing method, photographing device, electronic device and storage medium
CN111880876B (en) * 2020-07-21 2024-03-15 Oppo广东移动通信有限公司 Object processing method and related device
CN114520890B (en) * 2020-11-19 2023-07-11 华为技术有限公司 Image processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150242706A1 (en) * 2014-02-24 2015-08-27 Invent.ly LLC Classifying and annotating images based on user context
CN105260466A (en) * 2015-10-16 2016-01-20 百度在线网络技术(北京)有限公司 Picture pushing method and apparatus
CN105760357A (en) * 2016-02-18 2016-07-13 广东小天才科技有限公司 Method, device and system for automatically generating diary
CN107273510A (en) * 2017-06-20 2017-10-20 广东欧珀移动通信有限公司 Photo recommends method and Related product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150242706A1 (en) * 2014-02-24 2015-08-27 Invent.ly LLC Classifying and annotating images based on user context
CN105260466A (en) * 2015-10-16 2016-01-20 百度在线网络技术(北京)有限公司 Picture pushing method and apparatus
CN105760357A (en) * 2016-02-18 2016-07-13 广东小天才科技有限公司 Method, device and system for automatically generating diary
CN107273510A (en) * 2017-06-20 2017-10-20 广东欧珀移动通信有限公司 Photo recommends method and Related product

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858987A (en) * 2020-07-08 2020-10-30 万翼科技有限公司 Problem checking method of CAD (computer-aided design) image, electronic equipment and related product
CN111858987B (en) * 2020-07-08 2023-10-20 深圳市万翼数字技术有限公司 Problem viewing method of CAD image, electronic equipment and related products
CN116320405A (en) * 2023-05-17 2023-06-23 西安畅榜电子科技有限公司 Security monitoring video compression storage method
CN116320405B (en) * 2023-05-17 2023-10-27 西安畅榜电子科技有限公司 Security monitoring video compression storage method
CN116362848A (en) * 2023-06-03 2023-06-30 成都豪杰特科技有限公司 Electronic commerce recommendation method, system, equipment and medium based on artificial intelligence
CN116362848B (en) * 2023-06-03 2023-10-27 广州爱特安为科技股份有限公司 Electronic commerce recommendation method, system, equipment and medium based on artificial intelligence

Also Published As

Publication number Publication date
CN107273510B (en) 2020-06-16
CN107273510A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
WO2018233480A1 (en) Photograph recommendation method and related product
WO2018228168A1 (en) Image processing method and related product
CN106161628B (en) Shooting file uploading method and device
CN107590461B (en) Face recognition method and related product
WO2019020014A1 (en) Unlocking control method and related product
CN106407984B (en) Target object identification method and device
CN107124555B (en) Method and device for controlling focusing, computer equipment and computer readable storage medium
CN107729815B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
CN107948748B (en) Method, device, mobile terminal and computer storage medium for recommending videos
WO2019011206A1 (en) Living body detection method and related product
CN107451446B (en) Unlocking control method and related product
AU2018284487B2 (en) Application control method and application control device
CN107205116B (en) Image selection method, mobile terminal, image selection device, and computer-readable storage medium
WO2019011099A1 (en) Iris living-body detection method and related product
CN107784271B (en) Fingerprint identification method and related product
CN107644219B (en) Face registration method and related product
CN107995422A (en) Image capturing method and device, computer equipment, computer-readable recording medium
JP6862564B2 (en) Methods, devices and non-volatile computer-readable media for image composition
CN106558088A (en) Generate the method and device of gif file
CN113421211B (en) Method for blurring light spots, terminal equipment and storage medium
CN113608808A (en) Data processing method, mobile terminal and storage medium
WO2019015574A1 (en) Unlocking control method and related product
CN108595600A (en) Photo classification method, mobile terminal and readable storage medium storing program for executing
CN107517349A (en) Mobile terminal and Related product with camera function
CN108319412A (en) A kind of photo delet method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18821506

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18821506

Country of ref document: EP

Kind code of ref document: A1