Imaging device, control method for the same, and program

JP2023062381A5Active Publication Date: 2024-10-04CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2021172318
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-10-21
Publication Date
2024-10-04
Estimated Expiration
2041-10-21

AI Technical Summary

Technical Problem

When taking a selfie with multiple people as subjects, part of the face of the person at the edge of the view often protrudes outside the angle of view, leading to a 'cut-out' effect where part of the face is missing.

Method used

An imaging device equipped with multiple lenses of different angles of view, including first generation means for generating a first image, determining means for detecting face defects, and second generation means for capturing an image using an alternative lens to ensure all faces are within the frame.

Benefits of technology

The solution effectively suppresses the occurrence of face 'chipping' during imaging with multiple subjects by automatically adjusting the lens angle and zoom to ensure all faces are included in the captured image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To suppress the occurrence of missing of a person in the case of imaging a plurality of persons who are the subjects.SOLUTION: A smartphone 100 as an example of an imaging device comprises: an imaging element which is provided with a standard lens 115b differing in field angle or an ultrawide angle lens 115c and captures an image through the standard lens 115b; a CPU 201 that indicates to a display 105 that the image captured using the standard lens 115b be displayed; and an in-camera image processing unit 215 which determines whether or not any person is missing in the captured image. When it is determined that at least one person is missing, the CPU 201 exercises control so that the standard lens 115b is automatically changed to an ultrawide angle lens 115c before capturing an image.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an imaging device, a control method thereof, and a program, and particularly relates to imaging control when multiple human faces are detected during imaging.

Background Art

[0002] Conventionally, a subject including the photographer himself / herself has been photographed using an imaging device such as a smartphone (self-photography) (see Patent Document 1). As a method of self-photography, a method of holding a smartphone in the hand and stretching the arm to take an image, or a method of attaching a smartphone to a selfie stick and taking an image is generally used.

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0004] When taking a self-portrait with multiple people as subjects by the above method, a part of the face of a person at the edge of the angle of view may protrude outside the angle of view, and a part of the face may be missing (so-called, cut off), and there is a problem that this is likely to occur.

[0005] An object of the present invention is to suppress the occurrence of missing parts of human faces during imaging when the subject is multiple people.

Means for Solving the Problems

[0006] The imaging device according to the present invention is an imaging device having a plurality of lenses with different angles of view, and is characterized by comprising: a first generation means for generating a first image by imaging a subject through a first lens; a determination means for determining whether or not there is a missing person among the subjects included in the first image; and a second generation means for generating a second image by switching to a second lens with a wider angle than the first lens and imaging the subject if it is determined that there is a missing person. [Effects of the Invention]

[0007] According to the present invention, it is possible to suppress the occurrence of facial defects in images when capturing images of multiple people. [Brief explanation of the drawing]

[0008] [Figure 1] These are a front view and a rear view showing the appearance of the smartphone according to the embodiment. [Figure 2] This is a block diagram showing the general configuration of a smartphone. [Figure 3] This is a flowchart of the image capture control according to the first embodiment using a smartphone. [Figure 4] This is a flowchart of the image capture control according to the second embodiment using a smartphone. [Figure 5] Figures 3 and 4 show examples of images acquired by the imaging control. [Modes for carrying out the invention]

[0009] Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Here, a smartphone will be used as an example of an imaging device according to the present invention, but the present invention is not limited to a smartphone.

[0010] Figure 1(a) is a front view showing the external appearance of the smartphone 100 according to this embodiment, and Figure 1(b) is a rear view showing the external appearance of the smartphone 100.

[0011] The front (first side) of the smartphone 100 is equipped with a display 105, a touch panel 106a, a speaker 112b, a front camera, and a home button 106e. The touch panel 106a is superimposed on the display 105, and the front camera 115 has a telephoto lens 115a, a standard lens 115b, and an ultra-wide-angle lens 115c.

[0012] An audio output terminal 112a is provided on the bottom of the smartphone 100. A power button 106b, a volume up button 106c, and a volume down button 106d are provided on the side of the smartphone 100. An out-camera 114 is located on the back (second side) of the smartphone 100. The out-camera 114 has a telephoto lens 114a, a standard lens 114b, and an ultra-wide-angle lens 114c. The functions of each of these parts of the smartphone 100 will be explained together with the block diagram showing the schematic configuration of the smartphone 100 shown in Figure 2. Note that the arrangement layout of the telephoto lens 115a, standard lens 115b, and ultra-wide-angle lens 115c of the front camera 115 shown in Figure 1(a), and the arrangement layout of the telephoto lens 114a, standard lens 114b, and ultra-wide-angle lens 114c of the out-camera 114 shown in Figure 1(b) are examples, and different arrangement layouts are possible.

[0013] Figure 2 is a block diagram showing the schematic configuration of the smartphone 100. The smartphone 100 includes a CPU 201, memory 202, non-volatile memory 203, display 105, attitude detection unit 213, operation unit 106, storage medium I / F 207, external I / F 209, communication I / F 210, and audio output unit 112. The smartphone 100 also has an out-camera 114, an in-camera 115, an out-camera image processing unit 214, and an in-camera image processing unit 215. Each of these components of the smartphone 100 is connected to an internal bus 250 and is configured to exchange data with each other via the internal bus 250.

[0014] The CPU 201 is a control unit that performs overall control of the smartphone 100 and consists of at least one processor or circuit. Memory 202 is, for example, RAM. Non-volatile memory 203 stores image data, audio data, other data, and various programs for the operation of the CPU 201. Non-volatile memory 203 is composed of, for example, flash memory or ROM. The CPU 201 comprehensively controls each part of the smartphone 100 by deploying the programs stored in non-volatile memory 203 to the work area of ​​memory 202.

[0015] The display 105 is a display device such as a liquid crystal display or an organic EL display, and displays captured images, GUI screens, etc., according to the control of the CPU 201. For example, the CPU 201 generates display control signals according to the program and controls various parts of the smartphone 100 to generate video signals for display on the display 105 and output them to the display 105. The display 105 displays images based on the output video signals. In addition, the display 105 can display live view images (LV images) being captured by the front camera 115 or rear camera 114. In other words, the user can take pictures while checking the LV image displayed on the display 105.

[0016] The control unit 106 includes a touch panel 106a, a power button 106b, a volume up button 106c, a volume down button 106d, and a home button 106e.

[0017] The touch panel 106a is superimposed on the display 105 to form a planar structure. It detects touch operations on the display surface (operation surface) of the display 105 and outputs the contact position of the touch operation as coordinate information to the CPU 201. In addition, keyboards, icons, etc. that can be displayed on the display 105 function as one of the operation units 106 through operations on the touch panel 106a.

[0018] Note that, for the touch panel 106a, any type of touch panel such as a resistive film type, a capacitance type, a surface acoustic wave type, an infrared type, an electromagnetic induction type, an image recognition type, an optical sensor type, etc. may be used. Also, the detection of a touch operation on the touch panel 106a may be performed by any method, either a method (contact type) that detects a touch when there is actual contact or a method (non-contact type) that detects a touch when there is proximity.

[0019] The power button 106b is an operation means for switching on / off the display 105 and is also an operation means for switching on / off the power of the smartphone 100 by being pressed continuously for a certain period of time (for example, 3 seconds) (so-called long press). The volume plus button 106c and the volume minus button 106d are operation means for adjusting the volume of the sound output from the audio output unit 112. When the volume plus button 106c is pressed, the output volume increases, and when the volume minus button 106d is pressed, the output volume decreases. Also, in the shooting standby state when using the camera, the volume plus button 106c and the volume minus button 106d function as a shutter button for instructing shooting. Note that the user of the smartphone 100 can set specific functions to be executable for operations such as pressing the power button 106b and the volume minus button 106d simultaneously or quickly pressing the volume minus button 106d several times.

[0020] The home button 106e is an operation means for displaying the home screen, which is the startup screen of the smartphone 100, on the display 105. When various applications are launched and used on the smartphone 100 and the home button 106e is pressed, the various launched applications can be temporarily closed and the home screen can be displayed. Note that the home button 106e is shown here as a physically pressable button, but it is not limited to this, and it may be a button that is displayed on the display 105 and functions similarly by touch operation.

[0021] The audio output unit 112 includes an audio output terminal 112a and a speaker 112b. The speaker 112b outputs the audio of videos and music data, operation sounds, incoming call sounds, various notification sounds, etc. The audio output terminal 112a is a terminal (so-called headphone jack) for outputting audio to headphones, earphones, external speakers, etc. When an audio output device such as headphones is not connected to the audio output terminal 112a, audio is output from the speaker 112b. Note that audio output may be performed by wireless communication or the like. For example, audio output to speakers or earphones (headphones) using Bluetooth (registered trademark) can be exemplified.

[0022] The storage medium 108 is, for example, a memory card attached to the main body of the smartphone 100, or a built-in storage incorporated in the smartphone 100. The storage medium I / F 207 is an interface for reading data from the storage medium 108 and writing data to the storage medium 108 according to the control of the CPU 201. The external I / F 209 is an interface for communicably connecting the smartphone 100 and an external device through a connection cable or by wireless communication and performing input / output of video signals, audio signals, etc. The communication I / F 210 is an interface for connecting to a communication network such as the Internet 211.

[0023] The attitude detection unit 213 detects the attitude of the smartphone 100 with respect to the gravitational direction and the inclination and rotation of the smartphone 100 with respect to each axis of yaw, roll, and pitch. Based on the detection signal of the attitude detection unit 213, it is possible to determine whether the smartphone 100 is held in a horizontal attitude or a vertical attitude, whether the surface of the display 105 faces upward or downward, whether it is in an oblique attitude, etc. As the attitude detection unit 213, at least one of an acceleration sensor, a gyro sensor, a geomagnetic sensor, an azimuth sensor, an altitude sensor, etc. can be used, and it is also possible to use a combination of multiple ones.

[0024] In the rear camera 114, an image sensor is arranged for each lens: the telephoto lens 114a, the standard lens 114b, and the ultra-wide-angle lens 114c. In other words, the rear camera 114 is a collection of three cameras capable of capturing images through each lens.

[0025] In the rear camera 114, the focal length of the telephoto lens 114a is longer than that of the standard lens 114b, allowing for magnified imaging of distant subjects compared to using the standard lens 114b. Furthermore, the focal length of the ultra-wide-angle lens 114c is shorter than that of the standard lens 114b, enabling imaging of a wider area than with the standard lens 114b. In other words, the focal lengths decrease in the order of telephoto lens 114a, standard lens 114b, and ultra-wide-angle lens 114c, resulting in a wider field of view.

[0026] Furthermore, the telephoto lens 114a, the standard lens 114b, and the ultra-wide-angle lens 114c are all lenses with a zoom function, and the shooting angle of view can be continuously changed between the telephoto and wide-angle ends. However, the telephoto lens 114a, the standard lens 114b, and the ultra-wide-angle lens 114c may be lenses with a mechanism that optically magnifies to a predetermined magnification, or they may be lenses with a mechanism that allows the user to change the magnification.

[0027] Similarly, in the front camera 115, an image sensor is positioned for each lens: the telephoto lens 115a, the standard lens 115b, and the ultra-wide-angle lens 115c. In other words, the front camera 115 is a collection of three cameras capable of capturing images through each lens.

[0028] In the front camera 115, the focal length of the telephoto lens 115a is longer than that of the standard lens 115b, allowing for magnified imaging of distant subjects compared to using the standard lens 115b. Furthermore, the focal length of the ultra-wide-angle lens 115c is shorter than that of the standard lens 115b, enabling imaging of a wider area than with the standard lens 115b. In other words, the focal lengths decrease in the order of telephoto lens 115a, standard lens 115b, and ultra-wide-angle lens 115c, resulting in a wider field of view.

[0029] Furthermore, the telephoto lens 115a, standard lens 115b, and ultra-wide-angle lens 115c are all lenses with a zoom function, allowing for continuous changes in the shooting angle of view between the telephoto and wide-angle ends. The telephoto lens 115a, standard lens 115b, and ultra-wide-angle lens 115c may be lenses with a mechanism that optically achieves 1:1 magnification at a predetermined magnification, or they may have a mechanism that allows the user to change the magnification.

[0030] The smartphone 100 can simultaneously capture images through the telephoto lens 114a, standard lens 114b, ultra-wide-angle lens 114c, telephoto lens 115a, standard lens 115b, and ultra-wide-angle lens 115c. However, it is not limited to this; it can capture images through two to five lenses selected from the six lenses, or it can capture images through only one lens.

[0031] Both the rear camera 114 and the front camera 115 can display the LV image on the display 105. By operating the touch panel 106a, the user can select which lens's image to display on the display 105. For example, selecting the telephoto lens 114a will display an image that is more magnified than that of the standard lens 114b. Selecting the standard lens 114b will display an image that is wider-angle than that of the telephoto lens 114a and more magnified than that of the ultra-wide-angle lens 114c. Selecting the ultra-wide-angle lens 114c will display an image that is wider-angle than both the telephoto lens 114a and the standard lens 114b. Generally, the rear camera 114 is used to capture the scene in front of the user, while the front camera 115 is used for selfies to capture the user themselves.

[0032] The rear camera image processing unit 214 performs various image processing and subject recognition processing on the image (video) captured by the rear camera 114, in accordance with the control of the CPU 201. The rear camera image processing unit 214 includes a telephoto lens image processing unit 214a, a standard lens image processing unit 214b, and an ultra-wide-angle lens image processing unit 214c. The telephoto lens image processing unit 214a processes the image captured through the telephoto lens 114a. Similarly, the standard lens image processing unit 214b processes the image captured through the standard lens 114b, and the ultra-wide-angle lens image processing unit 214c processes the image captured through the ultra-wide-angle lens 114c.

[0033] The in-camera image processing unit 215 performs various image processing and subject recognition processing on images captured by the in-camera 115, in accordance with the control of the CPU 201. The in-camera image processing unit 215 includes a telephoto lens image processing unit 215a, a standard lens image processing unit 215b, and an ultra-wide-angle lens image processing unit 215c. The telephoto lens image processing unit 215a processes images captured through the telephoto lens 115a. Similarly, the standard lens image processing unit 215b processes images captured through the standard lens 115b, and the ultra-wide-angle lens image processing unit 215c processes images captured through the ultra-wide-angle lens 115c.

[0034] In this embodiment, a lens image processing unit is provided for each of the three lenses of the rear camera 114, but the configuration is not limited to this. For example, one lens image processing unit may be provided for two of the three lenses and another for the remaining lens, or one lens image processing unit may be provided for all three lenses. The front camera image processing unit 215 can be configured similarly.

[0035] The rear camera image processing unit 214 and the front camera image processing unit 215 can also perform various image processing operations on images stored in the non-volatile memory 203 or storage medium 108, video signals acquired via the external I / F 209, images acquired via the communication I / F 210, etc. Image processing operations performed by the rear camera image processing unit 214 and the front camera image processing unit 215 include A / D conversion, D / A conversion, image data encoding, compression, decoding, scaling (resizing), noise reduction, and color conversion.

[0036] The rear camera image processing unit 214 and the front camera image processing unit 215 may be composed of dedicated circuit blocks for performing specific image processing. Alternatively, the rear camera image processing unit 214 and the front camera image processing unit 215 may be integrated into a single processing block that handles the images obtained through each lens through parallel processing or time-division processing. Furthermore, depending on the type of image processing, it is also possible to have the CPU 201 perform image processing according to a program instead of the rear camera image processing unit 214 and the front camera image processing unit 215.

[0037] Next, image capture control using the front camera 115 will be described. Figure 3 is a flowchart showing image capture control according to the first embodiment using the front camera 115. Each process (step) indicated by the number S in the flowchart of Figure 3 is realized by the CPU 201 loading a predetermined program stored in the non-volatile memory 203 into the memory 202 and comprehensively controlling the operation of each part of the smartphone 100.

[0038] In S301, the CPU 201 switches the shooting mode to image capture using the front camera 115 in response to user input. In S302, the CPU 201 drives the lens of the front camera 115 that is set as the default lens. Here, it is assumed that the standard lens 115b is set as the default lens. In S303, the CPU 201 acquires an image (LV image) using the standard lens 115b of the front camera 115. In S304, the CPU 201 uses the standard lens image processing unit 214b to detect the area of ​​a person's face from the image acquired in S303. Since face detection can be performed using known techniques, a detailed explanation is omitted here.

[0039] In S305, the CPU 201 uses the standard lens image processing unit 214b to count the number of faces detected in S304. In S306, the CPU 201 uses the standard lens image processing unit 214b to determine whether there are multiple faces counted in S305. If the CPU 201 determines that there are not multiple faces (NO in S306), it proceeds to S307. In S307, the CPU 201 takes an image with the in-camera 115. In the subsequent S308, the CPU 201 writes the captured image to the storage medium 108 via the storage medium I / F 207, thereby terminating this process.

[0040] If it is determined in S306 that there are multiple faces (YES in S306), the CPU 201 proceeds to S309. In S309, the CPU 201 uses the standard lens image processing unit 214b to determine whether or not there is a face with a defect among the multiple faces detected in S304 (whether or not at least one face has a defect). If the CPU 201 determines that there are no faces with defects (NO in S309), it proceeds to S307. If it determines that there are faces with defects (YES in S309), it proceeds to S310.

[0041] In S310, CPU201 displays a notification on display105 indicating that the zoom magnification will be changed to the wide-angle magnification. Next, in S311, CPU201 determines whether the zoom magnification of the currently used lens is the widest angle magnification. When the determination in S311 is made, imaging is performed with the standard lens 115b, so CPU201 will determine whether the zoom magnification of the standard lens 115b is the widest angle magnification.

[0042] If CPU201 determines that the zoom magnification of the lens being used is not the widest angle magnification (NO in S311), it proceeds to S312. In S312, CPU201 changes the zoom magnification of the lens being used to a wider angle magnification, and then returns to S303. In this way, processing is performed again based on the image acquired in S303, so that even if there is an increase or decrease in the number of faces within the shooting angle between the previous S303 and the current S303, the processing can be adjusted to accommodate that increase or decrease.

[0043] If CPU201 determines in S311 that the zoom magnification of the lens being used is the widest angle magnification (YES in S311), it proceeds to S313. In S313, CPU201 determines whether there is a lens that can capture images at a wider angle than the lens currently being used. If CPU201 determines that there is a lens that can capture images at a wider angle (YES in S313), it proceeds to S314. If it determines that there is no lens that can capture images at a wider angle (NO in S313), it proceeds to S315.

[0044] In S314, the CPU 201 changes the lens used for imaging from the currently used lens to a lens capable of wider-angle imaging, and then returns the process to S303. In S315, the CPU 201 displays a notification (warning screen) on the display 105 indicating that at least one face is missing, and then proceeds the process to S307. The notification in S315 may be made using light (if the smartphone 100 has a light-emitting part) or sound (output from speaker 112b) instead of, or in conjunction with, a display on the display 105.

[0045] Thus, in the imaging control according to the first embodiment, the zoom magnification of the lens being used is automatically adjusted and changed to a lens that allows for wider-angle imaging so that the maximum zoom magnification is achieved so that the face is not cut off within the field of view. This reduces the likelihood of imaging being performed with the face cut off.

[0046] Although this explanation describes an example of imaging using the front camera 115, similar control can be applied when imaging using the rear camera 114 to reduce the likelihood of images being captured with parts of a person's face missing.

[0047] In the above embodiment, the rear camera 114 and the front camera 115 are configured to each have multiple lenses with different angles of view. Next, we will describe the image capture control when the rear camera 114 and the front camera 115 each have a single lens capable of optical zoom.

[0048] Figure 4 is a flowchart illustrating the image capture control according to the second embodiment using the front camera 115. For the sake of explanation, the front camera 115 is described as having only a standard lens 115b. Each process (step) indicated by the number S in the flowchart of Figure 4 is realized by the CPU 201 loading a predetermined program stored in the non-volatile memory 203 into the memory 202 and comprehensively controlling the operation of each part of the smartphone 100.

[0049] The process in S401 is equivalent to the process in S301 in the flowchart in Figure 3, so the explanation is omitted. In S402, CPU201 starts up with the standard lens 115b set to a zoom magnification that allows for changing to an intermediate or wide-angle (i.e., a telephoto zoom magnification). The processes in S403 to S409 are equivalent to the processes in S303 to S309 in the flowchart in Figure 3, so the explanation is omitted.

[0050] If the S409 judgment determines that there is at least one face with a defect (YES in S409), the CPU201 proceeds to S410. In S410, the CPU201 determines whether the zoom magnification of the standard lens 115b is at its widest angle. If the CPU201 determines that the zoom magnification is not at its widest angle (NO in S410), the process proceeds to S411.

[0051] In S411, CPU201 displays a notification on display 105 indicating that the zoom magnification of the standard lens 115b will be changed to a wider angle magnification. Subsequently, in S412, CPU201 changes the zoom magnification of the standard lens 115b to a wider angle magnification than the current zoom magnification by a predetermined amount, and then returns the process to S403.

[0052] If CPU201 determines in S410 that the zoom magnification is the widest angle magnification (YES in S410), it proceeds to S413. The process in S413 is the same as the process in S315 of the flowchart in Figure 3, so the explanation is omitted. After the process in S413, CPU201 proceeds to S407.

[0053] Thus, in the imaging control according to the second embodiment, the zoom magnification of the lens is automatically adjusted to the maximum zoom magnification that fits the face within the field of view without being cut off, thereby reducing the occurrence of images being taken with the face cut off. Although an example using the front camera 115 has been described here, the same control can be applied when using the rear camera 114 to reduce the occurrence of images being taken with the face cut off.

[0054] Figures 5(a) and 5(b) show examples of image transitions acquired by imaging control according to the flowcharts in Figures 3 and 4. Figure 5(a) is an example of an LV image in which a part of a person's face is missing in S309 (or S409). The CPU 201 instructs the image processing unit corresponding to the lens being used to display a face detection frame 504 superimposed on the LV image on the display 105 for faces detected by the face detection process in S304 (or S404). The CPU 201 determines, for example, that a part of the face detection frame 504 is not displayed on the display 105, indicating that a part of the face is missing.

[0055] In Figure 5(a), the faces of persons 501 and 502 are obscured, but the face of person 503 is not. If it is determined in S309 (or S409) that there is a defect in the face, the zoom magnification is changed to the wide-angle side in S312 (or S412), or the lens is changed to one that allows for wider-angle shooting in S314, thereby obtaining the image in Figure 5(b). In other words, Figure 5(b) is an example of an LV image obtained by zooming the shooting angle of view to the wide-angle side from the LV image in Figure 5(a).

[0056] Figures 3, 4, and 5(a) and 5(b) illustrate an example of detecting facial defects and enabling the acquisition of images without facial defects. By applying the defect detection to the entire body of a person, it is possible to obtain images in which no defects occur throughout the entire body.

[0057] Figure 5(c) shows an example of an image without missing parts, obtained by determining that the missing part is the whole body. When determining that the missing part is the whole body of a person, in S309 (or S409), the CPU 201 detects the area of ​​the person's whole body. Person detection can be performed using known techniques, for example, by first detecting the person's face and then estimating the whole body using pattern matching or the method described in Patent Document 1 above. After that, the zoom magnification of the lens is changed to the wide-angle side, including switching lenses, so that the estimated whole body fits within the shooting angle of view. As a result, an image without missing parts of the whole body can be obtained, as shown in Figure 5(c).

[0058] Although the present invention has been described in detail above based on its preferred embodiments, the present invention is not limited to these specific embodiments, and various forms that do not depart from the spirit of the invention are also included in the present invention. Furthermore, each of the embodiments described above is merely one embodiment of the present invention, and it is possible to combine each embodiment as appropriate.

[0059] For example, the user can set the number of people (faces) to be detected from the captured image via the operation unit 106, and the system may be configured to determine that there is a gap in the person (face) if the number of people (faces) counted in S305 and S405 is less than the set number of people to be detected. In other words, the determination is made by utilizing the fact that if a person's face does not fit completely within the field of view and is cut off, all the elements necessary to recognize the person's face are not present in the field of view, and therefore it will not be recognized as a person's face. In this case, the determinations in S306, S309, S406, and S409 are not performed, and the set number of people to be detected is compared with the number of people counted. If the number of people counted is less than the set number of people to be detected, it is determined that there is a gap in the person (face), and the processing from step S310 onwards is executed. If the number of people counted is equal to or greater than the set number of people to be detected, it is determined that there is no gap in the person (face), and the processing from step S307 onwards is executed. This makes it possible to determine whether or not a portion of a person's face is missing, even when there is only one person, and to prevent the camera from taking a picture with a missing face.

[0060] Furthermore, in the rear camera 114, although the telephoto lens 114a, standard lens 114b, and ultra-wide-angle lens 114c are all lenses with zoom capabilities, at least one of these may be a fixed-focal-length lens. The same configuration can be adopted for the front camera 115. If a fixed-focal-length lens is used, the judgment in S311 will always be 'YES'.

[0061] Furthermore, in the above embodiment, the process of automatically changing the zoom magnification to the wide-angle side is always performed when a cropping occurs, but the smartphone 100 may be configured so that the user can switch this function on and off by operating the operation unit 106.

[0062] Furthermore, although the above-described embodiments used the application of the present invention to a smartphone as an example, the present invention is applicable to any electronic device equipped with a display and a camera. Therefore, the present invention can be applied to, for example, tablet PCs, PDAs, digital cameras, etc. Needless to say, the components constituting the operating means for operating the electronic device will have a different configuration from the operating unit 106 shown in Figure 2, depending on the electronic device to which the present invention can be applied. In addition, as for the configuration of the video output of the electronic device according to the present invention, an external monitor may be used in addition to the display (display device), and the configuration may be limited to an interface for outputting a video signal to be displayed on the display.

[0063] The present invention can also be realized by supplying a program that implements one or more of the functions of the above-described embodiments to a system or device via a network or storage medium, and by having one or more processors in the computer of that system or device read and execute the program. It can also be realized by a circuit (e.g., an ASIC) that implements one or more functions. [Explanation of Symbols]

[0064] 100 Smartphones 105 displays 106 Operation section 112b speaker 114 Rear Camera 114a, 115a Telephoto lenses 114b, 115b Standard Lens 114c, 115c ultra-wide-angle lens 115 Front Camera 214 Rear camera image processing unit 215 In-camera image processing unit

Claims

1. An imaging device having a plurality of lenses with different angles of view, a control means for controlling the display means to display a first image captured through the first lens; a determination unit that determines whether or not a subject included in the first image has a defect, The imaging device is characterized in that, when it is determined that the subject contained in the first image has a missing part, the control means automatically switches from displaying the first image to displaying a second image, which is a wider-angle image than the first image obtained by capturing the image through a second lens that is wider-angle than the first lens.

2. An operation unit that accepts specific user operations, the control means controls to switch between displaying the first image and displaying the second image in response to the specific user operation; The imaging device according to claim 1, characterized in that the control means controls the display to automatically switch from displaying the first image to displaying the second image without the specific operation being performed when it is determined that the subject contained in the first image has a missing part.

3. The imaging device described in claim 1 or 2, characterized in that the determination means determines that the subject included in the first image is missing when the subject included in the first image is a person and part of the person's face is missing.

4. The method further comprises: detecting means for detecting a face or a whole body of a person from the first image; 3. The imaging apparatus according to claim 1, wherein the determining unit determines whether or not a defect occurs in the face or whole body area detected by the detecting unit.

5. The method further includes a setting unit for setting the number of subjects included in the first image, The imaging device according to claim 1 or 2, characterized in that the determination means determines that there is a missing subject in the first image when the number of subjects that are people among the subjects included in the first image is less than the set number.

6. the first lens has a zoom function; the first image is obtained by capturing an image using a first zoom magnification of the first lens; The imaging device according to claim 1 or 2, characterized in that, when it is determined that the subject contained in the first image has a missing part, the control means automatically switches, instead of displaying the second image, to displaying a third image obtained by capturing an image by switching the magnification of the first lens to a second zoom magnification that is wider-angle than the first zoom magnification.

7. The imaging device according to any one of claims 1 to 6, further comprising a display device that displays the first image and an image obtained by imaging performed when it is determined that there is a defect in the subject included in the first image.

8. The imaging device described in Claim 7, characterized in that the control means controls the display device to display specified information when it is determined that the subject contained in the first image has a defect.

9. 9. The imaging device according to claim 7, wherein the plurality of lenses are disposed on the same surface as the display device.

10. Further comprising a light emitting means, 10. The imaging device according to claim 1, wherein the control means controls the light emitting means to emit light when it is determined that the subject included in the first image has a missing part.

11. Further comprising an audio output means, The imaging device according to any one of claims 1 to 10, characterized in that the control means controls the audio output means to output audio from the audio output means when it is determined that the subject included in the first image has a missing part.

12. 12. The imaging apparatus according to claim 1, further comprising a setting unit that sets whether switching from the first lens to the second lens is enabled or disabled.

13. 13. The imaging apparatus according to claim 1, wherein the determining unit performs the determination when a plurality of people are present as subjects included in the first image.

14. A method for controlling an imaging device having a plurality of lenses with different angles of view, comprising the steps of: displaying a first image captured through a first lens on a display means; determining whether or not a subject included in the first image has a defect; and when it is determined that the subject contained in the first image is missing, automatically switching from displaying the first image to displaying a second image, the second image being an image with a wider angle than the first image obtained by capturing the image through a second lens that is wider angle than the first lens.

15. A program for causing a computer to function as each of the means of the imaging apparatus according to any one of claims 1 to 13.