Electronic apparatus and control method

The electronic device uses dual detection modes and high-reliability area settings to maintain secure operation by accurately authenticating users despite changes in face orientation, addressing the limitations of existing face recognition systems.

JP2024118737AActive Publication Date: 2024-09-02LENOVO IRELAND INTERNATIONAL LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023025183
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2024-09-02
Estimated Expiration
2043-02-21

AI Technical Summary

Technical Problem

Existing face recognition systems in electronic devices struggle to maintain security by accurately detecting and authenticating users when the user's face is not facing forward after activation, leading to potential unauthorized access.

Method used

The electronic device employs a dual detection mode system with a standard and high-precision face detection, setting a high-reliability area based on detected face areas, and performs face authentication only when the face area moves outside this area, transitioning to a standby state if the face is not authenticated.

Benefits of technology

This approach enhances security by reducing false authentications and maintaining accurate face recognition even when the user's face orientation changes, ensuring secure operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024118737000001
    Figure 2024118737000001
Patent Text Reader

Abstract

To improve security by using face authentication.SOLUTION: An electronic apparatus comprises: a memory for temporarily storing image data on images imaged by an imaging device; and a processor for executing system processing based on a program of a system and processing using the image data. The processor performs: face detection processing having a first detection mode for detecting a face area, in which a face is imaged, from the image in the image data stored in the memory with first detection accuracy and a second mode in which detection is performed with second detection accuracy higher than the first detection accuracy; first area setting processing that when the face area is detected in the second detection mode by the face detection processing, sets a first area based on the detected face area; face authentication processing that when a face area detected by the face detection processing is a second area outside the first area, performs face authentication based on the face area detected in the second area; and stand-by state control processing for transiting the system into a stand-by state on the basis of an authentication result by the face authentication processing.SELECTED DRAWING: Figure 11
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an electronic device and a control method. [Background technology]

[0002] There is an electronic device that transitions to a usable operating state when a person approaches, and transitions to a standby state in which all functions are stopped except for some functions when the person leaves. For example, Patent Document 1 discloses a technology that uses an infrared sensor to detect the strength of infrared rays, thereby detecting whether a person is approaching or has left, and controlling the operating state of the electronic device.

[0003] In recent years, the accuracy of detecting faces from images has improved due to developments in computer vision and the like. Therefore, instead of detecting people using infrared sensors, people are also detected using face detection. In detecting people using face detection, not only can people be detected, but also it is possible to determine whether or not the person is a user by performing face authentication. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2016-148895 A Summary of the Invention [Problem to be solved by the invention]

[0005] For example, improved security can be expected by implementing controls such as starting up an electronic device when the user approaches but not starting up if someone other than the user approaches, or locking the electronic device (transitioning to a standby state) when the user leaves while the device is in operation so that it cannot be used even if someone other than the user is detected.

[0006] However, the face angle at which face authentication can be performed is limited to a range of about ±15 degrees from the front. When performing face authentication to start up an electronic device, the user consciously faces the front, but after the user's face authentication is successful and the device is started up, the user does not always face the front, so face authentication will fail even if the user turns slightly to the side. For this reason, it has been difficult to control the locking of an electronic device using face authentication while it is in operation after it is started up.

[0007] The present invention has been made in consideration of the above-mentioned circumstances, and has as its object to provide an electronic device and a control method that improve security by using face authentication. [Means for solving the problem]

[0008] The present invention has been made to solve the above-mentioned problems, and an electronic device according to a first aspect of the present invention includes a memory that temporarily stores image data of an image captured by an imaging device, and a processor that executes system processing based on a system program and processing using the image data, and the processor performs a face detection process having a first detection mode that detects a face area in which a face is captured from the image of the image data stored in the memory with a first detection accuracy and a second detection mode that detects with a second detection accuracy higher than the first detection accuracy, a first area setting process that sets a first area based on the detected face area when the face area is detected in the second detection mode by the face detection process, a face authentication process that performs face authentication based on the face area detected in the second area when the face area detected by the face detection process becomes a second area outside the first area, and a standby state control process that transitions the system to a standby state based on the authentication result by the face authentication process.

[0009] In addition, an electronic device according to a second aspect of the present invention includes a memory that temporarily stores image data of an image captured by an imaging device, and a processor that executes system processing based on a system program and processing using the image data, and the processor performs a face detection process to detect an area from the image of the image data stored in the memory where an evaluation value of face-likeness is equal to or greater than a first threshold as a face area, a first area setting process to set a first area based on the detected face area when the face detection process detects a face area where the evaluation value is equal to or greater than a second threshold that is higher than the first threshold, a face authentication process to perform face authentication based on the face area detected in the second area when the face area detected by the face detection process becomes a second area outside the first area, and a standby state control process to transition the system to a standby state based on the authentication result of the face authentication process.

[0010] In the electronic device, when a plurality of face areas are detected in the face detection process, the processor may perform the first area setting process and the face authentication process based on one of the plurality of face areas.

[0011] In the electronic device, the processor may perform the first area setting process and the face authentication process based on a largest face area among the plurality of face areas.

[0012] In the electronic device, the processor may perform the first area setting process and the face authentication process based on a face area that is closest to a center of the image among the plurality of face areas.

[0013] In the above electronic device, the processor may set the first area in the first area setting process, and then change the position or size of the first area in accordance with a change in the position or size of the face area detected by the face detection process.

[0014] In the electronic device, the processor may cancel the first area based on the fact that the face area detected by the face detection process has become the second area in the first area setting process.

[0015] In the above electronic device, the processor may, in the first area setting process, re-set the first area based on the face area detected in the second area based on the result of face authentication based on the face area detected in the second area by the face authentication process being successful.

[0016] The above electronic device may further include a sensor that detects movement of the electronic device, and the processor may further perform a determination process using the sensor to determine whether or not the electronic device is being held in a hand, and if the determination process determines that the electronic device is being held in a hand, may suspend execution of the standby state control process that outputs information for transitioning the system to a standby state based on the authentication result of the face recognition process.

[0017] In the above electronic device, the imaging device may include a first imaging element that captures visible light and a second imaging element that captures infrared light, the first detection mode may be a detection mode in which imaging is performed using only the first imaging element of the first and second imaging elements, and the second detection mode may be a detection mode in which imaging is performed using at least the second imaging element.

[0018] In addition, according to a third aspect of the present invention, a control method in an electronic device having a memory that temporarily stores image data of an image captured by an imaging device, and a processor that executes system processing based on a system program and processing using the image data includes a face detection step in which the processor has a first detection mode that detects a face area in which a face is captured from the image of the image data stored in the memory with a first detection accuracy and a second detection mode that detects with a second detection accuracy higher than the first detection accuracy, a first area setting step that sets a first area based on the detected face area when the face area is detected in the second detection mode by the face detection step, a face authentication step that performs face authentication based on the face area detected in the second area when the face area detected by the face detection step becomes a second area outside the first area, and a standby state control step that transitions the system to a standby state based on the authentication result by the face authentication step.

[0019] In addition, according to a fourth aspect of the present invention, a control method in an electronic device having a memory that temporarily stores image data of an image captured by an imaging device, and a processor that executes system processing based on a system program and processing using the image data includes a face detection step in which the processor detects an area in the image of the image data stored in the memory having a face-likeness evaluation value equal to or greater than a first threshold as a face area, a first area setting step in which, if the face detection step detects a face area in which the evaluation value is equal to or greater than a second threshold that is higher than the first threshold, a first area setting step in which a first area is set based on the detected face area, if the face area detected by the face detection step becomes a second area outside the first area, a face authentication step in which a face is authenticated based on the face area detected in the second area, and a standby state control step in which the processor transitions the system to a standby state based on the authentication result by the face authentication step. Effect of the Invention

[0020] According to the above aspects of the present invention, security can be improved using face authentication. [Brief description of the drawings]

[0021] [Figure 1] 4 is a view for explaining an overview of HPD processing of the electronic device according to the first embodiment. [Diagram 2] FIG. 4 is a diagram showing an example of a captured image in which a face area is detected. [Diagram 3] FIG. 13 is a diagram showing an example of a captured image in which a face area is not detected. [Figure 4] FIG. 4 is a diagram showing an example of setting a high reliability area according to the first embodiment. [Diagram 5] FIG. 4 is a diagram showing an example of a comparison between a standard detection mode and a high-precision detection mode according to the first embodiment. [Figure 6] FIG. 1 is a perspective view showing an example of the external configuration of an electronic device according to a first embodiment. [Figure 7] FIG. 2 is a block diagram showing an example of a hardware configuration of the electronic device according to the first embodiment. [Figure 8] FIG. 2 is a block diagram showing an example of the functional configuration of the electronic device according to the first embodiment. [Figure 9] FIG. 4 is an explanatory diagram of tracking of a highly reliable region according to the first embodiment. [Figure 10] 6 is a flowchart showing an example of face detection processing in a standard detection mode according to the first embodiment. [Figure 11] 5 is a flowchart showing an example of a standby state control process according to the first embodiment. [Figure 12] FIG. 11 is a block diagram showing an example of a functional configuration of an electronic device according to a second embodiment. [Figure 13] 10 is a flowchart showing an example of a process for suspending the standby state control process according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. <First embodiment> First, an overview of an electronic device 1 according to the first embodiment will be described. The electronic device 1 according to this embodiment is, for example, a notebook PC (Personal Computer).

[0023] The electronic device 1 has at least a "normal operating state" and a "standby state" as system operating states. The normal operating state is an operating state in which processing can be executed without particular restrictions, and corresponds to, for example, the S0 state defined by ACPI (Advanced Configuration and Power Interface).

[0024] The standby state is a state in which the use of at least some functions of the system is restricted, for example, a state in which the system is locked. The locked state is a state in which a preset image (for example, a lock image) is displayed on the display unit so that the contents being processed cannot be seen, and the system cannot be used until the lock is released by user authentication or the like. The standby state may be a standby state or a sleep state, and may be a state equivalent to modern standby in Windows (registered trademark) or the S3 state (sleep state) defined by ACPI. In other words, the standby state corresponds to, for example, an operating state in which power consumption is lower than in a normal operating state, a state in which the user cannot see the contents of the work of the electronic device 1, or a state in which the user cannot use the electronic device 1.

[0025] The operating state of the system also includes a "stop state" in which power consumption is even lower than in the standby state. The stop state is, for example, a hibernation state or a power-off state. The hibernation state corresponds to, for example, the S4 state defined by ACPI. The power-off state corresponds to, for example, the S5 state (shutdown state) defined by ACPI.

[0026] In the following, the transition of the system's operating state from the standby state or the stopped state to the normal operating state may be referred to as "activation." Since the standby state and the stopped state are, for example, less active than the normal operating state, activating the system of the electronic device 1 activates the operation of the system in the electronic device 1.

[0027] FIG. 1 is a diagram for explaining an outline of the HPD process of the electronic device 1 according to the present embodiment. The electronic device 1 detects a person (i.e., a user) present in the vicinity of the electronic device 1. This process of detecting the presence of a person is called HPD (Human Presence Detection) process. The electronic device 1 detects the presence or absence of a person by the HPD process, and controls the operation state of the system of the electronic device 1 based on the detection result. For example, as shown in FIG. 1(A), when the electronic device 1 detects a change from a state in which no person is present in front of the electronic device 1 (Absence) to a state in which a person is present (Presence), that is, when the electronic device 1 detects that a person has approached the electronic device 1 (Approach), the electronic device 1 determines that a user has approached, automatically starts the system, and transitions to a normal operation state. Also, as shown in FIG. 1(B), when a person is present in front of the electronic device 1 (Presence), the electronic device 1 determines that a user is present, and continues the normal operation state. Then, when the electronic device 1 detects a change from a state in which a person is present (Presence) in front of the electronic device 1 (front) to a state in which a person is not present (Absence), that is, when the electronic device 1 detects that the person has left the electronic device 1 (Leave), as shown in Figure 1 (C), it determines that the user has left and transitions the system to a standby state.

[0028] For example, the electronic device 1 has a face detection function, and detects a face area in which a face is captured from a captured image captured in front (front side) to determine whether or not a user is present in front of (front of) the electronic device 1. When a face area is detected from a captured image, the electronic device 1 determines that a user is present. On the other hand, when a face area is not detected from a captured image, the electronic device 1 determines that a user is not present. That is, when a face area is detected from a captured image after not being detected, the electronic device 1 detects that a user has approached the electronic device 1 (Approach) and transitions the system to a normal operation state. Also, when a face area is no longer detected from a captured image after being detected, the electronic device 1 detects that a user has left the electronic device 1 (Leave) and transitions the system to a standby state.

[0029] Here, when detecting a face region from a captured image, it may not be possible to detect it correctly due to factors such as wearing a mask, and face detection may become unstable. Figures 2 and 3 show examples of captured images for face detection. Figure 2 is a diagram showing an example of a captured image in which a face region has been detected. Meanwhile, Figure 3 is a diagram showing an example of a captured image in which a face region has not been detected.

[0030] In FIG. 2, a bounding box 101 indicates a face region detected from the captured image G11. As a method for detecting a face region, any detection method can be applied, such as a face detection algorithm that detects a face based on facial feature information, learning data (trained model) that is machine-learned based on facial feature information or a face image, or a face detection library. For example, the electronic device 1 acquires an evaluation value (hereinafter referred to as a "face detection evaluation value") indicating face-likeness from the captured image using learning data that is machine-learned by reading image data of a plurality of face images, and detects an area where the face detection evaluation value is equal to or greater than a predetermined threshold (hereinafter referred to as a "face determination threshold") as a face region. As an example, when the face determination threshold is "70", for example, in the example shown in FIG. 2, the face detection evaluation value is "70", and the face detection evaluation value is equal to or greater than the face determination threshold, and therefore the area is detected as a face region. On the other hand, in the example shown in FIG. 3, for example, the face detection evaluation value is "68", and the face detection evaluation value is less than the face determination threshold, and therefore the area is not detected as a face region. The bounding box 101 visualizes coordinate information (coordinate information in the image area) of the position and size (length and width) of the detected face area. For example, the detection result of the face area is output as information including the coordinate information of the face area and a face detection evaluation value.

[0031] In this way, when the face detection evaluation value approaches the boundary determined by the face determination threshold due to factors such as wearing a mask, face detection may become unstable, with the face sometimes being determined as a face and sometimes not. Note that the face detection evaluation value may approach the boundary determined by the face determination threshold due to various factors such as the direction of the face, not limited to when a mask is worn. For example, if the face determination threshold is lowered, as shown in Figure 3, there is a higher possibility that an area that has not been detected as a face area will be detected as a face area, but on the other hand, there is a higher possibility that an area that is not a human face will be erroneously detected as a face area due to wrinkles in clothes or the arrangement of objects.

[0032] Therefore, in this embodiment, when a face area is detected in a detection mode that detects a face area with higher detection accuracy than face detection in HPD processing, the reliability of the detection result can be determined to be high (there is a high possibility that a face exists), and therefore the face determination threshold is lowered only for a specific area based on the detected face area. This increases the possibility that a person's face area will be correctly detected as a face area without increasing the possibility that an area that is not a person's face will be erroneously detected as a face area, thereby realizing stable face detection.

[0033] Hereinafter, the face detection mode in HPD processing will be referred to as the "standard detection mode," and the detection mode that detects a face area with higher detection accuracy than the face detection in HPD processing will be referred to as the "high-precision detection mode." In addition, a specific area based on a face area detected in the high-precision detection mode (an area where the reliability of the face area detection result is high) will be referred to as a "high-reliability area," and the captured image other than this area will be referred to as a "standard area."

[0034] FIG. 4 is a diagram showing an example of setting a high reliability area according to the present embodiment. A bounding box 102 indicates a face area detected from a captured image G13 in high accuracy detection mode. A high reliability area 103 is set as an area wider than the bounding box 102 including the bounding box 102. For example, the high reliability area 103 is set as a wide area with the center of the bounding box 102 as the center and the vertical and horizontal lengths of the bounding box 102 added by a predetermined percentage (for example, 50%) to the vertical and horizontal lengths of the bounding box 102. When detecting a face area from a captured image in standard detection mode in HPD processing, the face determination threshold is set low only for the high reliability area 103. For example, the face determination threshold of the high reliability area 103 is set to a value lower by a predetermined percentage (for example, 10%) than the face determination threshold of a standard area other than the high reliability area 103.

[0035] For example, when the face determination threshold of the standard region is set to "70," the face determination threshold of the high-reliability region is set to "63." In the examples shown in Figures 2 and 3, when a high-reliability region is not set, a face region is sometimes detected (Figure 2: face detection evaluation value = 70) and sometimes not (Figure 3: face detection evaluation value = 68), but when a high-reliability region is set and the face determination threshold becomes "63," both face detection evaluation values ​​become equal to or greater than the face determination threshold, and the face region is stably detected.

[0036] The face determination threshold of the standard region is not set to a single value, but is a value that changes appropriately depending on the brightness of the captured image, etc. The face determination threshold of the high reliability region 103 is set to a value that is a predetermined percentage (for example, 10%) lower than the face determination threshold of the standard region at that time.

[0037] In addition, the number of face regions detected from the captured image is not limited to one, but even if multiple face regions are detected, a high reliability region is set for the most main face region among the face regions detected from the captured image. The most main face region is, for example, the largest face region among the face regions detected from the captured image. In addition, the most main face region may be determined based on a factor related to the position in the captured image (for example, close to the center) instead of or in addition to the size of the face region.

[0038] Next, the difference between the standard detection mode and the high-precision detection mode will be described with reference to FIG. 5. FIG. 5 is a diagram showing an example of a comparison between the standard detection mode and the high-precision detection mode according to the present embodiment. The standard detection mode is used for a face detection function. On the other hand, the high-precision detection mode is used for a face authentication function. In face authentication processing, the high-precision detection mode is required because it is necessary to match the features of the face with a higher degree of precision. For example, the high-precision detection mode is applied when the face authentication function is used in authentication processing at the time of login, authentication processing at the time of accessing data with access restrictions, and the like.

[0039] In the standard detection mode, an image is captured using an RGB sensor that captures visible light as an imaging sensor. On the other hand, in the high-precision detection mode, an image is captured using an IR (Infrared Radiation) sensor that can capture infrared light in addition to the RGB sensor. In the high-precision detection mode, an image may be captured using only the IR sensor out of the RGB sensor and the IR sensor. By using the IR sensor, it is possible to capture facial features required for face authentication even in a low-illumination environment, but on the other hand, power consumption is high because infrared light is emitted. In the high-precision detection mode, the frame rate is increased compared to the standard detection mode to detect the face area, thereby increasing the detection accuracy. In this case, the power consumption is also increased by the amount of power consumption due to the increased frame rate. In the high-precision detection mode, the face area may be detected at a higher resolution than in the standard detection mode.

[0040] In other words, the standard detection mode is a detection mode in which only the RGB sensor out of the RGB sensor and the IR sensor is used to capture an image, and the high-precision detection mode is a detection mode in which at least the IR sensor is used to capture an image. It can also be said that the standard detection mode is a detection mode that consumes less power in face detection processing than the high-precision detection mode. It can also be said that the standard detection mode is a detection mode for detecting a face area from a captured image, and the high-precision detection mode is a detection mode for detecting a face area for face authentication from a captured image.

[0041] Although the difference between the standard detection mode and the high-precision detection mode has been described with reference to FIG. 5, as long as the high-precision detection mode can detect a face area with higher accuracy than the standard detection mode, all of the functions, imaging sensor, frame rate, and resolution do not need to be different. For example, the standard detection mode and the high-precision detection mode may have different imaging sensors, but either or both of the frame rate and the resolution may be the same. Also, the standard detection mode and the high-precision detection mode may have the same imaging sensor as long as either or both of the frame rate and the resolution are different. In any case, power consumption is higher in the high-precision detection mode than in the standard detection mode, so that in the standard detection mode, stable face detection can be achieved without increasing power consumption by using the detection result in the high-precision detection mode to set a high reliability area and detect a face area.

[0042] Next, the configuration of the electronic device 1 according to this embodiment will be described in detail. [External configuration of electronic device] FIG. 6 is a perspective view showing an example of the external configuration of the electronic device 1 according to the present embodiment. The electronic device 1 includes a first housing 10, a second housing 20, and a hinge mechanism 15. The first housing 10 and the second housing 20 are connected using the hinge mechanism 15. The first housing 10 is rotatable relative to the second housing 20 around a rotation axis defined by the hinge mechanism 15. The opening angle resulting from the rotation of the first housing 10 and the second housing 20 is illustrated as "θ".

[0043] The first housing 10 is also called the A cover or the display housing. The second housing 20 is also called the C cover or the system housing. In the following description, the sides of the first housing 10 and the second housing 20 on which the hinge mechanism 15 is provided are called the sides 10c and 20c, respectively. The sides of the first housing 10 and the second housing 20 opposite the sides 10c and 20c are called the sides 10a and 20a, respectively. In the drawings, the direction from the side 20a to the side 20c is called the "rear", and the direction from the side 20c to the side 20a is called the "front". The right and left sides of the rear are called the "right" and "left", respectively. The left sides of the first housing 10 and the second housing 20 are called the sides 10b and 20b, respectively, and the right sides are called the sides 10d and 20d, respectively. Moreover, a state in which the first housing 10 and the second housing 20 overlap and are completely closed (a state in which the opening angle θ=0°) is referred to as a "closed state." In the closed state, the surfaces of the first housing 10 and the second housing 20 that face each other are referred to as the "inner surfaces," and the surfaces opposite the inner surfaces are referred to as the "outer surfaces." Moreover, a state in which the first housing 10 and the second housing 20 are open relative to the closed state is referred to as an "open state."

[0044] The appearance of the electronic device 1 shown in FIG. 6 shows an example of an open state. In the open state, the side surface 10a of the first housing 10 and the side surface 20a of the second housing 20 are separated. In the open state, the inner surfaces of the first housing 10 and the second housing 20 are exposed. The open state is one of the states when the user uses the electronic device 1, and is typically used in a state where the opening angle θ is about 100 to 130°. The range of the opening angle θ in the open state can be arbitrarily determined depending on the range of angles that can be rotated by the hinge mechanism 15, etc.

[0045] A display unit 110 is provided on the inner surface of the first housing 10. The display unit 110 is configured to include a liquid crystal display (LCD) or an organic EL (Electro Luminescence) display. An imaging unit 120 is provided in a peripheral region of the display unit 110 on the inner surface of the first housing 10. For example, the imaging unit 120 is disposed on the side surface 20a side of the peripheral region of the display unit 110. Note that the position where the imaging unit 120 is disposed is merely an example, and the imaging unit 120 may be disposed in another location as long as it can face in a direction (forward) facing the inner surface of the first housing 10.

[0046] In the open state, imaging unit 120 captures an image of a predetermined imaging range in a direction (forward) facing the inner surface of first housing 10. The predetermined imaging range is a range of an angle of view determined by an imaging sensor (imaging element) of imaging unit 120 and a lens provided in front of the imaging surface of the imaging sensor. For example, imaging unit 120 includes two cameras, first camera 121 and second camera 122.

[0047] The first camera 121 is a camera equipped with an RGB sensor as an imaging sensor that receives visible light incident through a lens and performs photoelectric conversion. The second camera 122 is a camera equipped with an IR sensor as an imaging sensor that receives infrared light incident through a lens and performs photoelectric conversion. The first camera 121 and the second camera 122 can each capture an image including a person present in front of the electronic device 1 (front).

[0048] A power button 140 is provided on the side surface 20b of the second housing 20. The power button 140 is an operator for the user to instruct power on (transition from a stopped state to a normal operating state) or power off (transition from a normal operating state to a stopped state). A keyboard 151 and a touch pad 153 are provided on the inner surface of the second housing 20 as input devices. Note that the input devices may include a touch sensor instead of or in addition to the keyboard 151 and the touch pad 153, or a mouse or an external keyboard may be connected. In the case of a configuration in which a touch sensor is provided, the display unit 110 may be configured as a touch panel in which a touch sensor is provided in an area corresponding to the display surface of the display unit 110. The input devices may also include a microphone into which voice is input.

[0049] In addition, in a closed state where the first housing 10 and the second housing 20 are closed, the display unit 110 and the imaging unit 120 provided on the inner surface of the first housing 10, and the keyboard 151 and the touch pad 153 provided on the inner surface of the second housing 20 are covered by the surface of the other housing. That is, in the closed state, the electronic device 1 is in a state where it cannot perform at least functions related to input and output.

[0050] [Hardware configuration of electronic devices] Fig. 7 is a block diagram showing an example of a hardware configuration of the electronic device 1 according to this embodiment. In Fig. 7, the same reference numerals are used for configurations corresponding to the respective units in Fig. 6. The electronic device 1 includes a display unit 110, an imaging unit 120, an acceleration sensor 130, a power button 140, an input device 150, a video output terminal 160, an EC (Embedded Controller) 200, a face detection unit 220, a system processing unit 300, a communication unit 350, a storage unit 360, and a power supply unit 400. The display unit 110 displays display data (images) generated based on the system processing executed by the system processing unit 300 and the processing of an application program running on the system processing.

[0051] The imaging unit 120 has a first camera 121 and a second camera 122, each of which captures an image of an object within a predetermined angle of view in a direction (forward) facing the inner surface of the first housing 10, and outputs image data of the captured captured image to the system processing unit 300 and the face detection unit 220. As described with reference to FIG. 6, the first camera 121 has an RGB sensor and captures an image by receiving visible light. The first camera 121 outputs image data of the captured visible light image (RGB image). The second camera 122 has an IR sensor and a light emitting unit that emits infrared light, and captures an image by receiving reflected light of the infrared light irradiated from the light emitting unit. The second camera 122 outputs image data of the captured infrared image (IR image). For example, the image data of the captured image captured by the imaging unit 120 is temporarily stored in the system memory 310 and is used for image processing or the like.

[0052] In the present embodiment, the electronic device 1 is provided with two cameras, the first camera 121 equipped with an RGB sensor and the second camera 122 equipped with an IR sensor, but the present invention is not limited to this. For example, the electronic device 1 may be provided with one camera capable of outputting image data of a visible light image (RGB image) and image data of an infrared image (IR image) using one imaging sensor (a so-called hybrid sensor) in which both pixels that receive visible light and images that receive infrared light are arranged.

[0053] The acceleration sensor 130 detects the orientation of the electronic device 1 with respect to the direction of gravity, and outputs a detection signal indicating the detection result to the EC 200. For example, the acceleration sensor 130 is provided in each of the first housing 10 and the second housing 20, detects the orientation of the first housing 10 and the orientation of the second housing 20, and outputs a detection signal indicating the detection result to the EC 200. Based on the detection result of the orientation of the first housing 10 and the orientation of the second housing 20, it is possible to detect the open / closed state of the electronic device 1 and the opening angle θ between the first housing 10 and the second housing 20. Note that instead of or in addition to the acceleration sensor 130, a gyro sensor, an inclination sensor, a geomagnetic sensor, or the like may be provided.

[0054] The power button 140 outputs an operation signal to the EC 200 in response to a user operation. The input device 150 is an input unit that accepts user input, and is configured to include, for example, a keyboard 151 and a touchpad 153. In response to accepting an operation on the keyboard 151 and the touchpad 153, the input device 150 outputs an operation signal indicating the operation content to the EC 200.

[0055] The video output terminal 160 is a connection terminal for connecting to an external display (display device). For example, the video output terminal 160 is an HDMI (registered trademark) terminal, a USB Type-C terminal, a display port, or the like.

[0056] The power supply unit 400 supplies power through a power supply system for supplying power to each unit according to the operating state of each unit of the electronic device 1. The power supply unit 400 includes a DC (Direct Current) / DC converter. The DC / DC converter converts the voltage of direct current power supplied from an AC (Alternate Current) / DC adapter or a battery pack into a voltage required by each unit. The power whose voltage has been converted by the DC / DC converter is supplied to each unit through each power supply system. For example, the power supply unit 400 supplies power to each unit through each power supply system based on a control signal input from the EC 200 according to the operating state of each unit.

[0057] The EC200 is a microcomputer including a central processing unit (CPU), a random access memory (RAM), a read only memory (ROM), a flash ROM, a multi-channel A / D input terminal, a D / A output terminal, and a digital input / output terminal. For example, the CPU of the EC200 reads a control program (firmware) stored in advance in its own or an external ROM, and executes the read control program to fulfill its functions. The EC200 is connected to an acceleration sensor 130, a power button 140, an input device 150, a face detection unit 220, a system processing unit 300, a power supply unit 400, and the like.

[0058] For example, when the EC 200 receives an operation signal corresponding to a user's operation on the power button 140, it instructs the system processing unit 300 to start up the system. Furthermore, the EC 200 instructs the system processing unit 300 to start up the system and to change the operating state based on the detection result by the face detection unit 220. Furthermore, the EC 200 communicates with the power supply unit 400 to obtain information on the battery state (remaining capacity, etc.) from the power supply unit 400, and outputs to the power supply unit 400 control signals for controlling the supply of power corresponding to the operating state of each unit of the electronic device 1.

[0059] Furthermore, the EC 200 acquires an operation signal from the input device 150 or the like, and outputs, to the system processing unit 300, an operation signal necessary for processing by the system processing unit 300 among the acquired operation signals. Furthermore, the EC 200 acquires a detection signal from the acceleration sensor 130, and detects the orientation of the electronic device 1 (the orientation of the first housing 10 and the second housing 20) and the opening angle θ between the first housing 10 and the second housing 20, based on the acquired detection signal.

[0060] Note that some of the functions of the EC 200 may be configured as a sensor hub or a chipset.

[0061] The face detection unit 220 is a processor that processes image data of a captured image captured by the imaging unit 120. The face detection unit 220 executes face detection processing and face authentication processing. For example, the face detection unit 220 executes face detection processing to acquire a captured image captured by the imaging unit 120 and detect a face area in which a face is captured from the acquired captured image.

[0062] Furthermore, the face detection unit 220 executes HPD processing to detect whether or not a user (person) is present in front of the electronic device 1 based on the detection result of the face detection processing. Furthermore, the face detection unit 220 detects a face area from the captured image acquired from the imaging unit 120, and then executes face authentication processing by matching the face image of the detected face area with a face image registered in advance (for example, a face image of a legitimate user). The configuration of this face detection unit 220 will be described in detail later.

[0063] The system processing unit 300 is composed of a CPU (Central Processing Unit) 302, a GPU (Graphic Processing Unit) 304, a memory controller 306, an I / O (Input-Output) controller 308, and a system memory 310, and is capable of executing processing of various application programs on an OS (Operating System) through system processing based on the OS.

[0064] The CPU 302 executes processes by the OS and processes by application programs that run on the OS. The CPU 302 also transitions the operating state of the system in response to an instruction from the EC 200. For example, when the operating state is a stopped state or a standby state and the CPU 302 receives an instruction to start from the EC 200, the CPU 302 executes a startup process to transition from the stopped state or the standby state to a normal operating state. The CPU 302 also transitions from the normal operating state to the standby state when it receives an instruction to switch to the standby state in the normal operating state. The CPU 302 also executes a shutdown process to transition from the normal operating state to the stopped state when it receives an instruction to shut down in the normal operating state.

[0065] Furthermore, in the startup process, the CPU 302 executes a login process to determine whether or not to permit use of the OS. When the startup process by the OS is started, the CPU 302 executes the login process before permitting use of the OS, and temporarily suspends transition to a normal operating state until login is permitted in the login process. In the login process, a user authentication process is performed to determine whether or not the person using the electronic device 1 is a legitimate user registered in advance. The authentication may be a password authentication, a face authentication, a fingerprint authentication, or the like.

[0066] For example, when performing user authentication processing by face authentication, the CPU 302 utilizes face authentication processing by the face detection unit 220. If the authentication result is successful, the CPU 302 permits login and resumes execution of the temporarily stopped system processing. On the other hand, if the authentication result is unsuccessful, the CPU 302 does not permit login and keeps the execution of the system processing stopped.

[0067] The GPU 304 is connected to the display unit 110. The GPU 304 executes image processing under the control of the CPU 302 to generate display data. The GPU 304 outputs the generated display data to the display unit 110. The CPU 302 and the GPU 304 may be integrated together to form one core, or the CPU 302 and the GPU 304 may be formed as individual cores with the load shared between them. The number of processors is not limited to one, and may be multiple.

[0068] The memory controller 306 controls the reading and writing of data from and to the system memory 310, the storage unit 360, etc. by the CPU 302 and the GPU 304. The I / O controller 308 controls the input and output of data from the communication unit 350 , the display unit 110 , and the EC 200 . The system memory 310 is used as a reading area for the execution program of the processor and a working area for writing processing data. The system memory 310 also temporarily stores image data of the captured image captured by the imaging unit 120.

[0069] The communication unit 350 is communicably connected to other devices via a wireless or wired communication network, and transmits and receives various data. For example, the communication unit 350 includes a wired LAN interface such as Ethernet (registered trademark) and a wireless LAN interface such as Wi-Fi (registered trademark).

[0070] The storage unit 360 includes storage media such as a hard disk drive (HDD), a solid state drive (SDD), a ROM, a flash ROM, etc. The storage unit 360 stores various programs such as an OS, device drivers, and applications, as well as various data acquired by the operation of the programs.

[0071] The system processing unit 300 may be configured as a single package processor as a system on a chip (SOC), or some of the functions may be configured as multiple processors such as a chipset or a sensor hub as a component separate from the CPU 302.

[0072] [Face detection section configuration] Next, the configuration of the face detection unit 220 will be described in detail. 8 is a schematic block diagram showing an example of the functional configuration of the electronic device 1 according to this embodiment. The face detection unit 220 shown in the figure is configured to include a processor that processes image data of a captured image captured by the imaging unit 120. The face detection unit 220 acquires image data of a captured image captured by the imaging unit 120, and temporarily stores the acquired image data in a memory. The memory that stores the image data may be the system memory 310, or may be a memory (not shown) in the face detection unit 220.

[0073] The face detection unit 220 processes image data of the captured image acquired from the imaging unit 120 to perform face detection processing for detecting a face area in which a face is captured from the captured image, and face authentication processing for authenticating a face in the detected face area. For example, the face detection unit 220 includes a face authentication processing unit 223, a detection area setting unit 222, a face detection processing unit 221, and an HPD processing unit 224.

[0074] The face detection processing unit 221 has a standard detection mode and a high-precision detection mode, and detects a face area from a captured image in either detection mode. As a method for detecting a face area, any detection method can be applied, such as a face detection algorithm that detects a face based on facial feature information, or face detection using learning data (trained model) machine-learned based on facial feature information or a face detection library.

[0075] For example, in the standard detection mode, the face detection processing unit 221 enables only the first camera 121 out of the first camera 121 and the second camera 122, and does not emit infrared rays from the second camera 122. The face detection processing unit 221 reads image data of the RGB image captured by the first camera 121 from the system memory 310. That is, in the standard detection mode, the face detection processing unit 221 detects a face area from within the RGB image. For example, the face detection processing unit 221 detects an area from within the RGB image where the face detection evaluation value is equal to or greater than a face determination threshold as a face area.

[0076] In addition, in the high-precision detection mode, the face detection processing unit 221 enables both the first camera 121 and the second camera 122, and causes the second camera 122 to emit infrared rays. The face detection processing unit 221 reads out image data of the RGB image and the IR image captured by the first camera 121 and the second camera 122 from the system memory 310. That is, in the high-precision detection mode, the face detection processing unit 221 detects a face area from the RGB image and the IR image. Note that in the high-precision detection mode, the face detection processing unit 221 may enable only the second camera 122 out of the first camera 121 and the second camera 122, and detect a face area from the IR image.

[0077] When a face area is detected by the face detection processing unit 221 in the high-accuracy detection mode, the detection area setting unit 222 sets a high-reliability area based on the face area detected in the high-accuracy detection mode. For example, the high-reliability area is used when detecting a face area in the standard detection mode. When a high-reliability area is set in the standard detection mode, the detection area setting unit 222 updates the position of the high-reliability area based on the position of the face area detected in the high-reliability area. For example, when the position or size of the face area detected in the high-reliability area has changed, the detection area setting unit 222 changes the position or size of the high-reliability area according to the change in the position or size of the face area. In other words, the detection area setting unit 222 makes the high-reliability area follow the change in the position or size of the face area detected in the high-reliability area (movement of the face).

[0078] Fig. 9 is an explanatory diagram of tracking of a high reliability area according to this embodiment. Fig. 9(A) shows a bounding box 104a when a face area centered at position a is detected, and a high reliability area 105a set based on the bounding box 104a. As shown in Fig. 9(B), when the center of the face area moves from position a to position b, the bounding box 104a and the high reliability area 105a move following the movement of the face area, and become a bounding box 104b and a high reliability area 105b.

[0079] When a face region is no longer detected within the high reliability region, the detection region setting unit 222 cancels the set high reliability region. For example, when the detected face region is outside the high reliability region (standard region) or when a face region is no longer detected, the detection region setting unit 222 cancels the set high reliability region.

[0080] Furthermore, when multiple face regions are detected by the face detection processing unit 221, the detection area setting unit 222 sets a high reliability area based on one of the multiple detected face regions (the most main face region). For example, the detection area setting unit 222 may set a high reliability area based on the largest face region among the multiple detected face regions. Furthermore, the detection area setting unit 222 may set a high reliability area based on the face region closest to the center of the captured image among the multiple detected face regions.

[0081] Here, when detecting a face region from a captured image in the standard detection mode, if a high reliability region is set, the face detection processing unit 221 detects the face region under different detection conditions for the high reliability region and the standard region. Specifically, the face determination threshold in the high reliability region is set lower than the face determination threshold in the standard region. For example, the face determination threshold in the high reliability region is set to a value that is a predetermined percentage (e.g., 10%) lower than the face determination threshold in the standard region.

[0082] Returning to Fig. 8, the face authentication processing unit 223 executes face authentication processing based on the face area detected in the captured image by the face detection processing unit 221 in high accuracy detection mode. As a face authentication method, any face authentication method can be applied, such as a face authentication algorithm that performs face authentication by comparing and matching feature information of the face image in the detected face area with feature information of a face image of a user registered in advance, or face authentication using learning data (trained model) machine-learned based on face feature information or a face authentication library. In other words, when a face area is detected in the captured image, it can be determined whether or not it is the face of the user based on the authentication result of face authentication.

[0083] For example, the face authentication processing unit 223 executes face authentication processing in response to a request from the user authentication unit 320, and responds with the authentication result to the user authentication unit 320. The user authentication unit 320 is a functional configuration that is realized by the system processing unit 300 executing an OS program. Based on the authentication result by the face authentication processing unit 223, the user authentication unit 320 performs user authentication processing at the time of login, user authentication processing at the time of access to data that is access restricted, and the like.

[0084] After login, the face authentication processing unit 223 does not execute face authentication processing while the face area detected by the face detection processing unit 221 in the standard detection mode is within the high reliability area. When the face area detected by the face detection processing unit 221 in the standard detection mode falls outside the high reliability area, the face detection processing unit 221 executes face detection in the high accuracy detection mode. Then, the face authentication processing unit 223 executes face authentication processing based on the face area detected in the high accuracy detection mode.

[0085] The HPD processing unit 224 judges whether or not a user is present in front of the electronic device 1 based on the detection result of the face area by the face detection processing unit 221 and the authentication result by the face authentication processing unit 223. For example, when the system is in a standby state, if the face area is detected by the face detection processing unit 221 in the standard detection mode, the HPD processing unit 224 judges that a user is present in front of the electronic device 1. Also, in a normal operation state after logging into the system, if the face area detected by the face detection processing unit 221 in the standard detection mode is within the high reliability area, the HPD processing unit 224 judges that it is the user's face (i.e., the user is present) without performing face authentication, and if the detected face area is outside the high reliability area, it judges whether or not it is the user's face (i.e., the user is present) based on the face authentication by the face authentication processing unit 223. Then, the HPD processing unit 224 outputs HPD information based on the judgment result of whether or not a user is present in front of the electronic device 1.

[0086] For example, when the determination result changes from a state where the user is not present in front of the electronic device 1 to a state where the user is present, the HPD processing unit 224 outputs HPD information (hereinafter referred to as "Approach information") indicating that the user has approached the electronic device 1. Also, while the HPD processing unit 224 determines that the user is present in front of the electronic device 1, it outputs HPD information (hereinafter referred to as "Presence information") indicating that the user is present in front of the electronic device 1. Also, when the detection state changes from a state where the user is present in front of the electronic device 1 to a state where the user is not present, the HPD processing unit 224 outputs HPD information (hereinafter referred to as "Leave information") indicating that the user has left the electronic device 1. The HPD processing unit 224 outputs the approach information, presence information, or leave information to the operation control unit 210 based on the detection result of the face area by the face detection processing unit 221.

[0087] The operation control unit 210 is a functional configuration realized, for example, by the EC 200 executing a control program, and acquires HPD information output from the HPD processing unit 224, and controls the operation state of the system based on the acquired HPD information.

[0088] For example, when the operation control unit 210 acquires approach information from the face detection unit 220 (HPD processing unit 224) in the standby state, the operation control unit 210 transitions the standby state to the normal operation state. Specifically, the operation control unit 210 instructs the system processing unit 300 to start up the system. For example, when starting up the system, the operation control unit 210 outputs a control signal to the power supply unit 400 to supply power required for the operation of each unit of the electronic device 1. Thereafter, the operation control unit 210 outputs a startup signal to instruct the system processing unit 300 to start up the system. Upon acquiring the startup signal, the system processing unit 300 starts up the system and transitions it from the standby state to the normal operation state.

[0089] Furthermore, while the operation control unit 210 is acquiring presence information from the face detection unit 220 (HPD processing unit 224) in the normal operation state, it restricts the system from transitioning to the standby state, and allows the normal operation state to continue. Note that even if the operation control unit 210 has acquired presence information from the face detection unit 220 (HPD processing unit 224), it may transition from the normal operation state to the standby state under a predetermined condition. The predetermined condition is, for example, a time during which no operation input is performed by the user (a time of no operation) continuing for a preset period of time, or an operation for transitioning to the standby state being performed, etc.

[0090] Furthermore, when the operation control unit 210 acquires leave information from the face detection unit 220 (HPD processing unit 224) during normal operation, it instructs the system processing unit 300 to transition the system from the normal operation state to the standby state. For example, the operation control unit 210 outputs a standby signal to instruct the system processing unit 300 to transition the system from the normal operation state to the standby state. Upon acquiring the standby signal, the system processing unit 300 transitions the system from the normal operation state to the standby state. Thereafter, the operation control unit 210 outputs a control signal to the power supply unit 400 to stop the supply of power that is not required in the standby state.

[0091] The operation control unit 210 may have a functional configuration of a chipset or a sensor hub instead of the EC 200. The chipset and sensor hub (not shown) are processors that transmit and receive data between the CPU 302 and peripheral components and process data, and collect data from, for example, the acceleration sensor 130 and the face detection unit 220. For example, the chipset and sensor hub have some or all of the functions of the memory controller 306 and the I / O controller 308.

[0092] [Face detection processing operation] Next, the operation of the face detection process in which the face detection unit 220 sets a highly reliable area in the standard detection mode and detects a face area will be described with reference to FIG. FIG. 10 is a flowchart showing an example of face detection processing in the standard detection mode according to this embodiment.

[0093] (Step S101) The face detection unit 220 determines whether a face area with high reliability (high possibility that a face exists) of the face detection result has been detected. For example, the face detection unit 220 determines that a face area with high reliability of the face detection result has been detected when a face area is detected in high accuracy detection mode. As an example, the face detection unit 220 determines that a face area with high reliability of the face detection result has been detected when a face area is detected in high accuracy detection mode in the face authentication process at the immediately previous login. The immediately previous login refers to the login at the start-up when transitioning to the current normal operation state, and refers to the case where there is no transition to a standby state or a stopped state after the login and the normal operation state continues after the login.

[0094] Note that the face detection section 220 may determine that the reliability of the detection result is high (there is a high possibility that a face is present) when the face detection evaluation value is high, not only in the high accuracy detection mode but also in the standard detection mode.

[0095] If the face detection unit 220 determines that a face area with high reliability of the face detection result has been detected (YES), the process proceeds to step S103. On the other hand, if the face detection unit 220 determines that a face area with high reliability of the face detection result has not been detected (NO), the process proceeds to step S105.

[0096] (Step S103) The face detection unit 220 sets a highly reliable area based on a highly reliable face area of ​​the face detection result (for example, a face area detected in high accuracy detection mode) (see FIG. 4), and then proceeds to the process of step S105.

[0097] (Step S105) The face detection unit 220 performs face detection processing to detect a face area from the captured image in standard detection mode. For example, the face detection unit 220 acquires a candidate face area and a face detection evaluation value from the captured image. Note that, when multiple face areas are detected from the captured image, the face detection unit 220 acquires a candidate for the most main face area among the multiple face areas and a face detection evaluation value. Then, the process proceeds to step S107.

[0098] (Step S107) The face detection unit 220 judges whether the candidate face area acquired in step S105 is within a high reliability area. If the face detection unit 220 judges that the candidate face area is within a high reliability area (YES), the process proceeds to step S109. On the other hand, if the face detection unit 220 judges that the candidate face area is not within a high reliability area (i.e., within a standard area) (NO), the process proceeds to step S115.

[0099] (Step S109) The face detection unit 220 determines the face detection evaluation value of the candidate face region in the high reliability region using the face determination threshold value for the high reliability region (for example, "63"), and then proceeds to the process of step S111.

[0100] (Step S111) The face detection unit 220 determines whether the face detection evaluation value is equal to or greater than the face determination threshold of the high reliability region, and if it is determined that the face detection evaluation value is equal to or greater than the face determination threshold of the high reliability region (YES), it determines that the region is a face region and proceeds to processing of step S113. On the other hand, if the face detection unit 220 determines that the face detection evaluation value is less than the face determination threshold of the high reliability region (NO), it determines that the region is not a face region and proceeds to processing of step S119.

[0101] (Step S113) The face detection unit 220 updates the high reliability region based on the detected face region. For example, when the position or size of the detected face region has changed from the position or size of the face region detected immediately before, the face detection unit 220 changes the position or size of the high reliability region in response to the change in the position or size.

[0102] (Step S115) The face detection unit 220 uses a standard region face determination threshold (for example, "70") to determine the face detection evaluation value of a candidate face region outside the high reliability region (or in a state where no high reliability region is set). Then, the process proceeds to step S117.

[0103] (Step S117) The face detection unit 220 determines whether the face detection evaluation value is equal to or greater than the face determination threshold for the standard region, and if it is determined that the face detection evaluation value is equal to or greater than the face determination threshold for the standard region (YES), it determines that the region is a face region and proceeds to the process of step S119. On the other hand, if the face detection unit 220 determines that the face detection evaluation value is less than the face determination threshold for the standard region (NO), it determines that the region is not a face region and proceeds to the process of step S119.

[0104] (Step S119) If a highly reliable area has been set, the face detection unit 220 cancels the highly reliable area. For example, in a state in which a highly reliable area has been set, the face detection unit 220 cancels the highly reliable area if a face area is not detected in the highly reliable area (step S111: NO), if a face area is detected in the standard area (step S117: YES), or if a face area is detected neither in the highly reliable area nor in the standard area (step S117: NO). Note that, if a highly reliable area has not been set (step S101: NO), the face detection unit 220 maintains the state in which a highly reliable area has not been set. Then, the process returns to step S101.

[0105] Next, referring to FIG. 11, the operation of the standby state control process will be described, which performs face authentication when a detected face area is outside a high reliability area (standard area) and controls the system to a standby state if the face area is not a user.

[0106] FIG. 11 is a flowchart showing an example of the standby state control process according to the present embodiment. (Step S201) In a normal operating state, the face detection unit 220 determines whether or not a face area (the most main face area) detected from an image captured in standard mode is within a high reliability area. If the face detection unit 220 determines that the detected face area is outside the high reliability area (within the standard area) (NO), the process proceeds to step S203. On the other hand, if the face detection unit 220 determines that the detected face area is within the high reliability area (YES), the process proceeds to step S209.

[0107] Note that when it is determined that the detected face region is outside the high reliability region (within the standard region) (NO), this corresponds to, for example, a NO determination in step S107 and a YES determination in step S117 in Fig. 10. On the other hand, when it is determined that the detected face region is within the high reliability region (YES), this corresponds to, for example, a YES determination in steps S107 and S111 in Fig. 10.

[0108] (Step S203) The face detection unit 220 executes face recognition processing for determining whether or not the face area detected from the captured image captured in the high accuracy detection mode is the face of the user, and then proceeds to processing in step S205.

[0109] (Step S205) The face detection unit 220 judges whether or not the authentication result of the face authentication process of step S203 is successful. If the face detection unit 220 judges that the authentication is unsuccessful (NO), the process proceeds to step S207. On the other hand, if the face detection unit 220 judges that the authentication is successful (YES), the process proceeds to step S209.

[0110] (Step S207) Since the face in the face area detected outside the highly reliable area (within the standard area) is a face other than that of the user, the face detection unit 220 outputs leave information indicating that the user has left the electronic device 1. When the operation control unit 210 acquires the leave information from the face detection unit 220, it instructs the system processing unit 300 to transition the system from the normal operation state to the standby state. For example, the operation control unit 210 outputs a standby signal to instruct the system processing unit 300 to transition the system from the normal operation state to the standby state. When the system processing unit 300 acquires the standby signal, it transitions the system from the normal operation state to the standby state (for example, it locks the system).

[0111] (Step S209) The face detection unit 220 updates the high reliability area based on the detected face area. For example, if the determination in step S205 is YES, the face in the face area detected outside the high reliability area (within the standard area) is the face of the user, so the face detection unit 220 resets and updates the high reliability area based on the face area. Note that if the determination in step S201 is YES, the face area continues to be within the high reliability area based on the detected face area, so the face detection unit 220 updates the high reliability area based on the detected face area. For example, if the position or size of the detected face area has changed from the position or size of the face area detected immediately before, the face detection unit 220 changes the position or size of the high reliability area in response to the change in position or size. The process at this time corresponds to the process in step S113 in FIG. 10.

[0112] [Summary of the first embodiment] As described above, the electronic device 1 according to the present embodiment includes a system memory 310 (an example of a memory) that temporarily stores image data of an image (captured image) captured by the imaging unit 120 (an example of an imaging device), and a processor (e.g., face detection unit 220, CPU 302, EC 200, etc.) that executes system processing based on a system program and processing using the image data. For example, the face detection unit 220 performs face detection processing having a standard detection mode (an example of a first detection mode) that detects a face area in which a face is captured from an image (captured image) of image data stored in the system memory 310 with a first detection accuracy (e.g., detection accuracy of face detection in HPD processing) and a high-precision detection mode (an example of a second detection mode) that detects with a second detection accuracy (e.g., detection accuracy for performing face authentication) higher than the first detection accuracy. In addition, when a face area is detected in the high-precision detection mode, the face detection unit 220 performs processing (an example of a first area setting processing) to set a high-reliability area (an example of a first area) based on the face area detected in the high-precision detection mode. Furthermore, when the face area detected by the face detection process is a standard area (an example of a second area) outside the high reliability area, the face detection unit 220 performs face recognition processing to perform face recognition based on the face area detected in the standard area. Then, the operation control unit 210 (for example, the EC 200) performs standby state control processing to transition the system to a standby state based on the authentication result of the face recognition process.

[0113] As a result, the electronic device 1 does not perform face authentication while a face area is detected within the highly reliable area, does not determine that the face area is the user's face (i.e., the user is present), and does not control transition to a standby state, but performs face authentication only when the detected face area is outside the highly reliable area, and transitions to the standby state if the face area is not the user's face (i.e., the user is not present), thereby making it possible to suppress erroneous authentication in face authentication and improve security using face authentication. In other words, the electronic device 1 can improve security by using face authentication in a limited manner.

[0114] Moreover, the electronic device 1 according to the present embodiment includes a system memory 310 (an example of a memory) that temporarily stores image data of an image (captured image) captured by the imaging unit 120 (an example of an imaging device), and a processor (e.g., a face detection unit 220, a CPU 302, an EC 200, etc.) that executes system processing based on a system program and processing using the image data. For example, the face detection unit 220 performs face detection processing to detect, as a face area, an area in an image (captured image) of image data stored in the system memory 310 where a face detection evaluation value (an example of an evaluation value of face-likeness) is equal to or greater than a face determination threshold (an example of a first threshold). Furthermore, when a face area where a face detection evaluation value is equal to or greater than a high reliability threshold (an example of a second threshold) higher than the face determination threshold is detected by the face detection processing, the face detection unit 220 performs processing (an example of a first area setting processing) to set a high reliability area (an example of a first area) based on the detected face area. Furthermore, when the face area detected by the face detection process is a standard area (an example of a second area) outside the high reliability area, the face detection unit 220 performs face recognition processing to perform face recognition based on the face area detected in the standard area. Then, the operation control unit 210 (for example, the EC 200) performs standby state control processing to transition the system to a standby state based on the authentication result of the face recognition process.

[0115] As a result, the electronic device 1 does not perform face authentication while a face area is detected within the highly reliable area, does not determine that the face area is the user's face (i.e., the user is present), and does not control transition to a standby state, but performs face authentication only when the detected face area is outside the highly reliable area, and transitions to the standby state if the face area is not the user's face (i.e., the user is not present), thereby making it possible to suppress erroneous authentication in face authentication and improve security using face authentication. In other words, the electronic device 1 can improve security by using face authentication in a limited manner.

[0116] For example, when multiple face regions are detected in the face detection process, the face detection unit 220 performs a process of setting a high reliability region (an example of a first region setting process) and a face authentication process based on one of the multiple face regions.

[0117] As a result, even if there are multiple people in front of the electronic device 1, the electronic device 1 can perform face detection and face authentication for one person as a user (main user).

[0118] As an example, the face detection unit 220 performs a process of setting a high reliability area (an example of a first area setting process) and a face authentication process based on the largest face area among the multiple face areas.

[0119] As a result, even if there are multiple people in front of the electronic device 1, the electronic device 1 can perform face detection and face authentication by determining the person closest to the electronic device 1 as the user (main user).

[0120] Also, as an example, the face detection section 220 performs a process of setting a high reliability region (an example of a first region setting process) and a face authentication process based on the face region that is closest to the center of the captured image among the multiple face regions.

[0121] As a result, even if there are multiple people in front of the electronic device 1, the electronic device 1 can perform face detection and face authentication by regarding the person closest to the front as the user (main user).

[0122] In addition, after setting a high reliability area in a process for setting a high reliability area (an example of a first area setting process), the face detection unit 220 changes the position or size of the high reliability area in accordance with a change in the position or size of the face area detected by the face detection process.

[0123] This allows the electronic device 1 to stably detect and track the face even if the position of the user's face moves slightly while the electronic device 1 is being used.

[0124] Furthermore, in the process of setting a highly reliable region (an example of a first region setting process), the face detection unit 220 cancels the highly reliable region based on the fact that the face region detected by the face detection process has become a standard region. That is, when the face detection unit 220 is no longer able to detect a face region within the highly reliable region, the face detection unit 220 cancels the highly reliable region.

[0125] This allows the electronic device 1 to suppress erroneous detection of an area that is not a human face as a face area, thereby enabling stable face detection.

[0126] In addition, in the process of setting a high reliability area (an example of a first area setting process), the face detection unit 220 re-sets the high reliability area based on the face area detected in the standard area based on the fact that the authentication result of face authentication based on the face area detected in the standard area by the face authentication process is successful.

[0127] As a result, when the face in the face region detected outside the high reliability region is determined to be that of the user, the electronic device 1 can thereafter stably detect the face as that of the user.

[0128] For example, the imaging unit 120 includes an RGB sensor (an example of a first imaging element) that captures visible light and an IR sensor (an example of a second imaging element) that captures infrared light. The standard detection mode is a detection mode in which imaging is performed using only the RGB sensor out of the RGB sensor and the IR sensor, and the high-precision detection mode is a detection mode in which imaging is performed using at least the IR sensor.

[0129] As a result, the electronic device 1 can stably detect a face area from an image captured using an RGB sensor in the standard detection mode without using an IR sensor. Therefore, since the electronic device 1 does not need to emit infrared rays, it can realize stable face detection while suppressing power consumption.

[0130] Moreover, the control method in the electronic device 1 according to the present embodiment includes a face detection step having a standard detection mode (an example of a first detection mode) in which the face detection unit 220 detects a face area in which a face is captured from an image (captured image) of image data stored in the system memory 310 (an example of a memory) with a first detection accuracy (e.g., detection accuracy of face detection in HPD processing) and a high-precision detection mode (an example of a second detection mode) in which the face detection unit 220 detects with a second detection accuracy (e.g., detection accuracy for performing face authentication) higher than the first detection accuracy; a first area setting step in which, if the face area is detected in the high-precision detection mode by the face detection step, a high-reliability area (an example of a first area) is set based on the face area detected in the high-precision detection mode; a face authentication step in which, if the face area detected by the face detection step becomes a standard area (an example of a second area) outside the high-reliability area, face authentication is performed based on the face area detected in the standard area; and a standby state control step in which the operation control unit 210 (e.g., the EC 200) transitions the system to a standby state based on the authentication result by the face authentication step.

[0131] As a result, the electronic device 1 does not perform face authentication while a face area is detected within the highly reliable area, does not determine that the face area is the user's face (i.e., the user is present), and does not control transition to a standby state, but performs face authentication only when the detected face area is outside the highly reliable area, and transitions to the standby state if the face area is not the user's face (i.e., the user is not present), thereby making it possible to suppress erroneous authentication in face authentication and improve security using face authentication. In other words, the electronic device 1 can improve security by using face authentication in a limited manner.

[0132] Furthermore, the control method in the electronic device 1 according to this embodiment includes a face detection step in which the face detection unit 220 detects, as a face area, an area in an image (captured image) of image data stored in the system memory 310 (an example of a memory) where the face detection evaluation value (an example of an evaluation value of face-likeness) is equal to or greater than a face determination threshold (an example of a first threshold); a first area setting step in which, if a face area in which the face detection evaluation value is equal to or greater than a high reliability threshold (an example of a second threshold) higher than the face determination threshold is detected by the face detection step, a high reliability area (an example of a first area) is set based on the detected face area; a face authentication step in which, if a standard area (an example of a second area) outside the high reliability area detected by the face detection step is detected, face authentication is performed based on the face area detected in the standard area; and a standby state control step in which the operation control unit 210 (e.g., EC 200) transitions the system to a standby state based on the authentication result by the face authentication step.

[0133] As a result, the electronic device 1 does not perform face authentication while a face area is detected within the highly reliable area, does not determine that the face area is the user's face (i.e., the user is present), and does not control transition to a standby state, but performs face authentication only when the detected face area is outside the highly reliable area, and transitions to the standby state if the face area is not the user's face (i.e., the user is not present), thereby making it possible to suppress erroneous authentication in face authentication and improve security using face authentication. In other words, the electronic device 1 can improve security by using face authentication in a limited manner.

[0134] <Second embodiment> Next, a second embodiment of the present invention will be described. In the first embodiment, a standby state control process has been described in which face authentication is performed when a detected face area is outside a high reliability area (standard area) and the system is controlled to a standby state when the detected face area is not the user, but this standby state control process may be temporarily disabled when the electronic device 1 is held in the hand. Since it is difficult to stably capture an image of the user's face from the front in a hand-held state, it may be possible to prevent the transition to the standby state without proper face authentication.

[0135] FIG. 12 is a schematic block diagram showing an example of the functional configuration of the electronic device 1A according to this embodiment. In this figure, the same reference numerals are used for the components corresponding to those in FIG. 8. The illustrated electronic device 1A is different from the configuration shown in FIG. 8 in that it includes a state determination unit 215 that determines whether the electronic device 1A is being held by hand using an acceleration sensor 130 that detects the movement of the electronic device 1A. The state determination unit 215 is a functional configuration that is realized, for example, by the EC 200 executing a control program. Note that the state determination unit 215 may be a functional configuration such as a chip set or a sensor hub instead of the EC 200, similar to the operation control unit 210.

[0136] When the state determination unit 215 determines that the electronic device 1A is being held by hand, the operation control unit 210 suspends the execution of a control process for outputting a standby signal for transitioning the system to a standby state based on the authentication result by the face authentication processing unit 223. That is, when the electronic device 1A is being held by hand, the execution of a standby state control process for controlling the electronic device 1A to a standby state by face authentication shown in Fig. 11 is suspended.

[0137] FIG. 13 is a flowchart showing an example of a process for suspending the standby state control process according to the present embodiment. (Step S301) The state determination unit 215 acquires a detection signal from the acceleration sensor 130 and monitors the state of motion of the electronic device 1A. Then, the process proceeds to step S303.

[0138] (Step S303) The state determination unit 215 determines whether or not the electronic device 1A is being held based on the movement of the electronic device 1A monitored based on the detection signal of the acceleration sensor 130. If the state determination unit 215 determines that the electronic device 1A is being held (YES), the process proceeds to step S305. On the other hand, if the state determination unit 215 determines that the electronic device 1A is not being held (NO), the process returns to step S301 and monitors the state of the movement of the electronic device 1A.

[0139] (Step S305) When state determination unit 215 determines that electronic device 1A is being held by hand, operation control unit 210 temporarily suspends execution of standby state control processing (see FIG. 11) by face authentication. Then, the process proceeds to step S307.

[0140] (Step S307) The operation control unit 210 measures a preset waiting time, and continues to suspend execution of the standby state control process until the waiting time has elapsed. Then, when the waiting time has elapsed, the operation control unit 210 releases the suspension of execution of the standby state control process, and returns to the process of step S301.

[0141] In this way, the electronic device 1A according to this embodiment further includes a state determination unit 215 (e.g., EC 200) that performs a determination process to determine whether or not the electronic device 1 is being held by hand using an acceleration sensor 130 (one example of a sensor) that detects the movement of the electronic device 1A. Then, when the state determination unit 215 determines that the electronic device 1A is being held by hand, the operation control unit 210 suspends execution of a standby state control process that outputs information for transitioning the system to a standby state based on the authentication result by the face authentication process of the face detection unit 220.

[0142] This prevents the electronic device 1 from transitioning to a standby state without properly authenticating the face, which is difficult when the electronic device 1 is held in the hand, since it is difficult to continue to capture a stable image of the user's face from the front.

[0143] Although each embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to the above-mentioned embodiment, and the present invention also includes designs within the scope of the gist of the present invention. For example, the configurations described in the above-mentioned embodiments can be arbitrarily combined.

[0144] In the above embodiment, the imaging unit 120 is built into the electronic device 1, but the present invention is not limited to this. For example, the imaging unit 120 does not have to be built into the electronic device 1, and may be configured to be attachable to the electronic device 1 (e.g., any one of the sides 10a, 10b, 10c, etc.) as an external accessory of the electronic device 1, and may be connected to the electronic device 1 for communication wirelessly or via wires.

[0145] The electronic device 1 may also detect a person in front by using a distance sensor (such as a proximity sensor) that detects the distance to an object. For example, the distance sensor is provided on the inner surface side of the first housing 10, and detects an object (such as a person) that is present within a detection range in a direction (forward) facing the inner surface of the first housing 10. As an example, the distance sensor may be an infrared distance sensor including a light emitting unit that emits infrared rays and a light receiving unit that receives reflected light that is returned after the emitted infrared rays are reflected by the surface of the object. The distance sensor may be a sensor that uses infrared rays emitted by a light emitting diode, or a sensor that uses an infrared laser that emits a light beam with a narrower wavelength band than the infrared rays emitted by a light emitting diode. The distance sensor is not limited to an infrared distance sensor, and may be a sensor that uses another method, such as an ultrasonic sensor or a sensor that uses UWB (Ultra Wide Band) radar, as long as it detects the distance to an object. The distance sensor does not have to be built into the electronic device 1, but may be configured to be attachable to the electronic device 1 (for example, any one of the sides 10a, 10b, 10c, etc.) as an external accessory of the electronic device 1 and may be communicatively connected to the electronic device 1 wirelessly or via wire. The imaging unit 120 and the distance sensor may be integrated together. For example, these distance sensors may be used during face authentication processing.

[0146] In the above embodiment, an example has been shown in which the face detection unit 220 is provided separately from the EC 200, but the EC 200 may include a part or all of the face detection unit 220, or the EC 200 and the face detection unit 220 may be configured as one package. The system processing unit 300 may include a part or all of the face detection unit 220, or the system processing unit 300 and the face detection unit 220 may be configured as one package. The operation control unit 210 may be part or all of the functional configuration of a processing unit other than the EC 200 (for example, the system processing unit 300).

[0147] The electronic device 1 described above has a computer system inside. A program for implementing the functions of each of the components of the electronic device 1 described above may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read into the computer system and executed to perform processing in each of the components of the electronic device 1 described above. Here, "reading the program recorded on the recording medium into the computer system and executing it" includes installing the program into the computer system. The "computer system" here includes hardware such as an OS and peripheral devices. The "computer system" may also include multiple computer devices connected via a network including the Internet, a WAN, a LAN, a dedicated line, and other communication lines. The "computer-readable recording medium" refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, and a storage device such as a hard disk built into a computer system. In this way, the recording medium storing the program may be a non-transitory recording medium such as a CD-ROM.

[0148] The recording medium also includes a recording medium installed inside or outside and accessible from a distribution server to distribute the program. The program may be divided into a plurality of parts, downloaded at different times, and then combined by the respective components of the electronic device 1, or each divided program may be distributed by a different distribution server. Furthermore, the "computer-readable recording medium" includes a recording medium that holds a program for a certain period of time, such as a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network. The above program may also be a recording medium for realizing part of the above-mentioned functions. Furthermore, the recording medium may be a so-called difference file (difference program) that can realize the above-mentioned functions in combination with a program already recorded in the computer system.

[0149] In addition, some or all of the functions of the electronic device 1 in the above-mentioned embodiment may be realized as an integrated circuit such as an LSI (Large Scale Integration). Each function may be individually processed, or some or all of the functions may be integrated into a processor. The integrated circuit method is not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor. In addition, when an integrated circuit technology that replaces LSI appears due to the progress of semiconductor technology, an integrated circuit based on that technology may be used.

[0150] The electronic device 1 is not limited to a notebook PC, but may be a desktop PC, a tablet terminal device, a smartphone, or the like. Furthermore, the electronic device 1 is not limited to a PC, a tablet terminal device, a smartphone, or the like, but may also be applied to household electrical appliances and commercial electrical appliances. As household electrical appliances, the electronic device 1 may be applied to a television, a refrigerator equipped with a display unit, a microwave oven, or the like. For example, the electronic device 1 may be applied to a television screen that is turned on / off, or the screen of a display unit of a refrigerator, a microwave oven, or the like, depending on whether a person approaches or leaves the room. Furthermore, as commercial electrical appliances, the electronic device 1 may be applied to a vending machine, a multimedia terminal, or the like. For example, the electronic device 1 may be applied to an operating state such as turning on / off the light of a vending machine, or turning on / off the screen of a display unit of a multimedia terminal, depending on whether a person approaches or leaves the room. [Explanation of symbols]

[0151] 1 (1A) electronic device, 10 first housing, 20 second housing, 15 hinge mechanism, 110 display unit, 120 imaging unit, 121 first camera, 122 second camera, 130 acceleration sensor, 140 power button, 150 input device, 151 keyboard, 153 touch pad, 160 video output terminal, 200 EC, 210 operation control unit, 215 state determination unit, 220 face detection unit, 221 face detection processing unit, 222 detection area setting unit, 223 face authentication processing unit, 224 HPD processing unit, 300 system processing unit, 302 CPU, 304 GPU, 306 memory controller, 308 I / O controller, 310 system memory, 320 user authentication unit, 350 communication unit, 360 storage unit, 400 power supply unit

Claims

1. a memory for temporarily storing image data of an image captured by the imaging device; a processor that executes system processing based on a system program and processing using the image data; The processor, a face detection process having a first detection mode for detecting a face area in which a face is captured from the image of the image data stored in the memory with a first detection accuracy and a second detection mode for detecting the face area with a second detection accuracy higher than the first detection accuracy; a first region setting process for setting a first region based on the detected face region when the face region is detected in the second detection mode by the face detection process; a face recognition process for performing face recognition based on the face area detected in the second area when the face area detected by the face detection process falls in a second area outside the first area; a standby state control process for transitioning the system to a standby state based on an authentication result by the face authentication process; Electronic equipment that performs the following functions:

2. a memory for temporarily storing image data of an image captured by the imaging device; a processor that executes system processing based on a system program and processing using the image data; The processor, a face detection process for detecting an area having a face-likeness evaluation value equal to or greater than a first threshold as a face area from the image of the image data stored in the memory; a first region setting process for setting a first region based on the detected face region when the face region is detected by the face detection process such that the evaluation value is equal to or greater than a second threshold value that is higher than the first threshold value; a face recognition process for performing face recognition based on the face area detected in the second area when the face area detected by the face detection process falls in a second area outside the first area; a standby state control process for transitioning the system to a standby state based on an authentication result of the face authentication process; Electronic equipment that performs the following functions:

3. The processor, When a plurality of face regions are detected in the face detection process, the first region setting process and the face authentication process are performed based on one of the plurality of face regions.

3. The electronic device according to claim 1 or 2.

4. The processor, performing the first area setting process and the face authentication process based on the largest face area among the plurality of face areas; 4. The electronic device according to claim 3.

5. The processor, performing the first area setting process and the face authentication process based on a face area that is closest to a center of the image among the plurality of face areas; 4. The electronic device according to claim 3.

6. The processor, after setting the first area in the first area setting process, changing a position or a size of the first area in response to a change in a position or a size of the face area detected by the face detection process; 3. The electronic device according to claim 1 or 2.

7. The processor, canceling the first area based on the fact that the face area detected by the face detection process has become the second area in the first area setting process; 3. The electronic device according to claim 1 or 2.

8. The processor, in the first area setting process, when a result of face authentication based on the face area detected in the second area by the face authentication process is a successful authentication result, the first area is reset based on the face area detected in the second area.

3. The electronic device according to claim 1 or 2.

9. A sensor for detecting a motion of the electronic device is further provided. The processor, performing a determination process using the sensor to determine whether the electronic device is being held by hand; When it is determined by the determination process that the electronic device is being held by hand, execution of the standby state control process that outputs information for transitioning a system to a standby state based on an authentication result by the face recognition process is suspended.

3. The electronic device according to claim 1 or 2.

10. The imaging device includes: A first imaging element that captures visible light and a second imaging element that captures infrared light, The first detection mode is a detection mode in which an image is captured using only the first imaging element of the first imaging element and the second imaging element, and the second detection mode is a detection mode in which an image is captured using at least the second imaging element.

2. The electronic device according to claim 1.

11. A control method for an electronic device including a memory that temporarily stores image data of an image captured by an imaging device, and a processor that executes system processing based on a system program and processing using the image data, comprising: The processor, a face detection step including a first detection mode for detecting a face area in which a face is captured from the image of the image data stored in the memory with a first detection accuracy and a second detection mode for detecting the face area with a second detection accuracy higher than the first detection accuracy; a first area setting step of setting a first area based on the detected face area when the face area is detected in the second detection mode by the face detection step; a face authentication step of performing face authentication based on the face area detected in the second area when the face area detected in the face detection step falls in a second area outside the first area; a standby state control step of transitioning the system to a standby state based on a result of the face authentication step; A control method comprising:

12. A control method for an electronic device including a memory that temporarily stores image data of an image captured by an imaging device, and a processor that executes system processing based on a system program and processing using the image data, comprising: The processor, a face detection step of detecting, as a face region, an area having a face-likeness evaluation value equal to or greater than a first threshold value from the image of the image data stored in the memory; a first region setting step of setting a first region based on the detected face region when the face region is detected in which the evaluation value is equal to or greater than a second threshold value that is higher than the first threshold value by the face detection step; a face authentication step of performing face authentication based on the face area detected in the second area when the face area detected in the face detection step falls in a second area outside the first area; a standby state control step of transitioning the system to a standby state based on a result of the face authentication step; A control method comprising:

Citation Information

Patent Citations

  • Instrument with face authentication function

    JP2016148895A