Method for obtaining an image and electronic device for performing the method
Through deep learning algorithms combined with multi-angle shooting technology, it identifies subjects and environmental information, provides shooting composition and setting suggestions, solves the problem of poor shooting effects for ordinary users, and achieves more beautiful and personalized shooting effects.
Patent Information
- Application Number
- CN202111265899.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2017-12-01
- Filing Date
- 2018-10-02
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2038-10-02
AI Technical Summary
The existing technology is difficult to effectively provide recommendation information related to shooting, especially for ordinary users, it is difficult to take beautiful photos, especially in complex shooting compositions and environments.
By using a deep learning algorithm, combined with multi-angle shooting of the first camera and the second camera, it identifies the subject and its surrounding environment information, generates the best shooting composition, and provides preview images and indicators on the display, which the user can Information to adjust shooting angles and settings to achieve more beautiful shooting effects.
The system can provide accurate shooting composition and setting suggestions to help users take more beautiful photos, especially in complex environments, and improve the personalization and accuracy of shooting effects.
Smart Images

Figure CN114040098B_ABST
Abstract
Description
[0001] This application is a divisional application of an invention patent application with an application date (international application date) of October 2, 2018, application number 201880019872.9, and invention name “Method and system for providing recommended information related to shooting”. Technical Field
[0002] The present disclosure relates to an artificial intelligence (AI) system for simulating human brain functions such as recognition and decision-making by using a machine learning algorithm such as deep learning, and an application of the AI system. More specifically, the present disclosure relates to a method and apparatus for providing recommendation information related to shooting by using an AI system. Background Art
[0003] Unlike existing rule-based intelligent systems, an artificial intelligence (AI) system is a computer system that is configured to achieve human-level intelligence and become more intelligent through self-learning and spontaneous decision-making. The more an AI system is used, the more its recognition rate improves and the more accurately it understands the user's taste, and therefore, rule-based intelligent systems are gradually being replaced by deep learning-based AI systems.
[0004] AI technologies include machine learning (e.g., deep learning) and elemental technologies that use machine learning.
[0005] Machine learning is an algorithmic technology that self-classifies and learns the characteristics of input data, and element technology is a technology that uses machine learning algorithms such as deep learning to simulate human brain functions such as recognition and decision-making, and includes technical fields such as language understanding, visual understanding, inference / prediction, knowledge representation, and motion control.
[0006] The various fields in which AI technology is applied are as follows. Language understanding is a technology for recognizing and applying / processing human language / characters, and includes natural language processing, machine translation, dialogue systems, questions and answers, and speech recognition / synthesis. Visual understanding is a technology for recognizing and processing objects in the manner of the human visual system, and includes object recognition, object tracking, image search, character recognition, scene understanding, spatial understanding, and image enhancement. Inference / prediction is a technology for judging information and logically inferring and predicting information, and includes knowledge / probability-based reasoning, optimization prediction, preference-based planning, and recommendation. Knowledge representation is an automated technology for incorporating human experience information into knowledge data, and includes knowledge construction (e.g., data generation / classification) and knowledge management (e.g., data utilization). Motion control is a technology for controlling the motion of autonomous vehicles and robots, and includes mobile control (e.g., navigation, collision avoidance, or driving) and manipulation control (e.g., behavior control).
[0007] The above information is presented as background information only to assist with an understanding of the present disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with respect to the present disclosure. Summary of the invention
[0008] Solution to the problem
[0009] Therefore, one aspect of the present disclosure is to provide a method and system for providing recommendation information related to photography (eg, at least one recommended photographing composition, recommended setting value, and at least one recommended posture) by using a subject and surrounding environment information of the subject.
[0010] According to one aspect of the present disclosure, a method for obtaining an image performed by an electronic device is provided, the method comprising: obtaining, by a first camera of the electronic device, a first image corresponding to a first photographing area including a subject, wherein the first camera has a first viewing angle; obtaining, by a second camera of the electronic device, a second image corresponding to a maximum viewing angle image having a second photographing area including the subject, wherein the second camera has a second viewing angle greater than the first viewing angle, and wherein the second photographing area includes the first photographing area and surrounding environment information of the subject; after obtaining the first image and the second image, inputting the first image including the first photographing area and the second image including the second photographing area into an artificial intelligence (AI) recommendation model, and outputting an optimal photographing composition from the AI recommendation model; based on the optimal photographing composition, displaying a preview image of the second photographing area including the first photographing area and the surrounding environment information of the subject and a first indicator representing the first photographing area on a display of the electronic device; while displaying the preview image and the first indicator, receiving a user input to obtain a third image including the subject; and in response to receiving the user input, obtaining a third image including the subject, the third image corresponding to the photographing area of the preview image corresponding to the first indicator.
[0011] According to another aspect of the present disclosure, an electronic device is provided, comprising: a first camera; a second camera; a display; a memory storing one or more instructions; and at least one processor configured to execute the one or more instructions to at least: obtain, by the first camera, a first image corresponding to a first photographing area including a subject, wherein the first camera has a first viewing angle; obtain, by the second camera, a second image corresponding to a maximum viewing angle image of a second photographing area including the subject, wherein the second camera has a second viewing angle greater than the first viewing angle, and wherein the second photographing area includes the first photographing area and surrounding environment information of the subject; after obtaining the first image and the second image, input the first image including the first photographing area and the second image including the second photographing area to an artificial intelligence (AI) recommendation model, and output an optimal photographing composition from the AI recommendation model; based on the optimal photographing composition, display a preview image of the second photographing area including the first photographing area and the surrounding environment information of the subject and a first indicator representing the first photographing area on the display; while displaying the preview image and the first indicator, receive a user input to obtain a third image including the subject; and in response to receiving the user input, obtain a third image including the subject, the third image corresponding to the photographing area of the preview image corresponding to the first indicator.
[0012] According to another aspect of the present disclosure, a computer program product is provided, comprising a non-transitory computer-readable storage medium having a computer-readable program stored therein, wherein the computer-readable program, when executed by an electronic device comprising a first camera and a second camera, causes the electronic device to: obtain, by the first camera, a first image corresponding to a first photographing area including a subject, wherein the first camera has a first angle of view; obtain, by the second camera, a second image corresponding to a maximum angle of view image of a second photographing area including the subject, wherein the second camera has a second angle of view greater than the first angle of view, and wherein the second photographing area includes the first photographing area and surrounding environment information of the subject; after obtaining the first image and the second image, input the first image including the first photographing area and the second image including the second photographing area to an artificial intelligence (AI) recommendation model, and output an optimal photographing composition from the AI recommendation model; based on the optimal photographing composition, display a preview image of the second photographing area including the first photographing area and the surrounding environment information of the subject and a first indicator representing the first photographing area on a display of the electronic device; while displaying the preview image and the first indicator, receive a user input to obtain a third image including the subject; and in response to receiving the user input, obtain a third image including the subject, the third image corresponding to the photographing area of the preview image corresponding to the first indicator.
[0013] Additional aspects will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the presented embodiments.
[0014] Advantageous Effects of the Invention
[0015] According to an embodiment, the system may provide recommendation information related to photographing (eg, at least one recommended photographing composition, a recommended setting value, and at least one recommended posture) by using the subject and surrounding environment information of the subject. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent from the following description in conjunction with the accompanying drawings, in which:
[0017] Figure 1 is a view for describing a photographing system according to an embodiment of the present disclosure;
[0018] Figure 2 is a flowchart for describing a method in which an electronic device provides recommendation information related to photographing according to an embodiment of the present disclosure;
[0019] Figure 3 is a diagram for describing an operation of generating a recommendation model through deep learning according to an embodiment of the present disclosure;
[0020] Figure 4 is a view for describing a photographing composition according to an embodiment of the present disclosure;
[0021] Figure 5 is a view for describing an operation of detecting a current photographing composition according to an embodiment of the present disclosure;
[0022] Figure 6 is a view for describing a recommended shooting composition according to an embodiment of the present disclosure;
[0023] Figure 7 is a flowchart for describing a method of recommending or automatically applying a photographing setting value according to an embodiment of the present disclosure;
[0024] Figure 8 is a view for describing a photographing setting value according to an embodiment of the present disclosure;
[0025] Fig. 9 is a flowchart for describing a method of providing information about a recommended photographing composition by using an image having a viewing angle greater than a preview image according to an embodiment of the present disclosure;
[0026] Fig.10 is a view for describing the use of a dual camera according to an embodiment of the present disclosure;
[0027] Fig.11 is a view for describing an operation of guiding photographing by using a maximum viewing angle image according to an embodiment of the present disclosure;
[0028] Fig.12 and Fig.13 is a view for describing an operation of displaying information for guiding a recommended photographing composition on a maximum viewing angle image according to various embodiments of the present disclosure;
[0029] Fig.14 and Fig.15 is a view for describing an operation of an electronic device displaying information about a recommended photographing composition according to various embodiments of the present disclosure;
[0030] Fig.16 is a flowchart for describing a method in which an electronic device and a server interoperate to provide information on a recommended photographing composition according to an embodiment of the present disclosure;
[0031] Fig.17 is a view for describing an operation of an electronic device executing an artificial intelligence (AI) assisted application according to an embodiment of the present disclosure;
[0032] Fig.18 is a flowchart for describing a method of providing information about a plurality of recommended shooting compositions according to an embodiment of the present disclosure;
[0033] Fig.19 , Fig. 20 and Fig.21 is a view for describing an operation of an electronic device displaying information about a plurality of recommended photographing compositions according to various embodiments of the present disclosure;
[0034] Fig. 22 is a flowchart for describing a method of providing information about a recommended posture according to an embodiment of the present disclosure;
[0035] Fig.23 is a view for describing an operation of an electronic device displaying information about a recommended gesture according to an embodiment of the present disclosure;
[0036] Fig.24 is a view for describing an operation of providing information on a recommended posture by using the number of subjects and surrounding environment information of the subjects according to an embodiment of the present disclosure;
[0037] Fig.25 is a view for describing an operation of providing information on a plurality of recommended postures according to an embodiment of the present disclosure;
[0038] Fig.26 is a view for describing an operation of recommending an optimal face composition according to an embodiment of the present disclosure;
[0039] Fig. 27 and Fig.28 is a block diagram for describing an electronic device according to various embodiments of the present disclosure;
[0040] Fig.29 is a block diagram of a processor according to an embodiment of the present disclosure;
[0041] Fig.30 is a block diagram of a data learner according to an embodiment of the present disclosure;
[0042] Fig.31 is a block diagram of a data identifier according to an embodiment; and
[0043] Fig.32 is a view illustrating an example in which an electronic device and a server interoperate to learn and recognize data according to an embodiment of the present disclosure.
[0044] Throughout the drawings, it should be noted that like reference numbers are used to depict the same or similar elements, features, and structures.
[0045] Best Mode for Carrying Out the Invention
[0046] According to one aspect of the present disclosure, a method for an electronic device to provide recommendation information related to shooting is provided. The method includes: identifying a subject included in a preview image identified by a first camera; acquiring information about the identified subject; acquiring information about light around the identified subject; determining a recommended shooting composition based on the information about the identified subject and the information about light around the identified subject; and providing information about the recommended shooting composition.
[0047] According to another aspect of the present disclosure, an electronic device is provided. The electronic device includes: an output interface for displaying a preview image including a subject recognized by a first camera; a sensor for acquiring information related to light around the recognized subject; and at least one processor configured to recognize the subject included in the preview image, acquire information about the recognized subject, determine a recommended shooting composition based on the information about the recognized subject and information about light around the recognized subject, and provide information about the recommended shooting composition.
[0048] According to another aspect of the present disclosure, a computer program product is provided. The computer program product includes a computer-readable storage medium, wherein the computer-readable storage medium includes instructions for: identifying a subject included in a preview image identified by a first camera; acquiring information of the identified subject; acquiring information related to light around the identified subject; determining a recommended shooting composition based on the information of the identified subject and the information related to light around the identified subject; and providing information about the recommended shooting composition.
[0049] Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the disclosure. DETAILED DESCRIPTION
[0050] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of the various embodiments of the present disclosure as defined by the claims and their equivalents. It includes various specific details to assist in understanding, but these are to be considered as exemplary only. Therefore, it will be appreciated by those of ordinary skill in the art that various changes and modifications may be made to the various embodiments described herein without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and configurations may be omitted for clarity and conciseness.
[0051] The terms and words used in the following description and claims are not limited to the written meanings, but are used only by the inventor to enable a clear and consistent understanding of the present disclosure. Therefore, it should be clear to those skilled in the art that the following description of various embodiments of the present disclosure is provided for illustrative purposes only and is not intended to limit the purpose of the present disclosure as defined by the attached claims and their equivalents.
[0052] It will be understood that the singular forms "a," "an," and "the" include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to "a component surface" includes reference to one or more of such surfaces.
[0053] Throughout the specification, when a component "includes" an element, it will be understood that the component further includes other elements rather than excluding other elements, as long as there is no specific contrary description. In addition, terms such as "unit", "module", etc. used in the specification represent a unit that processes at least one function or action, and the unit can be implemented by hardware or software, or by a combination of hardware and software.
[0054] The embodiments of the present disclosure will be described in detail to fully convey the scope of the present disclosure and enable those of ordinary skill in the art to embody and practice the present disclosure. However, the present disclosure can be implemented in many different forms and should not be construed as being limited to the embodiments set forth herein. Moreover, parts of the drawings that are not related to the detailed description are omitted to ensure the clarity of the present disclosure. The same reference numerals in the drawings represent the same elements.
[0055] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items. Expressions such as "at least one of" following a list of elements modify the entire list of elements and do not modify the individual elements of the list.
[0056] Figure 1 is a view for describing a photographing system according to an embodiment of the present disclosure.
[0057] refer to Figure 1 According to an embodiment, the photographing system may include an electronic device 1000. According to an embodiment, in addition to the electronic device 1000, the photographing system may further include a server (not shown). Fig.16 Detailed Description An embodiment in which a photographing system includes an electronic device 1000 and a server is described.
[0058] According to an embodiment, the electronic device 1000 may refer to a device for acquiring at least one frame of a subject. For convenience of explanation, the at least one frame of a subject may be represented as an image or a photo.
[0059] According to an embodiment, a subject may refer to an object to be photographed. The subject may be a moving object (such as a person, an animal, an insect, or a vehicle), an immovable object (such as a building, a statue, a picture, or a rock), a plant (such as a tree or a flower), a landscape (such as an ocean, a mountain, or a sunset), or a natural phenomenon (such as a lunar eclipse or a solar eclipse).
[0060] The electronic device 1000 according to the embodiment can be implemented in any of various forms. The examples of the electronic device 1000 described here may include, but are not limited to, digital cameras, smart phones, laptop computers, tablet PCs, e-book terminals, digital broadcast terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), navigation systems, and MP3 players. The electronic device 1000 described here may be a wearable device that can be worn by a user. The wearable device may be at least one of an accessory device (e.g., a watch, a ring, a bracelet, an anklet, a necklace, glasses, or contact lenses), a head-mounted device (HMD), a fabric or clothing integrated device (e.g., electronic clothing), a body-attachable device (e.g., a skin pad), and a bio-implantable device (e.g., an implantable circuit). In the following, for ease of description, the following content will be described assuming that the electronic device 1000 is a digital camera or a smart phone equipped with a camera.
[0061] According to an embodiment, a user of the electronic device 1000 can take a photo of a subject by using the electronic device 1000. In this case, the user of the electronic device 1000 can determine a shooting composition, adjust a shooting setting value, or adjust a posture of the subject to take a beautiful photo. However, it is difficult for an ordinary user who is not familiar with shooting to take a beautiful photo like a professional photographer.
[0062] Therefore, according to an embodiment, the electronic device 1000 can provide recommendation information related to shooting so that ordinary users can take beautiful photos. For example, the electronic device 1000 can provide the user with at least one of recommendation information related to shooting composition, recommendation information related to shooting setting values, and recommendation information related to the posture of the subject (but not limited thereto).
[0063] Now refer to Figure 2 An operation of the electronic device 1000 to provide recommendation information related to photographing (eg, recommendation of a photographing composition) by using a subject and surrounding environment information of the subject is described in detail.
[0064] Figure 2 is a flowchart for describing a method in which the electronic device 1000 provides recommendation information related to photographing according to an embodiment of the present disclosure.
[0065] In operation S210, the electronic device 1000 may recognize a subject included in a preview image recognized by the first camera. The preview image may be an image that a user may preview through a viewfinder or a screen before shooting.
[0066] According to an embodiment, the electronic device 1000 may recognize a subject included in the preview image by analyzing the preview image. In this case, according to an embodiment, the electronic device 1000 may recognize a subject included in the preview image by using a learning network model of an artificial intelligence (AI) system.
[0067] According to an embodiment, the electronic device 1000 may determine the type of the subject included in the preview image. For example, the electronic device 1000 may determine whether the subject is a person, an animal, a landscape, a natural object, or food.
[0068] According to an embodiment, the electronic device 1000 may determine the number of subjects. For example, when the subject is a person, the electronic device 1000 may determine whether the person included in the preview image is a person or a group. In addition, when the subject is a group, the electronic device 1000 may determine how many people are included in the group.
[0069] According to an embodiment, the electronic device 1000 may determine the main subject by using focus information or information about the ratio of the space occupied by the subject. For example, when a field, a person, and a tree are included in the preview image, the electronic device 1000 may determine the person as the main subject based on the ratio of the space occupied by the person and the tree on the preview image, or may determine the tree as the main subject. In addition, the electronic device 1000 may determine a focused person among the people included in the preview image as the main subject.
[0070] According to an embodiment, the electronic device 1000 may determine the main subject according to the user input. For example, the electronic device 1000 may determine the subject selected by the user as the object of interest as the main subject.
[0071] According to an embodiment, the electronic device 1000 may identify a subject included in a preview image through a server. For example, when information about a preview image (e.g., a preview image or feature information extracted from the preview image) is sent to a server, the electronic device 1000 may request the server to identify a subject included in the preview image. In this case, the server may identify a subject included in the preview image by analyzing the information about the preview image using a learning network model. The server may send identification information of the subject (e.g., the type of subject, the number of subjects, and the main subject) to the electronic device 1000.
[0072] In operation S220 , the electronic device 1000 may acquire surrounding environment information of the recognized subject.
[0073] According to an embodiment, the surrounding environment information of the subject may include at least one of information related to light, information related to a location, information related to time, and information related to weather.
[0074] According to an embodiment, the electronic device 1000 may acquire information related to the light around the subject as the surrounding environment information of the subject. For example, the information related to the light around the subject may include, but is not limited to, the type of light (e.g., natural light, direct light, diffuse light, artificial light, front light, side light, or back light), scattering of light, direction of light, intensity of light, position of the sun, illumination, auxiliary light (flash) (e.g., internal flash of the camera, external flash, ring flash, or reflector), location information (e.g., global positioning system (GPS) coordinates, region, or country), whether the location is indoors (e.g., a general home, office, banquet hall, performance hall, or exhibition) or outdoors (e.g., forest, beach, sea, or fireworks), time (e.g., noon, sunrise and sunset, backlight, after sunset, or late at night), weather (e.g., rainy day, snowy day, or winter snow scene (after the snow stops)), and season.
[0075] According to an embodiment, the electronic device 1000 may obtain information related to the light around the subject by using the current position of the electronic device 1000 and the current position of the sun. For example, the electronic device 1000 may identify the current position by using a position sensor (e.g., GPS), and may identify the position (e.g., direction or altitude) of the sun by using current time information. In this case, the position of the sun may be an absolute position of the sun, or may be a relative position to the electronic device 1000 or the subject. For example, the electronic device 1000 may identify that the sun is located at a low altitude in the northeast direction from the subject.
[0076] According to an embodiment, the electronic device 1000 may obtain the surrounding environment information of the subject (e.g., information about the light around the identified subject) by analyzing the preview image. In this case, according to an embodiment, the electronic device 1000 may obtain the surrounding environment information of the subject from the preview image by using a learning network model (e.g., an AI model) of an Al system. For example, the electronic device 1000 may determine whether it is day or night by analyzing the light and shadow, shadow, or sun included in the preview image, or may determine the direction of the light, the intensity of the light, or the position of the sun. In addition, the electronic device 1000 may determine whether the season is spring, summer, autumn, or winter by analyzing the subject included in the preview image, or may determine whether the location is indoors or outdoors. For example, the electronic device 1000 may determine that the season is summer when the subject is wearing a short-sleeved shirt, and may determine that the season is winter when the subject is standing on the snow.
[0077] According to an embodiment, the electronic device 1000 may acquire information related to light emitted from a subject in the preview image by analyzing the preview image. For example, when a night scene is included in the preview image, the electronic device 1000 may identify, but is not limited to: light emitted by a lighting device (e.g., a street lamp or a car lamp) included in the preview image, light emitted by a planet (e.g., the moon, a star, Venus, or the Milky Way), light emitted by a bonfire, or light emitted by firecrackers. The electronic device 1000 may acquire information about the color impression, intensity, and illumination of light emitted by a subject in the preview image.
[0078] According to an embodiment, the electronic device 1000 may obtain surrounding environment information of the subject (e.g., information about light around the identified subject) by using at least one sensor. For example, the electronic device 1000 may obtain information such as the current location of the subject or whether the subject is indoors or outdoors by using a position sensor.
[0079] According to an embodiment, the electronic device 1000 may acquire an illuminance value around the subject. In addition, the electronic device 1000 may determine whether the surroundings of the subject are currently daytime or nighttime by using an illuminance sensor.
[0080] According to an embodiment, the electronic device 1000 may acquire temperature information around the object by using a temperature sensor, and may acquire humidity information around the object by using a humidity sensor.
[0081] According to an embodiment, the electronic device 1000 may acquire surrounding environment information by using multiple image sensors (or multiple cameras). For example, the electronic device 1000 may acquire a first image (e.g., a maximum viewing angle image) having a larger viewing angle than the preview image by using a second camera different from the first camera that acquires the preview image. The electronic device 1000 may acquire surrounding environment information of the subject (e.g., information related to the light surrounding the subject) by analyzing the acquired first image (e.g., the maximum viewing angle image). Since the maximum viewing angle image includes more surrounding information than the preview image, the information acquired by analyzing the maximum viewing angle image may be more accurate than the information acquired by analyzing the preview image. The following will refer to Fig. 9 An operation of the electronic device 1000 to acquire surrounding environment information by using the dual cameras is described in detail.
[0082] In operation S230, the electronic device 1000 may determine a recommended shooting composition by using the information of the recognized subject and the surrounding environment information of the subject. The information of the recognized subject may include but is not limited to at least one of the type of subject, the number of subjects, the main subject, the posture of the subject, and the color of the subject.
[0083] According to an embodiment, the recommended photographing composition may refer to a photographing composition, a photographing area, or a photographing angle recommended by the electronic device 1000 to the user of the electronic device 1000 .
[0084] Shooting composition can refer to the arrangement of the subject (or background) in the picture. Figure 4 , the shooting composition may include, but is not limited to, golden ratio composition / rule of thirds composition 401, perfect diagonal composition 402, diamond composition 403, chessboard composition 404, parallel horizontal composition 405, vertical composition 406, horizontal third composition 407, horizontal and vertical composition 408, inverted triangle composition 409, spiral composition 410, circular composition 411, lightning-shaped composition 412, U-shaped composition 413, center composition 414, C-shaped composition 415, S-shaped composition 416, fan-shaped composition 417, diagonal composition 418, parallel diagonal composition 419, triangle composition 420, horizontal composition 421, cross composition 422, arch composition 423, X-shaped diagonal composition 424, radial composition 425, and bilaterally symmetrical composition 426.
[0085] According to an embodiment, the electronic device 1000 may determine the recommended shooting composition by using an AI model. For example, the electronic device 1000 may determine the recommended shooting composition by using a learning network model (e.g., an AI model) trained based on photos taken by professionals. Figure 3 A learning network model (eg, an AI model) trained based on photos taken by professionals is described in detail.
[0086] According to an embodiment, the electronic device 1000 may determine a recommended shooting composition according to the type of the recognized subject and the number of subjects. For example, when the subject is food and a number of dishes are placed, the electronic device 1000 may determine a first shooting composition suitable for an image in which a number of foods are arranged as a recommended shooting composition, and when the subject is a person, the electronic device 1000 may determine a second shooting composition as a recommended shooting composition.
[0087] According to an embodiment, the electronic device 1000 may determine a recommended photographing composition by using information of the recognized subject and information about light around the subject.
[0088] For example, when the food as the subject is located outdoors, the electronic device may determine the third photographing composition as the recommended photographing composition considering the direction of light, and when the food as the subject is located indoors, the electronic device 1000 may determine the fourth photographing composition as the recommended photographing composition.
[0089] According to an embodiment, the electronic device 1000 may determine a composition in which the sun is not backlit as a recommended photographing composition in consideration of the position of the sun. Alternatively, when the sun is backlit, the electronic device 1000 may determine a composition in which the subject looks best as a recommended photographing composition.
[0090] In addition, the electronic device 1000 can determine a recommended shooting composition for long exposure shooting by using information emitted by the subject or information about light emitted by objects around the subject. For example, considering the direction, intensity, and color impression of the light of the street lamp, the electronic device 1000 can determine an S-shaped composition in which the subject is located on the right as a recommended shooting composition for long exposure shooting. Alternatively, considering the position and brightness of the moon or stars, the electronic device 1000 can determine an exposure in which the land occupies 1 / 3 and the sky occupies 2 / 3 on the preview image as a recommended shooting composition for long exposure shooting.
[0091] According to an embodiment, as a result of obtaining information related to light around a subject by checking it, when it is night and the location is outdoors, a good photo can be obtained by using a long exposure. Therefore, the electronic device 1000 can recommend a shooting setting value for long exposure shooting. Figure 7 A method in which the electronic device 1000 recommends photographing setting values is described in detail.
[0092] According to an embodiment, the electronic device 1000 may determine a recommended photographing composition by using photos taken by professionals. Fig.11 ) and the sun is on the left side of the building, the electronic device 1000 may determine the fifth shooting composition as the recommended shooting composition based on the photos taken when the sun is on the left side of the building among the multiple photos taken by the professional who photographed the building. Alternatively, when the subject is a specific peak (e.g., Mount Everest) and the peak is foggy as a result obtained by analyzing the surrounding environment information, the electronic device 1000 may determine the sixth shooting composition as the recommended shooting composition based on the photos taken on a foggy morning among the photos taken by the professional who photographed the mountain. According to an embodiment, when the subject is a specific beach (e.g., Waikiki Beach) and there is a sunset as a result obtained by analyzing the surrounding environment information, the electronic device 1000 may determine the shooting composition of the professional who well expresses the sunset on the beach as the recommended shooting composition.
[0093] According to an embodiment, when the identified subject is a high-rise building and there are no feature objects around as a result of analysis based on the maximum viewing angle image, the electronic device 1000 may determine the vertical mode as a recommended shooting composition. In addition, when the subject is a number of people and as a result of analysis based on the maximum viewing angle image, the people are standing on a wide lawn outdoors, the electronic device 1000 may determine the horizontal mode as a recommended shooting composition.
[0094] According to an embodiment, when the main subject is a person and there is a projected subject such as a tree or a column on the background as a result obtained by analyzing the preview image, the electronic device 1000 may determine a composition in which the tree or the column does not overlap with the person as a recommended shooting composition. In addition, when the main subject is a person and the beach is the background as a result obtained by analyzing the preview image, the electronic device 1000 may determine a composition in which the horizon of the sea does not pass through the eyes or neck of the person as a recommended shooting composition.
[0095] According to an embodiment, when the main subject is a person, the electronic device 1000 may determine a recommended shooting composition in consideration of the gaze of the person. For example, when the gaze of the person as the subject is on the right, the electronic device 1000 may determine a composition with a space on the right as the recommended shooting composition, and when the gaze of the person is on the left, the electronic device 1000 may determine a composition with a space on the left as the recommended shooting composition.
[0096] According to an embodiment, when photographing a person outdoors, the electronic device 1000 may determine a composition that can be used to photograph a portrait photo in coordination with the background as a recommended photographing composition. For example, the electronic device 1000 may determine a rule of thirds composition as a recommended photographing composition. The rule of thirds composition refers to a composition in which a picture is divided by two virtual horizontal lines and two virtual vertical lines, and a subject is placed along a virtual intersection. When photographing with the rule of thirds composition, a stable photo may be obtained.
[0097] According to an embodiment, the electronic device 1000 may determine a recommended shooting composition in consideration of a shooting area and a shooting angle. For example, when the preview image includes only a portion above the neck of a person, the electronic device 1000 may determine a composition that may include a portion above the chest of a person in the preview image as a recommended shooting composition in consideration of surrounding environment information. In this case, the recommended shooting composition may include information for reducing the zoom magnification (zoom out) from the current magnification and reducing the camera angle.
[0098] According to an embodiment, the electronic device 1000 may send information about the preview image or the surrounding environment information of the subject to the server, and may request the server to recommend a shooting composition. In this case, the server may determine a recommended shooting composition by using the information about the preview image or the surrounding environment information of the subject, and may send information about the determined recommended shooting composition to the electronic device 1000. Fig.16 An operation of the electronic device 1000 interoperating with the server to determine a recommended photographic composition is described in detail.
[0099] In operation S240, the electronic device 1000 may provide information about the determined recommended composition for photography.
[0100] According to an embodiment, the electronic device 1000 may determine the current shooting composition from the preview image. For example, the electronic device 1000 may determine the current shooting composition according to the shape and position of the subject. Alternatively, the electronic device 1000 may detect lines on the preview image and may determine the current shooting composition by using the detected lines.
[0101] According to an embodiment, the electronic device 1000 may compare the recommended photographic composition with the current photographic composition. When, as a result of the comparison, the similarity between the recommended photographic composition and the current photographic composition is less than a threshold value (e.g., 97%), the electronic device 1000 may provide information about the recommended photographic composition. According to an embodiment, when the similarity between the recommended photographic composition and the current photographic composition is equal to or greater than a threshold value (e.g., 97%), the electronic device 1000 may not provide information about the recommended photographic composition.
[0102] According to an embodiment, the electronic device 1000 may provide information about a recommended shooting composition by outputting information for guiding the recommended shooting composition. In this case, the electronic device 1000 may output information for guiding the recommended shooting composition by using, but not limited to, at least one of a video signal, an audio signal, and a vibration signal. For example, the electronic device 1000 may display text or an icon for guiding the recommended shooting composition on the preview image. The electronic device 1000 may output a voice (e.g., "Move the camera slightly to the lower right") to guide the recommended shooting composition.
[0103] According to an embodiment, the electronic device 1000 may determine a plurality of recommended shooting compositions by using information of the subject and information of the surrounding environment of the subject. In this case, the electronic device 1000 may provide thumbnail images respectively corresponding to the plurality of recommended shooting compositions. In addition, the electronic device 1000 may provide preview images respectively corresponding to the plurality of recommended shooting compositions. Fig.18An operation of the electronic device 1000 to provide information on a plurality of recommended photographic compositions is described in detail.
[0104] Figure 3 is a diagram for describing an operation of generating a recommendation model through deep learning according to an embodiment of the present disclosure.
[0105] refer to Figure 3 According to an embodiment, the AI processor included in the server or electronic device 1000 may generate a recommendation model 300 that recommends a shooting composition or derives a shooting setting value by training an artificial neural network. When an artificial neural network is "trained", this may mean that a mathematical model is created that allows the connection of neurons constituting the artificial neural network to make an optimal determination by appropriately changing weights based on data.
[0106] According to an embodiment, the AI processor may acquire the photo image 301 , the photo metadata 302 , and the surrounding environment information 303 , and may generate the recommendation model 300 by using the photo image 301 , the photo metadata 302 , and the surrounding environment information 303 .
[0107] According to an embodiment, the photo image 301 acquired by the AI processor may be many photo images taken by professionals, and may include information about the subject and the shooting composition. According to an embodiment, the photo image 301 may be a still image, or a plurality of frames included in a video.
[0108] According to an embodiment, the photo metadata 302 may include, but is not limited to, camera manufacturer, camera model, lens type, image editor (software), date / time of editing the photo, Exchangeable Image File Format (Exif) version, shooting date / time, actual size of the photo, exposure time (or shutter speed), exposure program, lens focal length, F value of the stop, whether flash is used, and white balance. According to an embodiment, the photo metadata 302 may be ExiF data.
[0109] According to an embodiment, the surrounding environment information 303 may refer to information related to the surrounding environment of the subject included in the photo image 301. For example, the surrounding environment information 303 may include, but is not limited to, the type of light (e.g., natural light, direct light, diffuse light, artificial light, front light, side light, or back light), scattering of light, direction of light, intensity of light, position of the sun, illumination, auxiliary light (flash) (e.g., an internal flash of a camera, an external flash, a ring flash, or a reflective plate), location information (e.g., GPS coordinates, region, or country), whether the location is indoors (e.g., a general home, office, banquet hall, performance hall, or exhibition) or outdoors (e.g., a forest, beach, sea, or fireworks), time (e.g., noon, sunrise and sunset, backlight, after sunset, or late at night), weather (e.g., rainy day, snowy day, or winter snow scene (after the snow stops)), and season.
[0110] According to an embodiment, the AI processor may model a recommended shooting composition or a recommended shooting setting value by recognizing a shooting composition and a subject from a professional's photo image 301 and matching the recognized subject and the recognized shooting composition with corresponding metadata (shooting setting value) and corresponding surrounding environment information. According to an embodiment, as the photo images 301 of professionals, the corresponding metadata, and the corresponding surrounding environment information collected by the AI processor increase, the recommendation model 300 for deriving the optimal shooting composition and the optimal shooting setting value may be modified.
[0111] According to an embodiment, the AI processor may acquire personalized learning data 304. The personalized learning data 304 may be data about the shooting taste of the individual. For example, the personalized learning data 304 may include, but is not limited to, data about the shooting composition (or shooting setting value) preferred by the individual, data about the shooting composition (or shooting setting value) not selected by the individual, data about the shooting composition (or shooting setting value) of the photos deleted by the individual, data about whether to apply the recommended shooting composition (or shooting setting value), and data about the photos finally taken by the individual.
[0112] According to an embodiment, in addition to the photo image 301, the photo metadata 302, and the surrounding environment information 303, the AI processor may also generate a recommendation model 300 for each individual by using the personalized learning data 304. For example, the AI processor may recommend a first shooting composition to a first user and a second shooting composition to a second user under the same surrounding environment of the same subject by using the personalized learning data 304.
[0113] Now refer to Figure 5 and Figure 6 An embodiment in which the electronic device 1000 detects a current photographic composition from a preview image and provides information on a recommended photographic composition by using the recommendation model 300 is described.
[0114] Figure 5 is a view for describing an operation of detecting a current photographing composition according to an embodiment of the present disclosure.
[0115] refer to Figure 5 , the electronic device 1000 may determine the current shooting composition (for convenience of explanation, referred to as "current composition") according to the shape and position of the subject. For example, the electronic device 1000 may detect points or lines related to the subject on the preview image. The electronic device 1000 may determine the current shooting composition by using the detected points or lines.
[0116] refer to Figure 5 510, when the user wants to photograph the Taj Mahal and the surroundings of the Taj Mahal by using the electronic device 1000, the Taj Mahal and the surroundings may be included in the preview image. In this case, the electronic device 1000 may detect a line 1 connecting a column located on the right side of the Taj Mahal, a line 2 connecting a column located on the left side of the Taj Mahal, a line 3 connecting a vertex located at the Taj Mahal and the two columns, and a horizon 4 on the preview image. The electronic device 1000 may determine the Taj Mahal on the preview image as a main subject, and may determine that the current photographing composition is a triangular composition 420 based on the line 3 connecting the vertex of the Taj Mahal and the two columns.
[0117] refer to Figure 5 When determining that the current shooting composition is the triangle composition 420, the electronic device 1000 may determine a virtual center line 500 that bisects the triangle connecting the apex and two columns of the Taj Mahal. The electronic device 1000 may determine a composition in which the virtual center line 500 is located at the center of the preview image as a recommended shooting composition (referred to as a "recommended composition" for ease of explanation). Figure 6 Describes in detail the recommended shooting compositions.
[0118] Figure 6 is a view for describing a recommended photographing composition according to an embodiment of the present disclosure.
[0119] refer to Figure 6 600-1, the electronic device 1000 may detect a current photographing composition on the preview image 600 including the Taj Mahal. The electronic device 1000 may recognize a subject included in the preview image 600, and may determine a current photographing composition based on the recognized subject.
[0120] According to an embodiment, the electronic device 1000 may determine a recommended shooting composition by using a recommendation model 300 trained based on a plurality of photos. The electronic device 1000 may determine a recommended shooting composition in consideration of information of a subject (e.g., the Taj Mahal) and surrounding environment information (e.g., the height of the sun, the season, the weather, or whether the location is outdoors). For example, since the subject is the Taj Mahal, the electronic device 1000 may determine the entire composition as a triangular composition, and may determine a composition in which the central axis 601 of the current shooting composition is moved to the central axis 602 of the preview image 600 as a recommended shooting composition.
[0121] According to an embodiment, the electronic device 1000 may provide information for guiding a recommended shooting composition by displaying a line 610 indicating a current shooting composition and a line 620 indicating a recommended shooting composition on the preview image 600. The user may compare the current shooting composition with the recommended shooting composition, and then may slowly move the camera to the left to take a photo of the recommended shooting composition. In this case, the line 610 indicating the current composition on the preview image 600 may be close to the line 620 indicating the recommended shooting composition.
[0122] refer to Figure 6 600-2, when the user slowly moves the camera to the left and the line 610 indicating the current shooting composition and the line 620 indicating the recommended shooting composition overlap each other (for example, as shown in the preview image 630), the user can select the shooting button. In this case, the electronic device 1000 can obtain a photo image of the Taj Mahal according to the recommended shooting composition in response to the user input of selecting the shooting button.
[0123] According to an embodiment, when the line 610 indicating the current photographing composition and the line 620 indicating the recommended photographing composition overlap each other, the electronic device 1000 may automatically perform photographing.
[0124] Despite Figure 6 In the example, the electronic device 1000 may display lines indicating the current shooting composition and the recommended shooting composition so that the electronic device 1000 guides the recommended shooting composition, but the present disclosure is not limited thereto. For example, the indicator indicating the current shooting composition and the recommended shooting composition may be represented as any one of various shapes other than lines. In addition, the electronic device 1000 may guide the recommended shooting composition by using a voice signal.
[0125] Figure 7 is a flowchart for describing a method of recommending or automatically applying photographing setting values according to an embodiment of the present disclosure.
[0126] In operation S710, the electronic device 1000 may identify a subject included in the preview image. For example, the electronic device 1000 may identify a subject included in the preview image by analyzing the preview image. In this case, according to an embodiment, the electronic device 1000 may identify a subject included in the preview image by using a learning network model of an AI system. Operation S710 corresponds to Figure 2 Operation S210 is described below, and thus a detailed description thereof will not be given.
[0127] In operation S720 , the electronic device 1000 may acquire surrounding environment information of the subject.
[0128] According to an embodiment, the electronic device 1000 may acquire the surrounding environment information of the subject by analyzing the preview image. In this case, according to an embodiment, the electronic device 1000 may acquire the surrounding environment information of the subject from the preview image by using a learning network model of an AI system.
[0129] According to an embodiment, the electronic device 1000 can obtain the surrounding environment information of the subject by using at least one sensor. For example, the electronic device 1000 can obtain information about the current position of the subject or whether the subject is located indoors or outdoors by using a position sensor. The electronic device 1000 can obtain the illuminance value around the subject by using an illuminance sensor. In addition, the electronic device 1000 can determine whether it is daytime or nighttime around the subject by using an illuminance sensor. The electronic device 1000 can obtain temperature information around the subject by using a temperature sensor, and can obtain humidity information around the subject by using a humidity sensor. The electronic device 1000 can obtain surrounding environment information by using multiple image sensors (or multiple cameras).
[0130] Operation S720 corresponds to Figure 2 Operation S220 is described below, and thus a detailed description thereof will not be given.
[0131] In operation S730, the electronic device 1000 may recommend or automatically apply photographing setting values based on the subject information and the surrounding environment information of the subject. According to an embodiment, the photographing setting values may include but are not limited to the F value of the aperture, shutter speed, ISO sensitivity, white balance, and exposure value.
[0132] Figure 8 is a view for describing photographing setting values according to an embodiment of the present disclosure.
[0133] refer to Figure 8, the aperture 810 refers to the size of the aperture of the lens through which light passes. When the aperture 810 is closed (right) to increase the depth, a photo in which the near and far parts are focused is output, and when the aperture 810 is opened (left) to reduce the depth, a photo in which the subject and the background are separated from each other (called out-focusing) is output. When the shutter speed 820 is increased (left), a photo in which a fast-moving object appears frozen is output, and when the shutter speed 820 is decreased (right), a blurred photo is output. When the ISO sensitivity 830 is decreased (left), a photo with little noise is output. When the ISO sensitivity 830 is increased (right), the noise increases and a photo without shaking can be taken even in a dark environment.
[0134] As ISO sensitivity 830 decreases (left), contrast increases. In contrast, as ISO sensitivity 830 increases, a soft photo is taken by reducing contrast. Film grains at low ISO sensitivity 830 are thin and result in sharp photos. Film grains at high ISO sensitivity 830 are thick and result in rough photos.
[0135] According to an embodiment, the electronic device 1000 may determine a recommended shooting setting value based on information of the subject and information of the surrounding environment of the subject. For example, when shooting a subject outdoors in the daytime with bright sunlight, the electronic device 1000 may determine the shutter speed to be 1 / 4000 seconds. When shooting a subject indoors, the electronic device 1000 may determine the shutter speed to be 1 / 60 seconds. When shooting stars in the dark night, the electronic device 1000 may determine the shutter speed to be 10 seconds or longer. According to an embodiment, when shooting a subject indoors, the electronic device 1000 may determine the shooting setting value according to the color of the subject. For example, when the subject is a black device, the electronic device 1000 may determine the F value of the diaphragm to be 4.0 and may determine the shutter speed to be 1 / 30 seconds. In contrast, when the subject is a white device, the electronic device 1000 may determine the F value of the diaphragm to be 4.0 like a black device, and may determine the shutter speed to be 1 / 100 seconds.
[0136] According to an embodiment, the electronic device 1000 may recommend a plurality of shooting setting value sets based on information of the subject and information of the surrounding environment of the subject. For example, the electronic device 1000 may recommend a first shooting setting value set (e.g., ISO: 12800, aperture: 1.4, and shutter speed: 1), a second shooting setting value set (e.g., ISO: 6400, aperture: 2.8, and shutter speed: 1 / 2), a third shooting setting value set (e.g., ISO: 3200, aperture: 5.6, and shutter speed: 1 / 4), a fourth shooting setting value set (e.g., ISO: 1600, aperture: 8, and shutter speed: 1 / 8), and a fifth shooting setting value set (e.g., ISO: 400, aperture: 16, and shutter speed: 1 / 60).
[0137] According to an embodiment, the electronic apparatus 1000 may receive a user input of selecting one photographing setting value set from a plurality of photographing setting value sets. The electronic apparatus 1000 may apply the photographing setting value set selected by the user to the photographing system.
[0138] According to an embodiment, the electronic device 1000 may recommend a plurality of shooting setting value sets in which the values of the aperture 810, the shutter speed 820, and the ISO sensitivity 830 are different, but the amount of light is the same by combination. For example, the electronic device 1000 may recommend a sixth shooting setting value set (e.g., ISO: 200, aperture: 2.8, and shutter speed: 1 / 2) and a seventh shooting setting value set (e.g., ISO: 400, aperture: 8, and shutter speed: 1) according to information of the subject and information of the surrounding environment of the subject. The sixth shooting setting value set and the seventh shooting setting value set theoretically have the same amount of light. However, since the values of the aperture 810, the shutter speed 820, and the ISO sensitivity 830 are different from each other, the sixth shooting setting value set may more effectively shoot a moving subject and may have a lower depth than the seventh shooting setting value set. In contrast, the seventh shooting setting value set may have more noise and a higher depth, and may be more affected by hand shaking than the sixth shooting setting value set due to a low shutter speed. The user may compare the sixth photographing setting value set with the seventh photographing setting value set, and may select one of the sixth photographing setting value set and the seventh photographing setting value set according to the type of a desired photo.
[0139] According to an embodiment, when a shooting composition is selected by movement of the camera, the electronic device 1000 may shoot a plurality of photos by applying a plurality of shooting conditions and may provide a plurality of photos. For example, the electronic device 1000 may shoot a plurality of photos by applying a first shooting setting value set (e.g., ISO: 12800, aperture: 1.4, and shutter speed: 1), a second shooting setting value set (e.g., ISO: 6400, aperture: 2.8, and shutter speed: 1 / 2), a third shooting setting value set (e.g., ISO: 3200, aperture: 5.6, and shutter speed: 1 / 4), a fourth shooting setting value set (e.g., ISO: 1600, aperture: 8, and shutter speed: 1 / 8), and a fifth shooting setting value set (e.g., ISO: 400, aperture: 16, and shutter speed: 1 / 60), and may provide a plurality of photos to the user.
[0140] The user can select at least one of the plurality of photos and can store or delete the selected photo. In this case, the AI processor of the electronic device 1000 (or the AI processor of the server) can refine the recommendation model 300 by learning the shooting setting value information corresponding to the shooting setting value information of the stored photo or the shooting setting value information of the deleted photo.
[0141] Fig. 9 is a flowchart for describing a method of providing information about a recommended photographing composition by using an image having a viewing angle greater than a preview image according to an embodiment of the present disclosure.
[0142] In operation S910, the electronic device 1000 may acquire a preview image by using the first camera, and may acquire an image having a viewing angle greater than the preview image by using the second camera.
[0143] Fig.10 is a view for describing the use of a dual camera according to an embodiment of the present disclosure.
[0144] According to an embodiment, the electronic device 1000 may include a dual camera. Fig.10 1010, the first camera 1001 may be a general camera, and the second camera 1002 may be a telephoto camera. In this case, the electronic device 1000 may obtain a preview image by using a standard lens of the general camera, and may obtain an image having a viewing angle greater than the preview image by zooming out the telephoto lens of the telephoto camera.
[0145] A standard lens is a lens that reproduces the camera's perspective similar to that of a human. A lens with a focal length of 50 mm based on a 35 mm film camera is called a standard lens. Since the perspective of a standard lens is generally the same as that of a human, it is possible to take natural photos by using a standard lens.
[0146] A telephoto lens may refer to a lens having a focal length greater than a standard lens. Since the focal length of the telephoto lens is greater than that of the standard lens, the viewing angle may be smaller than that of the standard lens. Therefore, the electronic device 1000 may obtain an image having a viewing angle greater than that of a preview image obtained by the standard lens by zooming out the telephoto lens.
[0147] refer to Fig.10 1020, the first camera 1001 may be a general camera, and the second camera 1002 may be a wide-angle camera. In this case, the electronic device 1000 may obtain a preview image by using a standard lens of the general camera, and may obtain an image having a viewing angle greater than the preview image by using a wide-angle lens of the wide-angle camera. A wide-angle lens may refer to a lens having a focal length smaller than a standard lens. Since the focal length of the wide-angle lens is smaller than the focal length of the standard lens, the viewing angle may be greater than that of the standard lens. Therefore, the electronic device 1000 may obtain an image having a viewing angle greater than the preview image obtained by the standard lens by using the wide-angle lens.
[0148] refer to Fig.10 1030, the first camera 1001 and the second camera 1002 may be general cameras. In this case, the electronic device 1000 may obtain a preview image by using a standard lens of the first camera 1001, and may obtain a panoramic image having a viewing angle greater than the preview image by stitching the images obtained by the first camera 1001 and the second camera 1002.
[0149] According to an embodiment, the image having a viewing angle greater than the preview image may be an image having a maximum viewing angle (hereinafter, referred to as a maximum viewing angle image) that can be acquired by the electronic device 1000. For ease of explanation, the following content will be described assuming that the image having a viewing angle greater than the preview image is the maximum viewing angle image.
[0150] In operation S920, the electronic device 1000 may acquire surrounding environment information of the subject by using an image having a viewing angle greater than the preview image.
[0151] According to an embodiment, the electronic device 1000 may acquire the surrounding environment information of the subject by analyzing the maximum viewing angle image. In this case, according to an embodiment, the electronic device 1000 may acquire the surrounding environment information of the subject from the maximum viewing angle image by using a learning network model of an AI system.
[0152] For example, the electronic device 1000 can determine whether it is day or night, the direction of light or the intensity of light, and the position of the sun by analyzing the light and shadow, shadow, or sun included in the maximum viewing angle image. In addition, by analyzing the subject included in the maximum viewing angle image, the electronic device 1000 can determine whether the season is spring, summer, autumn, or winter, or can determine whether the location is indoors or outdoors. For example, the electronic device 1000 can determine that the season is summer when the subject is wearing a short-sleeved shirt, and can determine that the season is winter when the subject is standing on snow. The electronic device 1000 can determine the entire color temperature by analyzing the maximum viewing angle image.
[0153] In operation S930, the electronic device 1000 may provide information on a recommended photographing composition by using information of a subject and surrounding environment information.
[0154] According to an embodiment, the electronic device 1000 may determine the current shooting composition by using a preview image. The electronic device 1000 may determine a recommended shooting composition based on information of the subject and information about the surrounding environment of the subject. In this case, when the similarity between the current shooting composition and the recommended shooting composition is less than a threshold value, the electronic device 1000 may provide information about the recommended shooting composition.
[0155] According to an embodiment, the electronic device 1000 may provide information about a recommended shooting composition by outputting information for guiding the recommended shooting composition. In this case, the electronic device 1000 may output information for guiding the recommended shooting composition by using, but not limited to, at least one of a video signal, an audio signal, and a vibration signal. For example, the electronic device 1000 may output a voice for guiding the recommended shooting composition. In addition, the electronic device 1000 may display a graphic indicator for guiding the recommended shooting composition on an image having a viewing angle greater than the preview image (e.g., a maximum viewing angle image).
[0156] Operation S930 corresponds to Figure 2 Operations S230 and S240 are described in detail, and therefore no detailed description thereof will be given. Figures 11 to 13 An operation of the electronic device 1000 providing information for guiding a recommended composition for photography by using a maximum viewing angle image is described in detail.
[0157] Fig.11 is a view for describing an operation of guiding photographing by using a maximum viewing angle image according to an embodiment of the present disclosure.
[0158] refer to Fig.11 , the electronic device 1000 can obtain the preview image by using a standard lens. In this case, the current shooting area 1101 shown in the preview image can be the right area of the Taj Mahal.
[0159] The electronic device 1000 may acquire the maximum viewing angle image 1102 by using a wide-angle lens, a telephoto lens, or two standard lenses. The maximum viewing angle image 1102 may include an image of the surroundings of the current photographing area 1101.
[0160] The electronic device 1000 may determine a recommended shooting composition by analyzing the maximum viewing angle image 1102. For example, the electronic device 1000 may determine the recommended shooting composition as a triangular composition based on information of the subject (e.g., Taj Mahal) and surrounding environment information (e.g., noon and outdoors), and may determine the recommended shooting area 1103 as an area in which the Taj Mahal is located in the center. In this case, according to an embodiment, the preview image (e.g., information about the current shooting area 1101) and the maximum viewing angle image 1102 may be input to the recommendation model 300, and the optimal shooting composition (e.g., information about the recommended shooting area 1103) may be output from the recommendation model 300.
[0161] The electronic device 1000 may output information 1104 for guiding shooting. For example, the electronic device 1000 may output a voice message (eg, “move left, zoom out”) to obtain a photo corresponding to the recommended shooting area 1103 instead of the current shooting area 1101.
[0162] The electronic device 1000 may graphically display information 1104 for guiding shooting instead of a voice message. Fig.12 and Fig.13 An operation of the electronic device 1000 graphically displaying the information 1104 for guiding photographing is described.
[0163] Fig.12 and Fig.13 is a view for describing an operation of displaying information for guiding a recommended photographing composition on a maximum viewing angle image according to various embodiments of the present disclosure.
[0164] refer to Fig.12 In 1200-1, the electronic device 1000 may display a preview image 1210 of an area currently photographed by the first camera (hereinafter, referred to as a current photographing area). In addition, the electronic device 1000 may determine a recommended photographing area by analyzing a maximum viewing angle image acquired by the second camera.
[0165] refer to Fig.121200-2, the electronic device 1000 may provide information about the recommended shooting area by using the maximum viewing angle image. For example, the electronic device 1000 may display the maximum viewing angle image 1202 on the screen. The electronic device 1000 may display a first indicator 1201 indicating the current shooting area and a second indicator 1203 indicating the recommended shooting area on the maximum viewing angle image 1202. According to an embodiment, a preview image 1210 of the current shooting area may be displayed as a thumbnail image 1204.
[0166] refer to Fig.13 1300-1, the user can move the electronic device 1000 while viewing the screen of the electronic device 1000 so that the first indicator 1201 indicating the current shooting area can approach the second indicator 1203 indicating the recommended shooting area, and the zoom magnification can be adjusted. When the electronic device 1000 moves and the zoom magnification is adjusted, the position of the first indicator 1201 indicating the current shooting area on the maximum viewing angle image 1202 can be changed. In addition, as the current shooting area is changed, the thumbnail image 1204 can also be changed.
[0167] refer to Fig.13 1300-2, when the first indicator 1201 indicating the current shooting area is the same as the second indicator 1203 indicating the recommended shooting area, the electronic device 1000 may no longer display the maximum viewing angle image 1202, and may display a preview image 1301 of the current shooting area that is the same as the recommended shooting area on the entire screen. The user may check the preview image 1301 and may select a shooting button. In this case, the electronic device 1000 may acquire a photo of the recommended shooting area.
[0168] According to another embodiment, when the first indicator 1201 indicating the current photographing area is identical to the second indicator 1203 indicating the recommended photographing area, the electronic device 1000 may automatically perform photographing.
[0169] Despite Fig.12 and Fig.13 The electronic device 1000 displays information for guiding the recommended shooting composition on the maximum viewing angle image 1202, but the present disclosure is not limited thereto. The electronic device 1000 may display information for guiding the recommended shooting composition in any of various ways. Fig.14 and Fig.15 An operation of the electronic device 1000 displaying information for guiding a recommended composition for photographing is described.
[0170] Fig.14 and Fig.152 is a view for describing an operation of the electronic device 1000 displaying information about a recommended photographing composition according to various embodiments of the present disclosure.
[0171] refer to Fig.14 , the electronic device 1000 may obtain a preview image 1401 and surrounding environment information 1402 of the subject included in the preview image 1401. In this case, the electronic device 1000 may determine a recommended shooting composition by using the recommendation model 300. For example, when the subject is a couple, the shooting location is outdoors, and the shooting time is noon, the electronic device 1000 may determine a composition in which the center 1410 of the couple is located at the lower left intersection 1420 of the rule of thirds composition as the recommended shooting composition.
[0172] In this case, the electronic device 1000 may display a graphic indicator 1403 for guiding a recommended photographing composition on the preview image 1401. For example, the electronic device 1000 may display a rightward arrow on the preview image 1401 together with text telling the photographer to "move right".
[0173] refer to Fig.15 , when the subject is a person, the electronic device 1000 may provide guidance to the photographer for moving the photographer, and may provide guidance for moving the subject. The following will be described assuming that the electronic device 1000 determines that the composition in which the center 1520 of the couple is located at the first intersection 1521 as the lower left intersection of the rule of thirds composition is a recommended shooting composition.
[0174] refer to Fig.15 1500-1, the electronic device 1000 may provide the photographer with a guide for moving the photographer together with the electronic device 1000 to the right by using the camera icon 1501 so that the center 1520 of the couple (for example, shown in the preview image 1510) is located at the first intersection 1521. For example, the electronic device 1000 may display a white camera icon corresponding to the current shooting composition, may display a black camera icon corresponding to the recommended shooting composition, and then may display an arrow between the white camera icon and the black camera icon.
[0175] refer to Fig.15 1500-2, the electronic device 1000 may provide guidance for moving the subject to the left by using the person icon 1502 so that the center 1520 of the couple is located at the first intersection 1521. For example, the electronic device 1000 may display a white person icon corresponding to the current shooting composition, may display a black person icon corresponding to the recommended shooting composition, and may then display an arrow between the white person icon and the black person icon.
[0176] Fig.16 2 is a flowchart for describing a method in which the electronic device 1000 interoperates with the server 2000 to provide information on a recommended photographic composition according to an embodiment of the present disclosure.
[0177] In operation S1610, the electronic device 1000 may execute an AI-assisted application. The AI-assisted application may understand all input methods, such as a user's voice and touch, as well as a camera, and may provide various services. For example, an AI-assisted application (e.g., Samsung's Bixby) may recognize objects, images, texts, barcodes, etc. input to a camera, and may provide information about a recommended shooting composition.
[0178] refer to Fig.17 , the electronic device 1000 can execute AI-assisted applications in response to various user inputs. For example, referring to Fig.17 1700-1, the electronic device 1000 may display an image 1701 for executing an AI assisted application on a preview image 1710. When a user selects (eg, touches) the image 1701, the electronic device 1000 may execute the AI assisted application.
[0179] refer to Fig.17 In 1700 - 2 , the electronic device 1000 may receive a user's voice input (eg, “Bixby! Take a photo”) 1702 . In this case, the electronic device 1000 may execute an AI-assisted application according to the user's voice input 1702 .
[0180] refer to Fig.17 In 1700-3, the electronic device 1000 may receive an input of selecting a specific hardware button 1703 for requesting execution of an AI-assisted application. When receiving the input of selecting the specific hardware button 1703, the electronic device 1000 may execute the AI-assisted application.
[0181] Return to reference Fig.16 , in operation S1620, the electronic device 1000 may obtain information about the preview image and surrounding environment information of the subject through the AI assisted application.
[0182] According to an embodiment, the information about the preview image may be the preview image itself, or may be feature information obtained from the preview image. According to an embodiment, the AI-assisted application may extract feature information from the preview image by using a learning network model. For example, the feature information obtained from the preview image may include, but is not limited to, the current shooting composition of the preview image, the type of subject, and the position of the subject.
[0183] According to an embodiment, the AI assisted application can obtain the surrounding environment information of the subject by analyzing the preview image. In this case, according to an embodiment, the AI assisted application can obtain the surrounding environment information of the subject from the preview image by using a learning network model.
[0184] According to an embodiment, the AI assisted application can obtain the surrounding environment information of the subject by using at least one sensor. For example, the AI assisted application can obtain information about the current position of the subject and whether the subject is located indoors or outdoors by using a position sensor. The AI assisted application can obtain the illuminance value around the subject by using an illuminance sensor. In addition, the AI assisted application can determine whether it is day or night around the subject by using an illuminance sensor. The AI assisted application can obtain temperature information around the subject by using a temperature sensor, and can obtain humidity information around the subject by using a humidity sensor. The AI assisted application can obtain surrounding environment information by using multiple image sensors (or multiple cameras).
[0185] In operation S1630, the electronic device 1000 may transmit information about the preview image and surrounding environment information of the subject to the server 2000. For example, the AI assisted application may transmit information about the preview image and surrounding environment information of the subject to the server 2000 through wired / wireless communication.
[0186] In operation S1640, the server 2000 may determine a recommended shooting composition based on information about the preview image and surrounding environment information of the subject. According to an embodiment, the server 2000 may determine the recommended shooting composition by using a learning network model (eg, the recommendation model 300) trained based on photos taken by professionals.
[0187] According to an embodiment, the server 2000 may determine a recommended shooting composition based on information of the subject (e.g., the type of the identified subject and the number of subjects) and surrounding environment information (e.g., whether the shooting location is indoors or outdoors, the direction of light, the intensity of light, or the color temperature). For example, when the subject is a number of people and there is an outdoor sunset as a result obtained by analyzing the information of the subject and the surrounding environment information, the server 2000 may determine a composition that clearly displays a number of people on the screen when there is an outdoor sunset as a recommended shooting composition.
[0188] According to an embodiment, when the recognized subject is a high-rise building and there are no characteristic subjects around as a result of analysis based on the maximum viewing angle image, the server 2000 may determine the vertical mode as the recommended shooting composition. In addition, when the subject is several people and they are standing on a wide lawn outdoors as a result of analysis based on the maximum viewing angle image, the server 2000 may determine the horizontal mode as the recommended shooting composition.
[0189] According to an embodiment, the server 2000 may determine a recommended photographing composition in consideration of a photographing area and a photographing angle. Therefore, the server 2000 may determine a recommended photographing area and a recommended photographing angle.
[0190] The method in which the server 2000 determines a recommended photographing composition based on the subject information and the surrounding environment information may correspond to the method in which the electronic device 1000 determines a recommended photographing composition based on the subject information and the surrounding environment information, and thus a detailed description thereof will not be given.
[0191] In operation S1650, the server 2000 may transmit information about the recommended photographic composition to the electronic device 1000. For example, the server 2000 may transmit the recommended photographic area, the recommended photographic angle, and the recommended photographic composition to the electronic device 1000 through wired / wireless communication. According to an embodiment, the electronic device 1000 may receive the information about the recommended photographic composition from the server 2000 through an AI assisted application.
[0192] In operation S1660, the electronic device 1000 may provide information about a recommended photographic composition through an AI assisted application.
[0193] According to an embodiment, the electronic device 1000 may determine the current photographing composition by using the preview image. In this case, when the similarity between the current photographing composition and the recommended photographing composition is less than a threshold value, the electronic device 1000 may provide information about the recommended photographing composition.
[0194] According to an embodiment, the electronic device 1000 may provide information about a recommended shooting composition by outputting information for guiding the recommended shooting composition. In this case, the electronic device 1000 may output information for guiding the recommended shooting composition by using, but not limited to, at least one of a video signal, an audio signal, and a vibration signal. For example, the electronic device 1000 may output a voice for guiding the recommended shooting composition. In addition, the electronic device 1000 may display a graphic indicator for guiding the recommended shooting composition on an image having a viewing angle greater than the preview image (e.g., a maximum viewing angle image).
[0195] Despite Fig.16The server 2000 determines the recommended shooting composition based on the information of the subject and the surrounding environment information of the subject, but the present disclosure is not limited thereto. According to an embodiment, the server 2000 may determine the recommended shooting setting value based on the information of the subject and the surrounding environment information of the subject, and may send information about the recommended shooting setting value to the electronic device 1000.
[0196] Can be omitted Fig.16 For example, the electronic device 1000 may send only information about the preview image, but not the surrounding environment information of the subject, to the server 2000. In this case, the server 2000 may directly acquire the surrounding environment information of the subject based on the information about the preview image.
[0197] Fig.18 is a flowchart for describing a method of providing information on a plurality of recommended photographing compositions according to an embodiment of the present disclosure.
[0198] In operation S1810, the electronic device 1000 may identify a subject included in the preview image. For example, the electronic device 1000 may identify a subject included in the preview image by analyzing the preview image. In this case, according to an embodiment, the electronic device 1000 may identify a subject included in the preview image by using a learning network model (e.g., an AI model) of an AI system. Operation S1810 corresponds to Figure 2 Operation S210 is described below, and thus a detailed description thereof will not be given.
[0199] In operation S1820, the electronic device 1000 may acquire surrounding environment information of the subject. For example, the electronic device 1000 may acquire information related to light around the subject as the surrounding environment information.
[0200] According to an embodiment, the electronic device 1000 may acquire the surrounding environment information of the subject by analyzing the preview image. In this case, according to an embodiment, the electronic device 1000 may acquire the surrounding environment information of the subject from the preview image by using a learning network model of an AI system.
[0201] According to an embodiment, the electronic device 1000 may obtain surrounding environment information of the subject by using at least one sensor. For example, the electronic device 1000 may obtain information about the current position of the subject and whether the subject is located indoors or outdoors by using a position sensor. The electronic device 1000 may obtain the illuminance value around the subject by using an illuminance sensor. In addition, the electronic device 1000 may determine whether it is currently daytime or nighttime around the subject by using the illuminance sensor. The electronic device 1000 may obtain temperature information around the subject by using a temperature sensor, and may obtain humidity information around the subject by using a humidity sensor. The electronic device 1000 may obtain surrounding environment information by using multiple image sensors (or multiple cameras). Operation S1820 corresponds to Figure 2 Operation S220 is described below, and thus a detailed description thereof will not be given.
[0202] In operation S1830, the electronic device 1000 may determine a plurality of recommended shooting compositions by using information of the subject and surrounding environment information of the subject. According to an embodiment, the electronic device 1000 may determine a plurality of recommended shooting compositions by using a learning network model (eg, recommendation model 300) trained based on photos taken by professionals.
[0203] According to an embodiment, the server 2000 can determine multiple recommended shooting compositions based on the information of the subject (e.g., the type of identified subjects and the number of subjects) and the surrounding environment information (e.g., whether the shooting location is outdoors or indoors, the direction of light, the intensity and color temperature of light).
[0204] In operation S1840, the electronic device 1000 may provide information about a plurality of recommended photographing compositions.
[0205] According to an embodiment, the electronic device 1000 may provide information about multiple recommended shooting compositions by outputting information for guiding multiple recommended shooting compositions. In this case, the electronic device 1000 may output information for guiding multiple recommended shooting compositions by using but not limited to at least one of a video signal, an audio signal, and a vibration signal. For example, the electronic device 1000 may output a voice for guiding multiple recommended shooting compositions. In addition, the electronic device 1000 may display multiple graphic indicators for guiding multiple recommended shooting compositions on a preview image. The electronic device 1000 may display multiple graphic indicators (e.g., frame images) for guiding multiple recommended shooting compositions on an image (e.g., a maximum viewing angle image) having a viewing angle greater than the preview image.
[0206] According to an embodiment, the electronic device 1000 may display thumbnail images respectively corresponding to a plurality of recommended photographing compositions on one screen. According to another embodiment, the electronic device 1000 may display preview images respectively corresponding to a plurality of recommended photographing compositions on different pages.
[0207] In operation S1850, the electronic device 1000 may receive a user input selecting one of a plurality of recommended photographing compositions. According to an embodiment, the electronic device 1000 may acquire a photo image corresponding to the recommended photographing composition selected by the user.
[0208] For example, the electronic device 1000 may receive an input that matches a first indicator corresponding to the current shooting composition with a second indicator corresponding to a second recommended shooting composition among multiple recommended shooting compositions. In this case, the electronic device 1000 may start shooting and may acquire a photo image corresponding to the second recommended shooting composition.
[0209] According to an embodiment, the electronic device 1000 may acquire a photo image corresponding to a recommended photographic composition selected by a user. Figures 19 to 21 An operation of the electronic device 1000 to provide information on a plurality of recommended photographic compositions is described.
[0210] Fig.19 , Fig. 20 and Fig.21 2 is a view for describing an operation of the electronic device 1000 displaying information about a plurality of recommended photographing compositions according to various embodiments of the present disclosure.
[0211] refer to Fig.19 , the electronic device 1000 may determine a plurality of recommended photographing compositions, and may display a graphic indicator for guiding the plurality of recommended photographing compositions on the preview image.
[0212] According to an embodiment, the electronic device 1000 may display a preview image acquired by the first camera on the screen. In this case, the preview image may include a couple as subjects, and may include a field and a mountain as a background.
[0213] The electronic device 1000 may determine the rule of thirds composition as a recommended shooting composition. Specifically, the electronic device 1000 may consider the information of the subject and the surrounding environment information, and determine a composition in which the center 1911 of the subject is located at a first point 1901 as a first recommended shooting composition and determine a composition in which the center 1911 of the subject is located at a second point 1902 as a second recommended shooting composition from among virtual points where horizontal / vertical lines intersect.
[0214] The electronic device 1000 may display a first indicator 1910 for guiding the first recommended shooting composition and a second indicator 1920 for guiding the second recommended shooting composition on the preview image. For example, the first indicator 1910 may include an icon for guiding the photographer to move to the left (e.g., a left arrow). The second indicator 1920 may include an icon for guiding the photographer to move to the right (e.g., a right arrow).
[0215] refer to Fig. 20 , the electronic device 1000 may display thumbnail images respectively corresponding to a plurality of photographing compositions on the screen.
[0216] refer to Fig. 20 2000-1, the electronic device 1000 may display an icon 2001 for requesting a recommended shooting composition on a preview image 2010 acquired by the first camera. The electronic device 1000 may receive a user input that selects the icon 2001 for requesting a recommended shooting composition. For example, when a user (photographer) wants to acquire information about a recommended shooting composition, the user may touch the icon 2001 displayed on the preview image 2010.
[0217] refer to Fig. 20 In 2000-2, the electronic device 1000 may determine a plurality of recommended photographing compositions in response to an input of the touch icon 2001. In this case, the electronic device 1000 may display thumbnail images corresponding to the plurality of recommended photographing compositions.
[0218] For example, the electronic device 1000 may determine the rule of thirds composition as a recommended shooting composition. Specifically, the electronic device 1000 considers the subject information and the surrounding environment information, and from the virtual points where the horizontal / vertical lines intersect, may determine a composition in which the center of the subject is located at the first point 1901 as the first recommended shooting composition, may determine a composition in which the center of the subject is located at the second point as the second recommended shooting composition, and may determine a composition in which the center of the subject is located at the third point as the third recommended shooting composition.
[0219] In this case, the electronic device 1000 can obtain thumbnail images corresponding to the recommended shooting compositions from the maximum viewing angle image obtained by the second camera. For example, the electronic device 1000 can obtain a first thumbnail image 2003 corresponding to the first recommended shooting composition, a second thumbnail image 2004 corresponding to the second recommended shooting composition, and a third thumbnail image 2005 corresponding to the third recommended shooting composition from the maximum viewing angle image.
[0220] The electronic device 1000 may display, on the screen, a first thumbnail image 2003 corresponding to a first recommended photographic composition, a second thumbnail image 2004 corresponding to a second recommended photographic composition, and a third thumbnail image 2005 corresponding to a third recommended photographic composition, together with a thumbnail image 2002 corresponding to the preview image 2010. In this case, since the user (photographer) can check photo images according to a plurality of recommended photographic compositions and a photo image according to the current photographic composition in advance, the user can easily select a desired photographic composition.
[0221] refer to Fig.21 When a plurality of recommended photographing compositions are determined, the electronic device 1000 may acquire preview images respectively corresponding to the recommended photographing compositions on the maximum viewing angle image acquired by the second camera. The electronic device 1000 may display preview images respectively corresponding to the plurality of recommended photographing compositions on different pages.
[0222] refer to Fig.21 2100-1, the electronic device 1000 may display a first preview image corresponding to the first recommended shooting composition on the first page 2110. In this case, the electronic device 1000 may display a first indicator 2101 for guiding the first recommended shooting composition. For example, the first indicator 2101 may include an arrow for guiding the photographer to move to the right.
[0223] refer to Fig.21 In 2100-2, the electronic device 1000 may display a second preview image corresponding to the second recommended shooting composition on the second page 2120. In this case, the electronic device 1000 may display a second indicator 2102 for guiding the second recommended shooting composition. For example, the second indicator 2102 may include an arrow for guiding the photographer to move left.
[0224] refer to Fig.21 In 2100-3, the electronic device 1000 may display a third preview image corresponding to the third recommended shooting composition on the third page 2130. In this case, the electronic device 1000 may display a third indicator 2103 for guiding the third recommended shooting composition. For example, the third indicator 2103 may include an image for guiding the photographer to move the electronic device 1000 downward and zoom out.
[0225] The user (photographer) can check the preview images according to a plurality of recommended shooting compositions in advance, and can easily determine the desired shooting composition. In addition, the user (photographer) can easily obtain a photo of the desired shooting composition according to the indicator for guiding the recommended shooting composition.
[0226] Now refer to Figure 22 to Figure 26A method in which the electronic device 1000 recommends a posture when the subject is a person is described in detail.
[0227] Fig. 22 is a flowchart for describing a method of providing information about a recommended posture according to an embodiment of the present disclosure.
[0228] In operation S2210, the electronic device 1000 may identify a subject included in the preview image. For example, the electronic device 1000 may identify a subject included in the preview image by analyzing the preview image. In this case, according to an embodiment, the electronic device 1000 may identify a subject included in the preview image by using a learning network model of an AI system. Operation S2210 corresponds to Figure 2 Operation S210 is described below, and thus a detailed description thereof will not be given.
[0229] In operation S2220 , the electronic device 1000 may acquire surrounding environment information of the subject.
[0230] According to an embodiment, the electronic device 1000 may acquire the surrounding environment information of the subject by analyzing the preview image. In this case, according to an embodiment, the electronic device 1000 may acquire the surrounding environment information of the subject from the preview image by using a learning network model of an AI system.
[0231] According to an embodiment, the electronic device 1000 may obtain surrounding environment information of the subject by using at least one sensor. For example, the electronic device 1000 may obtain information about the current position of the subject and whether the subject is located indoors or outdoors by using a position sensor. The electronic device 1000 may obtain the illuminance value around the subject by using an illuminance sensor. In addition, the electronic device 1000 may determine whether it is currently daytime or nighttime around the subject by using the illuminance sensor. The electronic device 1000 may obtain temperature information around the subject by using a temperature sensor, and may obtain humidity information around the subject by using a humidity sensor. The electronic device 1000 may obtain surrounding environment information by using multiple image sensors (or multiple cameras). Operation S2220 corresponds to Figure 2 Operation S220 is described below, and thus a detailed description thereof will not be given.
[0232] In operation S2230, the electronic device 1000 may determine a recommended gesture by using information of the subject and surrounding environment information of the subject.
[0233] According to an embodiment, the electronic device 1000 may determine a recommended posture by using a learning network model. The learning network model may be generated using data acquired by learning a person's posture (recognition), a background, and the presence of another person based on a photo of the person used for learning. The recommended posture may include not only a person's full body posture but also a facial expression or a facial angle.
[0234] According to an embodiment, when a person's face is recognized by the first camera, the electronic device 1000 may select a gesture card suitable for the current surrounding environment of the subject from a plurality of gesture cards generated in advance, and may determine the gesture included in the selected gesture card as a recommended gesture.
[0235] According to an embodiment, the electronic device 1000 may determine a recommended posture by further considering the personalized learning data of the user. For example, when the electronic device 1000 recommends sitting, standing, and lying postures to the first user, but the user takes a sitting posture in all photos, the electronic device 1000 may determine the recommended posture based on the sitting posture. In addition, when all photos of the user taking a lying posture are deleted, the electronic device 1000 may not select the lying posture when determining the recommended posture.
[0236] According to an embodiment, the electronic device 1000 may determine a plurality of recommended postures by using information of the subject and information of the surrounding environment of the subject. For example, when a plurality of subjects stand on a lawn, the electronic device 1000 may identify a plurality of people as subject information, and may identify outdoor, lawn, and noon as surrounding environment information. In this case, the electronic device 1000 may select a first posture card, a second posture card, and a third posture card related to a photo of a plurality of persons standing on a lawn at noon from a plurality of posture cards generated in advance.
[0237] In operation S2240, the electronic device 1000 may compare the current posture with the recommended posture, and may determine whether the similarity between the current posture and the recommended posture is less than a threshold value.
[0238] According to an embodiment, the electronic device 1000 may determine the current posture of the person as the subject by analyzing the preview image. According to an embodiment, the electronic device 1000 may determine the current posture of the person as the subject by using a learning network model of an AI system.
[0239] Examples of postures may include, but are not limited to, lying on the left side, lying on the right side, sitting with legs stretched out, sitting with knees bent, bending at the waist, raising hands to the waist, standing looking forward, standing looking to the side, standing with his / her back, and jumping.
[0240] Depending on the embodiment, examples of gestures may also include, but are not limited to: finger shapes (e.g., V-shape, heart shape, fist shape, or thumbs-up shape), facial expressions (e.g., no expression, a smiling expression, a crying expression, or a frowning expression), and whether accessories are worn (e.g., whether glasses are worn, whether sunglasses are worn, or whether a hat is worn).
[0241] According to an embodiment, the electronic device 1000 may compare the current posture with the recommended posture. If the similarity between the current posture and the recommended posture is equal to or greater than a threshold value (eg, 97%), the electronic device 1000 may not provide information about the recommended posture.
[0242] In operation S2250, when the similarity between the current posture and the recommended posture is less than a threshold value, the electronic device 1000 may provide information about the recommended posture.
[0243] According to an embodiment, the electronic device 1000 may output information for guiding the recommended gesture. For example, the electronic device 1000 may output information for guiding the recommended gesture by using, but not limited to, at least one of a video signal, an audio signal, and a vibration signal.
[0244] According to an embodiment, the electronic device 1000 may display a line for guiding a recommended gesture on the subject. According to an embodiment, the electronic device 1000 may display a graphic indicator (eg, an icon) for guiding a recommended gesture on a portion (eg, the upper right portion) of the preview image.
[0245] According to an embodiment, when a plurality of recommended gestures are determined, the electronic device 1000 may provide a plurality of recommended gesture cards to a predetermined section.
[0246] Now refer to Figure 23 to Figure 26 An operation of the electronic device 1000 to provide information on a recommended gesture is described.
[0247] Fig.23 is a view for describing an operation of the electronic device 1000 displaying information about a recommended gesture according to an embodiment of the present disclosure.
[0248] refer to Fig.23, the electronic device 1000 may analyze the preview image acquired by the first camera, and may recognize that the main subject 2301 is a person and that the main subject 2301 wins an award at a film festival (indoors) as the surrounding environment. In addition, the electronic device 1000 may recognize that the main subject 2301 stands with a stiff appearance (current posture). In this case, the electronic device 1000 may determine a posture suitable for an award ceremony hall (indoors) as a recommended posture. The electronic device 1000 may display information about the recommended posture on the screen.
[0249] For example, refer to Fig.23 In 2300-1, the electronic device 1000 may determine the posture of raising the hands to the waist as a recommended posture. The electronic device 1000 may display a line 2302 for guiding the recommended posture so that the line 2302 overlaps with the image of the main subject 2301. In this case, the photographer can check the recommended posture and can request the main subject 2301 to change the posture.
[0250] refer to Fig.23 2300-2, the electronic device 1000 may display an icon corresponding to the recommended posture on the specific portion 2303 so that the icon does not overlap with the image of the main subject 2301. In this case, the photographer may check the recommended posture displayed on the specific portion 2303.
[0251] Fig.24 is a view for describing an operation of providing information on a recommended gesture by using the number of subjects and surrounding environment information of the subjects according to an embodiment of the present disclosure.
[0252] refer to Fig.24 2400-1, the electronic device 1000 can obtain information indicating that the number of subjects is 3 by analyzing the preview image 2410. In addition, the electronic device 1000 can find that there are currently three subjects outdoors during the day by analyzing the preview image or by using a sensor. In this case, the electronic device 1000 can determine the postures that the three subjects can take outdoors during the day as recommended postures by using the recommendation model 300. For example, the electronic device 1000 can determine that the three subjects raise their hands and give a cheering posture as a recommended posture. The electronic device 1000 can provide a graphical indicator for guiding the recommended posture. For example, the electronic device 1000 can display an icon image 2401 corresponding to the recommended posture on the preview image.
[0253] refer to Fig.242400-2, the electronic device 1000 can obtain information indicating that the number of subjects is 3 by analyzing the preview image 2420. In addition, the electronic device 1000 can find that there are three subjects in the room by analyzing the preview image or by using a sensor. In this case, the electronic device 1000 can determine the posture that the three subjects standing in the room can take as a recommended posture. For example, the electronic device 1000 can determine the posture in which the middle subject of the three subjects sits down and the other two subjects on both sides stand up as a recommended posture. The electronic device 1000 can provide a graphic indicator for guiding the recommended posture. For example, the electronic device 1000 can display an icon image 2402 corresponding to the recommended posture on the preview image.
[0254] Fig.25 is a view for describing an operation of providing information on a plurality of recommended gestures according to an embodiment of the present disclosure.
[0255] refer to Fig.25 , the electronic device 1000 may acquire information indicating that the number of subjects is 1 and the location is the graduation ceremony hall by analyzing the preview image. In this case, the electronic device 1000 may determine the postures that the subjects in the graduation ceremony hall can take as recommended postures. For example, the electronic device 1000 may determine various postures, such as a posture of jumping and throwing a graduation cap, a posture of putting one hand on the waist and raising the other hand, or a posture of leaning against a wall, as recommended postures.
[0256] According to an embodiment, the electronic device 1000 may display information (eg, 2500) for guiding a plurality of recommended gestures on a specific portion 2501 of the displayed information 2500. For example, the electronic device 1000 may display icon images respectively corresponding to a plurality of recommended gestures on the specific portion 2501.
[0257] When there are multiple recommended postures, the electronic device 1000 may not display all icons indicating the multiple recommended postures on the specific part 2501. In this case, the electronic device 1000 may indicate that there are more recommended postures in addition to the postures displayed on the specific part 2501 by providing an arrow to the specific part 2501. The user can check other recommended postures not shown on the specific part 2501 by touching the arrow or dragging his / her finger to the left or right within the specific part 2501. For example, when a drag input is received in a state where a first icon corresponding to a first recommended posture (for example, an icon corresponding to a jumping posture) is displayed on the specific part 2501, the electronic device 1000 may display a second icon corresponding to a second recommended posture (for example, a standing posture with both hands on the waist) on the specific part 2501 instead of the first icon. The method by which the electronic device 1000 provides information about multiple recommended postures is not limited to Fig.25 method, and any of a variety of other methods may be used.
[0258] Fig.26 1 is a view for describing an operation of recommending an optimal face composition according to an embodiment of the present disclosure. It will be described assuming that a user of the electronic device 1000 takes a self-portrait image. Fig.26 .
[0259] refer to Fig.26 , the electronic device 1000 may acquire a preview image including a facial image of the user. The electronic device 1000 may acquire surrounding environment information (e.g., the direction of light, or the color impression of light) by analyzing the preview image or by using a sensor. In this case, the electronic device 1000 may input information about the facial image of the user and the surrounding environment information into the recommendation model 300. In this case, the electronic device 1000 may acquire information about the optimal facial composition 2600 from the recommendation model 300.
[0260] The recommendation model 300 may be a model trained by using personalized learning (training) data. For example, the recommendation model 300 may be a model trained based on photos that are usually uploaded to a social network service (SNS) server and photos that the user deletes from a memory after taking. The recommendation model 300 may have information instructing the user to delete photos with the left side of the face highlighted and upload photos with the right side of the face highlighted to the SNS server.
[0261] Therefore, when the preview image 2601 and the surrounding environment information 2602 are input to the recommendation model 300, the recommendation model 300 can determine the recommended facial angle by using the personalized learning data. For example, the recommendation model 300 can determine the facial composition with the right face highlighted and the gaze downward as the recommended facial composition.
[0262] Since the current composition of the face included in the preview image is a composition of left highlights, the electronic device 1000 can provide information about the recommended facial composition. For example, the electronic device 1000 can display an icon image 2603 corresponding to the recommended facial composition on the screen. In addition, the electronic device 1000 can output a voice signal corresponding to the recommended facial composition. For example, the electronic device 1000 can output a voice message indicating that "you'd better turn your face to the opposite direction, tilt your chin down, and move your gaze downward."
[0263] Fig. 27 and Fig.28 is a block diagram for describing an electronic device 1000 according to various embodiments of the present disclosure.
[0264] refer to Fig. 27 , the electronic device 1000 according to the embodiment may include an output interface 1100, a sensor 1200, and a processor 1300. However, Fig. 27 All elements shown in the figure are not essential elements. The electronic device 1000 may include Fig. 27 More or fewer elements than those shown.
[0265] For example, Fig.28 As shown, the electronic device 1000 according to an embodiment may further include a communication interface 1400 , an A / V input interface 1500 , a user input interface 1600 , and a memory 1700 in addition to the output interface 1100 , the sensor 1200 , and the processor 1300 .
[0266] These elements will be described in sequence below.
[0267] The output interface 1100 for outputting an audio signal, a video signal, or a vibration signal may include a display 1111 , a sound output interface 1112 , and a vibration motor 1113 .
[0268] The sound output interface 1112 outputs audio data received from the communication interface 1400 or stored in the memory 1700. In addition, the sound output interface 1112 outputs a sound signal (e.g., a call signal reception sound, a message reception sound, or a notification sound) related to a function performed by the electronic device 1000. The sound output interface 1112 may include a speaker or a buzzer.
[0269] The vibration motor 1113 may output a vibration signal. For example, the vibration motor 1113 may output a vibration signal corresponding to the output of audio data or video data (e.g., a call signal reception sound or a message reception sound). Furthermore, when a touch is input to the touch screen, the vibration motor 1113 may output a vibration signal. When the photographer moves or the subject moves, the vibration motor 1113 may output a vibration signal when the current position is the same as the recommended composition.
[0270] The output interface 1100 may display a preview image including a subject recognized by the first camera 1511. The output interface 1100 may provide information related to a recommended photographing composition. For example, the output interface 1100 may display a graphic indicator for guiding a recommended photographing composition.
[0271] The output interface 1100 may provide information related to a plurality of recommended photographic compositions. For example, the output interface 1100 may display thumbnail images respectively corresponding to a plurality of recommended photographic compositions, and may provide preview images respectively corresponding to a plurality of recommended photographic compositions on different pages.
[0272] The output interface 1100 may provide information of at least one of a recommended photographing area, a recommended photographing angle, a recommended posture, and a recommended facial composition.
[0273] The sensor 1200 may include, but is not limited to, at least one of a geomagnetic sensor 1211, an acceleration sensor 1212, a tilt sensor 1213, an infrared sensor 1214, a gyroscope sensor 1215, a position sensor (e.g., GPS) 1216, a temperature / humidity sensor 1217, a proximity sensor 1218, and a light sensor 1219. The functions of the sensors may be intuitively obtained from their names by a person of ordinary skill in the art, and thus a detailed description thereof will not be given.
[0274] The sensor 1200 may acquire surrounding environment information of the subject (e.g., information related to light around the subject). For example, the light sensor 1219 (or illumination sensor) may acquire an illumination value around the subject. Moreover, the light sensor 1219 (or illumination sensor) may determine whether it is daytime or nighttime around the subject. The temperature / humidity sensor 1217 may acquire temperature information around the subject and humidity information around the subject.
[0275] The processor 1300 generally controls the overall operation of the electronic device 1000. For example, the processor 1300 may control the operations of the output interface 1100, the sensor 1200, the communication interface 1400, the A / V input interface 1500, the user input interface 1600, and the memory 1700 by executing a program stored in the memory 1700.
[0276] According to an embodiment, the processor 1300 may include, but is not limited to, an AI processor for generating a learning network model. According to an embodiment, the AI processor may be implemented as a chip separate from the processor 1300.
[0277] The processor 1300 may identify a subject included in the preview image, and may determine a recommended photographing composition by using information of the identified subject and surrounding environment information of the subject. The processor 1300 may provide information related to the recommended photographing composition through the output interface 1100.
[0278] According to an embodiment, the processor 1300 may determine the current shooting composition from the preview image. When the similarity between the recommended shooting composition and the current shooting composition is less than a threshold value, the processor 1300 may provide information about the recommended shooting composition. When the similarity between the recommended shooting composition and the current shooting composition is equal to or greater than the threshold value, the processor 1300 may not provide information about the recommended shooting composition.
[0279] The processor 1300 may acquire a first image having a viewing angle greater than the preview image by using a second camera 1512 different from the first camera 1511. The processor 1300 may acquire surrounding environment information of the subject by analyzing the acquired first image. The processor 1300 may control the output interface 1100 to display information for guiding a recommended shooting composition on the first image.
[0280] The processor 1300 may determine a plurality of recommended photographing compositions by using the information of the recognized subject and the surrounding environment information of the subject. The processor 1300 may control the output interface 1100 to display thumbnail images respectively corresponding to the plurality of recommended photographing compositions.
[0281] The processor 1300 may recommend or automatically apply a photographing setting value based on the information of the recognized subject and the surrounding environment information of the subject. The processor 1300 may determine a recommended posture of the subject by using the information of the recognized subject and the surrounding environment information of the subject. The processor 1300 may provide information about the recommended posture.
[0282] The communication interface 1400 may include one or more elements that enable communication between the electronic apparatus 1000 and the wearable device or between the electronic apparatus 1000 and the server 2000. For example, the communication interface 1400 may include a short-range communication interface 1411, a mobile communication interface 1412, and a broadcast receiver 1413.
[0283] Examples of the short-range communication interface 1411 may include, but are not limited to, a Bluetooth communication interface, a Bluetooth low energy (BLE) communication interface, a near field communication interface, a WLAN (Wi-Fi) communication interface, a Zigbee communication interface, an Infrared Data Association (IrDA) communication interface, a Wi-Fi Direct (WFD) communication interface, an ultra-wideband (UWB) communication interface, and an Ant+ communication interface.
[0284] The mobile communication interface 1412 transmits / receives wireless signals to / from at least one of a base station, an external terminal, and the server 2000 via a mobile communication network. Examples of the wireless signals may include a voice call signal, a video call signal, and any of various data according to text / multimedia message transmission / reception.
[0285] The broadcast receiver 1413 receives a broadcast signal and / or broadcast related information from the outside through a broadcast channel. Examples of the broadcast channel may include a satellite channel and a terrestrial channel. According to an embodiment, the electronic device 1000 may not include the broadcast receiver 1413.
[0286] According to an embodiment, the communication interface 1400 may transmit information about the preview image and surrounding environment information of the subject to the server 2000 connected to the electronic device 1000. The communication interface 1400 may receive information about a recommended shooting composition determined by using the information about the preview image and surrounding environment information of the subject from the server 2000. The communication interface 1400 may upload a photo image to an SNS server, or may download a photo image from an SNS server.
[0287] The A / V input interface 1500 for receiving an audio signal input or a video signal input may include a first camera 1511, a second camera 1512, and a microphone 1513. The first camera 1511 and the second camera 1512 may acquire an image screen such as a still image or a moving image by using an image sensor in a video call mode or a shooting mode. The image captured by the image sensor may be processed by the processor 1300 or an additional image processor (not shown).
[0288] The image frame processed by the first camera 1511 or the second camera 1512 may be stored in the memory 1700 or may be transmitted to the outside through the communication interface 1400 .
[0289] According to an embodiment, the first camera 1511 may be a general camera, and the second camera 1512 may be, but is not limited to, at least one of a telephoto camera, a wide-angle camera, and a general camera. The first camera 1511 may correspond to Fig.10 The first camera 1001 and the second camera 1512 may correspond to Fig.10 The second camera 1002.
[0290] The microphone 1513 receives an external sound signal and processes the external sound signal into electrical voice data. For example, the microphone 1513 may receive a sound signal from an external device or a user. The microphone 1513 may use any of various noise elimination algorithms to eliminate noise that occurs when receiving an external sound signal.
[0291] The user input interface 1600 is a unit through which a user inputs data for controlling the electronic device 1000. Examples of the user input interface 1600 may include, but are not limited to, a keyboard, a dome switch, a touch pad (e.g., a contact type capacitance method, a pressure type resistance film method, an infrared sensing method, a surface ultrasonic transmission method, an integral tension measurement method, or a piezoelectric effect method), a jog wheel, and a rocker switch.
[0292] The memory 1700 may store a program for processing and controlling the processor 1300 , and may store input / output data (eg, a preview image, a photo image 1712 , metadata, surrounding environment information, personalized learning data, and a recommended gesture card).
[0293] The memory 1700 may include at least one type of storage medium selected from the group consisting of a flash memory, a hard disk memory, a multimedia card micro memory, a card-type memory (e.g., a secure digital (SD) memory or an extreme digital (XD) memory), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, and an optical disk.
[0294] The programs stored in the memory 1700 may be classified into a plurality of modules according to the functions of the memory 1700, for example, a recommendation model 1711. The recommendation model 1711 corresponds to Figure 3 Therefore, a detailed description thereof will not be given. Figure 29 to Figure 32 The process of generating the recommendation model 1711 is described.
[0295] Fig.29 is a block diagram of a processor 1300 according to an embodiment of the present disclosure.
[0296] refer to Fig.29 , the processor 1300 according to some embodiments may include a data learner 1310 and a data identifier 1320 .
[0297] The data learner 1310 may learn a criterion for determining a recommended situation (e.g., a recommendation of a shooting composition, a recommendation of a shooting area, a recommendation of a pose, or a recommendation of an optimal facial angle). The data learner 1310 may learn a criterion for determining a recommended situation as to which data will be used to determine the recommended situation and how to determine the situation by using the data. The data learner 1310 may learn a criterion for determining a recommended situation by acquiring data (e.g., an image) to be used for learning (or training) and applying the acquired data to a data recognition model.
[0298] According to an embodiment, the data learner 1310 may learn a composition for photographing a subject (e.g., a person, an animal, a natural object, or a natural phenomenon) in a specific environment (e.g., indoors or outdoors, general illumination or low illumination, daytime or nighttime, sunset or sunrise, winter or summer, around a specific building, or around a specific natural object). According to an embodiment, the data learner 1310 may learn a shooting composition based on information of the subject (e.g., the type of subject, the number of subjects, gender, and age) or information of the surrounding environment of the subject (e.g., the amount of light, the direction of light, the intensity of light, whether the location is indoors or outdoors, and whether it is around a specific building). For example, the data learner 1310 may learn a composition for photographing a person, a composition for photographing an animal, a composition for photographing a mountain, a composition for photographing an ocean, a composition for photographing a person indoors, a composition for photographing a person outdoors, a composition for photographing a specific building outdoors, a composition for photographing food indoors, a composition for photographing several people, a composition for photographing one person, a composition for photographing at night, and a composition for photographing during the day.
[0299] According to an embodiment, the data learner 1310 may learn personalized data. For example, the data learner 1310 may learn data about the shooting composition of deleted photos, data about the shooting composition of photos uploaded to the SNS server, data about the shooting composition of photos sent to friends' devices, and data about the shooting composition of photos designated as personal profile images.
[0300] According to an embodiment, the data learner 1310 may learn a standard for recommending a photographing area. According to an embodiment, when the subject is a person, the data learner 1310 may learn a standard for recommending a pose. The data learner 1310 may learn a facial composition.
[0301] According to an embodiment, the data learner 1310 may learn a standard for recommending a photographing setting value. For example, the data learner 1310 may learn a photographing setting value acquired from a photo taken by a professional.
[0302] The data identifier 1320 may determine a recommended situation based on the data. The data identifier 1320 may identify a recommended situation from the detected data by using a trained data recognition model. The data identifier 1320 may acquire image data (e.g., a preview image) according to a standard preset by learning, and may determine a recommended situation based on the image data using the data recognition model by using the acquired image data as an input value. In addition, a result value output by the data recognition model by using the acquired image data as an input value may be used to improve the data recognition model.
[0303] At least one of the data learner 1310 and the data identifier 1320 may be manufactured as at least one hardware chip and may be installed on the electronic device 1000. For example, at least one of the data learner 1310 and the data identifier 1320 may be manufactured as a dedicated hardware chip for AI, or may be manufactured as a part of an existing general-purpose processor (e.g., a central processing unit (CPU) or an application processor) or a graphics processor (e.g., a graphics processing unit (GPU))) and may be installed on the electronic device 1000.
[0304] In this case, the data learner 1310 and the data identifier 1320 may be installed on one electronic device 1000, or may be separately installed on the electronic device. For example, one of the data learner 1310 and the data identifier 1320 may be included in the electronic device 1000, and the remaining one may be included in the server 2000. In addition, the model information established by the data learner 1310 may be provided to the data identifier 1320, and the data input to the data identifier 1320 may be provided to the data learner 1310 as additional learning data, by wired or wireless means.
[0305] At least one of the data learner 1310 and the data identifier 1320 may be implemented as a software module. When at least one of the data learner 1310 and the data identifier 1320 is implemented as a software module (or a program module including instructions), the software module may be stored in a non-transitory computer-readable recording medium. In addition, in this case, at least one software module may be provided by an operating system (OS) or a predetermined application. Alternatively, a portion of at least one software module may be provided by an OS, and the remaining portion may be provided by a predetermined application.
[0306] Fig.30 is a block diagram of a data learner 1310 according to an embodiment of the present disclosure.
[0307] refer to Fig.30According to an embodiment, the data learner 1310 (e.g., a model evaluator) may include a data acquirer 1310-1, a preprocessor 1310-2, a learning data selector 1310-3, a model learner 1310-4, and a model evaluator 1310-5.
[0308] The data acquirer 1310-1 may acquire data required for determining a recommendation situation. The data acquirer 1310-1 may acquire data (e.g., photo images) required for learning to determine a recommendation situation. According to an embodiment, the model learner 1310-4 may directly generate the data required for determining a recommendation situation, or may receive the data required for determining a recommendation situation from an external device or server.
[0309] According to an embodiment, the data required to determine the recommendation situation may include, but is not limited to, information of the subject, information of the surrounding environment of the subject, and personalized learning data.
[0310] According to an embodiment, the data acquirer 1310-1 may acquire image data, voice data, text data, or bio-signal data. For example, the data acquirer 1310-1 may receive data through an input device (e.g., a microphone, a camera, or a sensor) of the electronic device 1000. Alternatively, the data acquirer 1310-1 may acquire data through an external device that communicates with the electronic device 1000.
[0311] The preprocessor 1310-2 may preprocess the acquired data so that the acquired data is used for learning to determine a recommended situation. The preprocessor 1310-2 may process the acquired data into a preset format so that the model learner 1310-4 described below may use the acquired data for learning to determine a recommended situation.
[0312] For example, the preprocessor 1310-2 can generate a composite image by overlapping at least some parts of multiple images based on a common area included in multiple images (or pictures) constituting at least a portion of the input video. In this case, multiple composite images can be generated from one video. The common area can be an area that includes the same or similar common objects (e.g., solid objects, animals / plants, or people) in multiple images. Alternatively, the common area can be an area where the color, shade, RGB value, or CMYK value is the same or similar in multiple images.
[0313] The learning data selector 1310-3 may select data required for learning from a plurality of preprocessed data. The selected data may be provided to the model learner 1310-4. The learning data selector 1310-3 may select data required for learning from a plurality of preprocessed data according to a preset criterion for determining a recommendation situation. In addition, the learning data selector 1310-3 may select data according to a preset criterion learned by the model learner 1310-4 described below. For example, the learning data selector 1310-3 may select image data including a shooting composition related to information of a subject and information of the surrounding environment of the subject.
[0314] The model learner 1310-4 may learn a criterion on how to determine a recommendation situation based on the learning data. In addition, the model learner 1310-4 may learn a criterion on which learning data will be used to determine a recommendation situation.
[0315] In addition, the model learner 1310-4 can train a data recognition model for determining a recommendation situation by using the learning data. In this case, the data recognition model can be a pre-established model. For example, the data recognition model can be a model pre-established by receiving basic learning data (e.g., sampled data).
[0316] The data recognition model may be established in consideration of the field to which the recognition model is applied, the purpose of learning, or the computer performance of the electronic device 1000. The data recognition model may be a model based on, for example, a neural network. For example, a model such as a deep neural network (DNN), a recurrent neural network (RNN), or a bidirectional recurrent deep neural network (BRDNN) may be used as a data recognition model.
[0317] According to various embodiments, when there are multiple pre-established data recognition models, the model learner 1310-4 can determine a data recognition model with a high correlation between the input learning data and the basic learning data as the data recognition model to be trained. In this case, the basic learning data can be pre-classified according to the type of data, and the data recognition model can be pre-established according to the type of data. For example, the basic learning data can be pre-classified according to various criteria (such as the area where the learning data is generated, the time when the learning data is generated, the size of the learning data, the category of the learning data, the generator of the learning data, and the type of subject in the learning data).
[0318] In addition, the model learner 1310-4 can train the data recognition model by using a learning algorithm including, for example, error back propagation or gradient descent.
[0319] In addition, the model learner 1310-4 can train the data recognition model through supervised learning by using, for example, learning data as an input value. In addition, the model learner 1310-4 can train the data recognition model through unsupervised learning to find a criterion for determining a situation by learning the type of data required to determine the situation by itself without supervision. In addition, the model learner 1310-4 can train the data recognition model through reinforcement learning using feedback on whether the result of determining the situation according to the learning is correct.
[0320] In addition, when the data recognition model is trained, the model learner 1310-4 may store the trained data recognition model. In this case, the model learner 1310-4 may store the trained data recognition model in the memory 1700 of the electronic device 1000 including the data identifier 1320. Alternatively, the model learner 1310-4 may store the trained data recognition model in the memory 1700 of the electronic device 1000 including the data identifier 1320. Alternatively, the model learner 1310-4 may store the trained data recognition model in the memory of the server 2000 connected to the electronic device 1000 via a wired or wireless network.
[0321] In this case, the memory storing the trained data recognition model may also store, for example, commands or data related to at least another element of the electronic device 1000. In addition, the memory may store software and / or programs. The program may include, for example, a kernel, middleware, an application programming interface (API), and / or an application program (or "application").
[0322] When the model evaluator 1310-5 inputs the evaluation data to the data recognition model and the recognition result output from the evaluation data does not meet the predetermined standard, the model evaluator 1310-5 can make the model learner 1310-4 learn again. In this case, the evaluation data can be preset data for evaluating the data recognition model.
[0323] For example, among the recognition results of the trained data recognition model output from the evaluation data, when the number or ratio of inaccurate recognition results exceeds a preset threshold, it can be evaluated that the predetermined standard is not met. For example, when 2% is defined as the predetermined standard and erroneous recognition results are output from more than 20 evaluation data out of 1000 evaluation data, the model evaluator 1310-5 can evaluate that the trained data recognition model is not suitable.
[0324] When there are multiple trained data recognition models, the model evaluator 1310-5 can evaluate whether each trained recognition model meets the predetermined criteria, and can determine the model that meets the predetermined criteria as the final data recognition model. In this case, when multiple models meet the predetermined criteria, the model evaluator 1310-5 can determine one or a predetermined number of models preset in descending order of evaluation scores as the final data recognition model.
[0325] At least one of the data acquirer 1310-1, the preprocessor 1310-2, the learning data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5 in the data learner 1310 may be manufactured as at least one hardware chip and may be installed on the electronic device 1000. For example, at least one of the data acquirer 1310-1, the preprocessor 1310-2, the learning data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5 may be manufactured as a dedicated hardware chip for AI, or may be manufactured as part of an existing general-purpose processor (e.g., a CPU or an application processor) or a graphics processor (e.g., a GPU), and may be installed on the electronic device 1000.
[0326] In addition, the data acquirer 1310-1, the preprocessor 1310-2, the learning data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5 may be installed on one electronic device 1000, or may be separately installed on the electronic devices. For example, some of the data acquirer 1310-1, the preprocessor 1310-2, the learning data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5 may be included in the electronic device 1000, and the rest may be included in the server 2000.
[0327] In addition, at least one of the data acquirer 1310-1, the preprocessor 1310-2, the learning data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5 may be implemented as a software module. When at least one of the data acquirer 1310-1, the preprocessor 1310-2, the learning data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5 is implemented as a software module (or a program module including instructions), the software module may be stored in a non-transitory computer-readable recording medium. Moreover, in this case, at least one software module may be provided by an OS or a predetermined application. Alternatively, a portion of at least one software module may be provided by an OS, and the remaining portion may be provided by a predetermined application.
[0328] Fig.31is a block diagram of a data identifier 1320 according to an embodiment of the present disclosure.
[0329] refer to Fig.31 According to an embodiment, the data identifier 1320 may include a data acquirer 1320-1, a preprocessor 1320-2, a recognition data selector 1320-3, a recognition result provider 1320-4, and a model improver 1320-5.
[0330] The data acquirer 1320-1 may acquire data required for determining a recommended situation, and the preprocessor 1320-2 may preprocess the acquired data so that the acquired data is used to determine the situation. The preprocessor 1320-2 may process the acquired data into a preset format so that the recognition result provider 1320-4 described below may use the acquired data to determine the recommended situation.
[0331] The identification data selector 1320-3 can select data required for determining the recommendation situation from multiple preprocessed data. The selected data can be provided to the identification result provider 1320-4. The identification data selector 1320-3 can select some or all of the preprocessed data according to the preset criteria for determining the recommendation situation. In addition, the identification data selector 1320-3 can select data according to the preset criteria learned by the model learner 1310-4 as described below.
[0332] The recognition result provider 1320-4 can determine the situation by applying the selected data to the data recognition model. The recognition result provider 1320-4 can provide the recognition result according to the recognition purpose of the data. The recognition result provider 1320-4 can apply the selected data to the data recognition model by using the data selected by the recognition data selector 1320-3 as an input value. In addition, the recognition result can be determined by the data recognition model.
[0333] For example, the recognition result of at least one image may be provided as text, voice, video, image, or instruction (e.g., application execution instruction or module function execution instruction). For example, the recognition result provider 1320-4 may provide the recognition result of an object included in at least one image. The recognition result may include, for example, posture information of an object included in at least one image, surrounding state information of the object, and motion change information of an object included in a video.
[0334] The model improver 1320-5 may improve the data recognition model based on the evaluation of the recognition result provided by the recognition result provider 1320-4. For example, the model improver 1320-5 may provide the recognition result provided by the recognition result provider 1320-4 to the model learner 1310-4, so that the model learner 1340-4 improves the data recognition model.
[0335] At least one of the data acquirer 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result provider 1320-4, and the model improver 1320-5 in the data identifier 1320 may be manufactured as at least one hardware chip and may be installed on the electronic device 1000. For example, at least one of the data acquirer 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result provider 1320-4, and the model improver 1320-5 may be manufactured as a dedicated hardware chip for AI, or may be manufactured as part of an existing general-purpose processor (e.g., a CPU or an application processor) or a graphics processor (e.g., a GPU), and may be installed on the electronic device 1000.
[0336] In addition, the data acquirer 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result provider 1320-4, and the model improver 1320-5 may be installed on one electronic device 1000, or may be separately installed on the electronic device. For example, some of the data acquirer 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result provider 1320-4, and the model improver 1320-5 may be included in the electronic device 1000, and the rest may be included in the server 2000.
[0337] In addition, at least one of the data acquirer 1320-1, the preprocessor 1320-2, the identification data selector 1320-3, the identification result provider 1320-4 and the model improver 1320-5 can be implemented as a software module. When at least one of the data acquirer 1320-1, the preprocessor 1320-2, the identification data selector 1320-3, the identification result provider 1320-4 and the model improver 1320-5 is implemented as a software module (or a program module including instructions), the software module can be stored in a non-transitory computer-readable recording medium. Moreover, in this case, at least one software module can be provided by OS or a predetermined application. Alternatively, a part of at least one software module can be provided by OS, and the rest can be provided by a predetermined application.
[0338] Fig.32 2 is a block diagram showing an example in which an electronic device 1000 and a server 2000 according to an embodiment of the present disclosure interoperate to learn and recognize data. The server 2000 according to an embodiment may include a data identifier 2300. The data identifier 2300 may include a data acquirer 2310, a preprocessor 2320, a learning data selector 2330, a model learner 2340, and a model evaluator 2350.
[0339] refer to Fig.32 , the server 2000 may learn a criterion for determining a recommended situation, and the electronic device 1000 may determine a recommended situation based on a learning result of the server 2000 .
[0340] In this case, the model learner 2340 of the server 2000 may execute Fig.29 The model learner 2340 of the server 2000 can learn the criteria about which data will be used to determine the recommended situation and how to determine the recommended situation by using the data. The model learner 2340 can acquire data to be used for learning, and can learn the criteria for determining the situation by applying the acquired data to the data recognition model to be described below.
[0341] In addition, the recognition result provider 1320-4 of the electronic device 1000 can determine the situation by applying the data selected by the recognition data selector 1320-3 to the data recognition model generated by the server 2000. For example, the recognition result provider 1320-4 can send the data selected by the recognition data selector 1320-3 to the server 2000, and the server 2000 can request to determine the situation by applying the data selected by the recognition data selector 1320-3 to the recognition model. In addition, the recognition result provider 1320-4 can receive information about the situation determined by the server 2000 from the server 2000.
[0342] Alternatively, the recognition result provider 1320-4 of the electronic device 1000 may receive a recognition model generated by the server 2000 from the server 2000, and may determine the recommended situation by using the received recognition model. In this case, the recognition result provider 1320-4 of the electronic device 1000 may determine the recommended situation by applying the data selected by the recognition data selector 1320-3 to the data recognition model received from the server 2000.
[0343] The method according to the embodiment can be embodied as a program command executable by various computer devices, and can be recorded on a computer-readable recording medium. The computer-readable recording medium may include program commands, data files, data structures, etc., alone or in combination. The program commands to be recorded on the computer-readable recording medium may be specially designed and configured for the embodiments of the present disclosure, or may be well known and usable by ordinary technicians in the field of computer software. Examples of computer-readable recording media include: magnetic media such as hard disks, floppy disks, or tapes; optical media such as compact disk read-only memories (CD-ROMs) or digital versatile disks (DVDs); magneto-optical media such as optical magnetic disks; and hardware devices specially configured to store and execute program commands, such as ROM, RAM, or flash memory. Examples of program commands are high-level language codes that can be executed by a computer using an interpreter, etc., and machine language codes generated by a compiler.
[0344] Some embodiments may be implemented as a recording medium including computer-readable instructions such as computer-executable program modules. Computer-readable media may be any available medium accessible to a computer, and examples thereof include all volatile and non-volatile media and detachable and non-detachable media. In addition, examples of computer-readable media may include computer storage media and communication media. Examples of computer storage media include all volatile and non-volatile media and detachable and non-detachable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Communication media typically include computer-readable instructions, data structures, program modules, other data of modulated data signals, or other transmission mechanisms, and examples thereof include any information transmission medium. Moreover, some embodiments may be implemented as a computer program or computer program product, including computer-executable instructions, such as a computer program executed by a computer.
[0345] While the present disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents.
Claims
1. A method for obtaining an image performed by an electronic device, the method include: Obtaining, by a first camera of the electronic device, a first image corresponding to a first shooting area including a subject, wherein the first camera has a first viewing angle; Obtaining, by a second camera of the electronic device, a second image corresponding to a maximum viewing angle image having a second photographing area including the subject, wherein the second camera has a second viewing angle greater than the first viewing angle, and wherein the second photographing area includes the first photographing area and surrounding environment information of the subject; After obtaining the first image and the second image, inputting the first image including the first shooting area and the second image including the second shooting area into an artificial intelligence (AI) recommendation model, and outputting an optimal shooting composition from the AI recommendation model; Based on the best shooting composition, displaying a preview image of the second shooting area including the first shooting area and surrounding environment information of the subject and a first indicator representing the first shooting area on a display of the electronic device; While displaying the preview image and the first indicator, receiving a user input to obtain a third image including the subject; and In response to receiving the user input, a third image including the subject is obtained, the third image corresponding to a photographing area of the preview image corresponding to the first indicator.
2. The method according to claim 1, in, The first photographing area is a first area to be acquired by the first camera, and the second photographing area is a second area to be acquired by the second camera having a second viewing angle greater than the first viewing angle.
3. The method according to claim 1, in, The first focal length of the second camera is smaller than the second focal length of the first camera.
4. The method according to claim 1, in, In the second image, the first imaging region is distinguished from the second imaging region.
5. The method according to claim 4, in, The first indicator includes a boundary between the first photographing area and the second photographing area.
6. The method according to claim 1, in, The first camera and the second camera are arranged on the rear side of the electronic device.
7. The method of claim 1, further comprising: include: identifying a subject included in the second image; obtaining information about the identified subject; obtaining information related to light surrounding the identified subject; determining a recommended photographing area based on information of the recognized subject and information related to light around the subject; as well as By displaying a second indicator representing the recommended photographing area together with the first indicator on the second image, information on the recommended photographing area is provided.
8. The method according to claim 7, in, The determination of the recommended shooting area is performed by an AI recommendation model.
9. The method according to claim 7, in, Providing the information about the recommended photographing areas includes displaying a list of preview images corresponding to the plurality of recommended photographing areas.
10. An electronic device, include: First Camera; Second camera; monitor; a memory storing one or more instructions; as well as At least one processor configured to execute the one or more instructions to at least: Obtaining, by a first camera, a first image corresponding to a first shooting area including a subject, wherein the first camera has a first viewing angle; Obtaining, by a second camera, a second image corresponding to a maximum viewing angle image of a second photographing area including the subject, wherein the second camera has a second viewing angle greater than the first viewing angle, and wherein the second photographing area includes the first photographing area and surrounding environment information of the subject; After obtaining the first image and the second image, inputting the first image including the first shooting area and the second image including the second shooting area into an artificial intelligence (AI) recommendation model, and outputting an optimal shooting composition from the AI recommendation model; Based on the best shooting composition, displaying on the display a preview image of the second shooting area including the first shooting area and surrounding environment information of the subject and a first indicator representing the first shooting area; While displaying the preview image and the first indicator, receiving a user input to obtain a third image including the subject; and In response to receiving the user input, a third image including the subject is obtained, the third image corresponding to a photographing area of the preview image corresponding to the first indicator.
11. The electronic device according to claim 10, in, The at least one processor is further configured to: identifying a subject included in the second image; obtaining information about the identified subject; obtaining information related to light surrounding the identified subject; determining a recommended photographing area based on information of the recognized subject and information related to light around the subject; as well as By displaying a second indicator representing the recommended photographing area together with the first indicator, information on the recommended photographing area is provided.
12. The electronic device according to claim 11, in, The at least one processor is further configured to display a list of preview images corresponding to a plurality of recommended photographing areas.
13. A computer program product comprising a non-transitory computer-readable storage medium having a computer-readable program stored therein, wherein the computer-readable program, when executed by an electronic device comprising a first camera and a second camera, causes the electronic device to: obtaining, by the first camera, a first image corresponding to a first photographing area including a subject, in, The first camera has a first viewing angle; Obtaining, by a second camera, a second image corresponding to a maximum viewing angle image of a second photographing area including the subject, wherein the second camera has a second viewing angle greater than the first viewing angle, and wherein the second photographing area includes the first photographing area and surrounding environment information of the subject; After obtaining the first image and the second image, inputting the first image including the first shooting area and the second image including the second shooting area into an artificial intelligence (AI) recommendation model, and outputting an optimal shooting composition from the AI recommendation model; Based on the best shooting composition, displaying a preview image of the second shooting area including the first shooting area and surrounding environment information of the subject and a first indicator representing the first shooting area on a display of the electronic device; While displaying the preview image and the first indicator, receiving a user input to obtain a third image including the subject; and In response to receiving the user input, a third image including the subject is obtained, the third image corresponding to a photographing area of the preview image corresponding to the first indicator.
