Electronic device, concentration level calculation method, and concentration level calculation program
The electronic device with imaging and line-of-sight detection units calculates driver concentration levels by analyzing the movement and optical flow of the line of sight relative to recognition targets, addressing the inadequacies of existing methods and enhancing safe driving by providing timely feedback.
Patent Information
- Application Number
- PCT/JP2024/008120
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-10
- Filing Date
- 2024-03-04
- Publication Date
- 2024-09-19
AI Technical Summary
Existing methods for monitoring a driver's concentration level during safe driving are inadequate in accurately determining attention based on vestibulo-ocular reflex and optokinetic reflex, as they fail to provide reliable real-time feedback for warning or assistance.
An electronic device equipped with an imaging unit, line-of-sight detection unit, and control unit that generates images, detects the driver's line of sight, determines the presence and position of recognition targets, and calculates concentration levels based on the movement and optical flow of the line of sight after it overlaps with the target, using a concentration calculation method and program.
Enables accurate and real-time calculation of driver concentration levels, allowing for timely warnings or driving assistance by analyzing the movement and speed of the line of sight relative to recognition targets, effectively improving safe driving conditions.
Smart Images

Figure JP2024008120_19092024_PF_FP_ABST
Abstract
Description
Electronic device, concentration calculation method, and concentration calculation program CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority to Japanese Patent Application No. 2023-38134, filed on March 10, 2023, the entire disclosure of which is incorporated herein by reference.
[0002] The present disclosure relates to an electronic device, a concentration degree calculation method, and a concentration degree calculation program.
[0003] Safe driving of a vehicle requires the driver to concentrate. Therefore, it has been considered to monitor the driver's concentration and issue a warning to the driver or provide driving assistance if the concentration level decreases. It has been proposed to monitor the concentration level based on the vestibulo-ocular reflex, the optokinetic reflex, etc. (see Patent Documents 1 to 5).
[0004] Japanese Patent Application Laid-Open No. 2019-136166 International Publication No. 2010-032424 Japanese Patent Application Laid-Open No. 2008-079737 Japanese Patent Application Laid-Open No. 2022-012206 Japanese Patent Application Laid-Open No. 2021-053240
[0005] An electronic device according to a first aspect includes an imaging unit that captures an image corresponding to a scene by capturing an image, a gaze detection unit that detects the subject's gaze toward the scene, and a control unit that determines whether or not a recognition target object is present in the image and identifies the position of the recognition target object, and calculates the subject's level of concentration based on the movement of the gaze after the gaze overlaps the position of the recognition target object.
[0006] A concentration calculation method according to the second aspect includes an imaging process for generating an image corresponding to a scene by imaging; a gaze detection process for detecting the subject's gaze toward the scene; a determination process for determining the presence or absence of a recognition target object in the image and specifying the position of the recognition target object; and a calculation process for calculating the subject's concentration level based on the movement of the gaze after the gaze overlaps the position of the recognition target object.
[0007] A concentration calculation program from a third viewpoint causes a computer to function as an acquisition unit that acquires an image corresponding to a scene generated by imaging by an imaging unit and the subject's gaze at the scene detected by a gaze detection unit, and a control unit that determines whether or not a recognition object is present in the image and specifies the position of the recognition object, and calculates the subject's concentration level based on the movement of the gaze after the gaze overlaps the position of the recognition object.
[0008] 1 is a block diagram illustrating a schematic configuration of an electronic device according to an embodiment; FIG. 2 is a diagram illustrating the relationship between a gaze detected by a gaze detection unit and an image; FIG. 3 is a flowchart illustrating a calculation process executed by the control unit of FIG. 1 in an embodiment; FIG. 4 is a diagram illustrating an optical flow in an image and a first movement of the gaze relative to the optical flow under a high concentration level; FIG. 5 is a diagram illustrating an optical flow in an image and a second movement of the gaze relative to the optical flow under a high concentration level; FIG. 6 is a diagram illustrating an optical flow in an image and a movement of the gaze relative to the optical flow under a low concentration level; and FIG. 7 is a diagram illustrating the movement speed of the gaze in an image under a high concentration level.
[0009] Hereinafter, an embodiment of an electronic device to which the present disclosure is applied will be described with reference to the drawings. Note that the following description also includes a description of a concentration level calculation method and a concentration level calculation program to which the present disclosure is applied.
[0010] An electronic device according to an embodiment of the present disclosure may be installed in, for example, a mobile object. Mobile objects may include, for example, vehicles, ships, and aircraft. Vehicles may include, for example, automobiles, industrial vehicles, railroad vehicles, residential vehicles, and fixed-wing aircraft that travel on runways. Automobiles may include, for example, passenger cars, trucks, buses, motorcycles, and trolleybuses. Industrial vehicles may include, for example, industrial vehicles for agriculture and construction. Industrial vehicles may include, for example, forklifts and golf carts. Industrial vehicles for agriculture may include, for example, tractors, cultivators, transplanters, binders, combines, and lawnmowers. Industrial vehicles for construction may include, for example, bulldozers, scrapers, excavators, crane trucks, dump trucks, and road rollers. Vehicles may include vehicles that are powered by human power. Vehicle classifications are not limited to the above examples. For example, automobiles may include industrial vehicles that can travel on roads. The same vehicle may be included in multiple classifications. The watercraft may include, for example, a marine jet, a boat, a tanker, etc. The aircraft may include, for example, a fixed-wing aircraft, a rotary-wing aircraft, etc.
[0011] 1, an electronic device 10 according to an embodiment includes an imaging unit 11, a line-of-sight detection unit 12, and a control unit 13. The electronic device 10 may further include a memory 14.
[0012] The imaging unit 11 is provided on the moving body so as to be able to capture, for example, a scene in the forward direction of the moving body. The imaging unit 11 is, for example, a camera capable of capturing images at a speed of 30 fps. The imaging unit 11 generates an image corresponding to the scene by capturing the image.
[0013] The line-of-sight detection unit 12 is provided in the mobile body so as to be able to detect the line of sight of a subject seated in, for example, the driver's seat of the mobile body. The line-of-sight detection unit 12 is, for example, either a contact-type eye tracker or a non-contact-type eye tracker, and detects the subject's line of sight with respect to a scene. As shown in Figure 2, the line of sight LS is indicated as the line of sight direction corresponding to a position PE in the same coordinate system as the image IM generated by the imaging unit 11 through imaging, for example.
[0014] The memory 14 includes any storage device, such as a RAM (Random Access Memory) or a ROM (Read Only Memory), etc. The memory 14 stores various programs that cause the control unit 13 to function and various information that the control unit 13 uses.
[0015] The control unit 13 includes one or more processors and memories. The processor may include a general-purpose processor that loads a specific program to execute a specific function, or a dedicated processor specialized for a specific process. The dedicated processor may include an application-specific integrated circuit (ASIC). The processor may include a programmable logic device (PLD). The PLD may include a field-programmable gate array (FPGA). The control unit 13 may be either a system-on-a-chip (SoC) or a system-in-a-package (SiP), in which one or more processors work together. The control unit 13 controls the operation of each component of the electronic device 10.
[0016] The control unit 13 normally causes the imaging unit 11 to continuously capture images at a speed of, for example, 30 fps, and continuously acquires images IM as information. The control unit 13 determines whether or not a recognition target object is present in the image IM. The presence or absence of a recognition target object may mean whether or not the recognition target object is included as an image. In the following description, the recognition target object in the image IM means an image of the recognition target object.
[0017] The recognition target may be determined according to the application in which the electronic device 10 is used. For example, in a configuration in which the electronic device 10 is used to observe a driver of a mobile object, the recognition target is an object that a driver generally intends to see when driving the mobile object. Examples of objects that a driver generally intends to see include vehicles, pedestrians, and roadside traffic safety facilities. Examples of roadside traffic safety facilities include traffic lights, road signs, and road markings.
[0018] The control unit 13 may recognize the object to be recognized in the image IM using any method. For example, the control unit 13 may recognize the object to be recognized in the image IM using a recognition model that has been machine-learned using a learning image. When the control unit 13 recognizes the presence of the object to be recognized in the image IM, it specifies the position of the object to be recognized in the image IM. The position of the object to be recognized may be anywhere in the area occupied by the object to be recognized.
[0019] The control unit 13 may cause the gaze detection unit 12 to detect the subject's gaze LS when the imaging unit 11 is capturing an image, and may acquire as information the gaze LS at a time substantially identical to the time when the image IM is captured. The time substantially identical to the time when the image IM is captured may include a single detection time, or may include multiple detection time points between the time when the image IM was captured immediately before the most recent image capture and the time when the image IM was captured immediately after. When the time substantially identical to the time when the image IM was captured includes a single detection time point of the gaze, the time may not be the exact same time point, but may include the detection time point closest to the time of image capture in gaze detection with the same cycle as image capture.
[0020] When a recognition target object is present in the image IM, the control unit 13 determines whether the line of sight LS at the detection time substantially the same as the image capture time overlaps with the position of the recognition target object. If the line of sight LS overlaps with the position of the recognition target object, the control unit 13 calculates the subject's concentration level based on the movement of the line of sight LS after determining that the line of sight LS overlaps. Note that, in this disclosure, the concentration level refers to the degree to which the subject is paying attention to a certain matter. However, the concentration level in this disclosure is not limited to this concept, and other definitions may be applied as appropriate depending on the application situation. As described below, the control unit 13 may calculate the subject's concentration level based on the movement of the line of sight LS and optical flow, or based on the line of sight LS movement speed. Optical flow is the optical movement of the image of the same recognition target object between consecutive frames of the image IM, in other words, a vector within the image IM.
[0021] To calculate the degree of concentration, the control unit 13 may, for example, calculate the optical flow of the object to be recognized at a position overlapping with the line of sight LS from the image IM of a subsequent frame. The image IM of the subsequent frame is an image acquired by the control unit 13 after the image IM in which the line of sight LS overlaps with the position of the object to be recognized. Furthermore, to calculate the degree of concentration, the control unit 13 may calculate a vector indicating the movement of the line of sight LS at a detection time substantially the same as the time when the multiple images IM used to calculate the optical flow were captured, in other words, a change in the line of sight LS.
[0022] The control unit 13 may calculate the correlation between the optical flow and the movement of the line of sight LS. The control unit 13 may calculate the correlation between the optical flow and the movement of the line of sight LS, for example, based on the difference in magnitude and angle between a vector indicating the optical flow and a vector indicating the line of sight LS. For example, the control unit 13 may calculate the correlation so that the correlation increases as the difference in magnitude between the vector indicating the optical flow and the vector indicating the line of sight LS approaches zero. Alternatively, the control unit 13 may calculate the correlation so that the correlation decreases as the angle between the vector indicating the optical flow and the vector indicating the line of sight LS approaches 90° and increases as the angle approaches 0° or 180°.
[0023] The control unit 13 may calculate the degree of concentration so that the degree decreases as the calculated correlation decreases. Conversely, the control unit 13 may calculate the degree of concentration so that the degree increases as the calculated correlation increases.
[0024] To calculate the concentration level, the control unit 13 may calculate the gaze movement speed based on consecutive detection times of the gaze LS. The control unit 13 may determine whether the gaze LS deviates from the target object in an image IM acquired after an image IM in which the gaze LS overlaps the target object. If the control unit 13 determines that the gaze LS deviates from the target object, it may calculate the concentration level based on the movement speed of the gaze LS. Specifically, the control unit 13 may calculate the concentration level to be higher if the movement speed of the gaze LS exceeds the saccade speed. The saccade speed is generally between 100° / sec and 500° / sec, and a value within this range may be used for comparison with the movement speed of the gaze LS. Alternatively, the control unit 13 may calculate the concentration level to be lower if the movement speed of the gaze LS is lower than the saccade speed. In calculating the concentration level based on a comparison between the movement speed of the line of sight LS and the movement speed of the saccade, either a low concentration level or a high concentration level is calculated, but a step-wise value may also be calculated. In the present disclosure, the saccade speed may be expressed as an angular velocity. The saccade speed unit [° / sec] may be expressed in other speed units, such as [rad / s]. The center of the angle when measuring the saccade speed may be based on the subject's head (eyes). The saccade speed may be a value representing the speed at which the eyes rotate. The saccade speed may be 0 [rad / s] when the eyes are stationary. The angle giving the saccade speed may be measured three-dimensionally with the eyes as the center.
[0025] The control unit 13 outputs the calculated concentration level to the external device 15. The external device 15 is a device that performs a predetermined operation based on the concentration level. Examples of the external device 15 include a warning device that issues a warning to a target person based on the concentration level, a driving assistance device that assists in driving a mobile object based on the concentration level, and a driving device that drives a mobile object based on the concentration level.
[0026] Next, the calculation process executed by the control unit 13 in this embodiment will be described with reference to the flowchart of Fig. 3. The calculation process starts every time the control unit 13 acquires one frame of image IM and line of sight LS.
[0027] In step S100, the control unit 13 recognizes the acquired line of sight LS as the line of sight direction corresponding to the position PE in the same coordinate system as the image IM. After the recognition, the process proceeds to step S101.
[0028] In step S101, the control unit 13 determines whether or not a recognition target object exists in the image IM and detects its position. After the determination and detection, the process proceeds to step S102.
[0029] In step S102, the control unit 13 determines whether the line of sight LS overlaps the position of the object to be recognized in the image IM of the previous frame. If they overlap, the process proceeds to step S103. If they do not overlap, the process proceeds to step S107.
[0030] In step S103, the control unit 13 determines whether the line of sight LS in the image IM of the current frame deviates from the object to be recognized that overlapped with the line of sight LS in the previous frame. If not, the process proceeds to step S104. If not, the process proceeds to step S105.
[0031] In step S104, the control unit 13 calculates the degree of concentration based on the movement of the line of sight LS between the previous frame and the current frame and the optical flow. After the calculation, the process proceeds to step S106.
[0032] In step S105, the control unit 13 may calculate the movement speed based on the movement of the line of sight LS between the previous frame and the current frame. Furthermore, the control unit 13 calculates the concentration level by comparing the calculated movement speed with the saccade speed. After the calculation, the process proceeds to step S106.
[0033] In step S106, the control unit 13 outputs the concentration level calculated in step S104 or step S105 to the external device 15. After the output, the process proceeds to step S107.
[0034] In step S107, the control unit 13 determines whether the line of sight LS recognized in step S100 overlaps with the object to be recognized recognized in step S101. Note that if it is determined in step S101 that the object to be recognized does not exist in the image IS, step S107 may be skipped.
[0035] The electronic device 10 of this embodiment, configured as described above, includes an imaging unit 11 that captures an image IM corresponding to a scene, a gaze detection unit 12 that detects the subject's gaze relative to the scene, and a control unit 13 that determines the presence or absence of a recognition target in the image IM and the position of the recognition target, and calculates the subject's level of concentration based on the movement of the gaze LS after the gaze LS overlaps the position of the recognition target. The movement of the gaze after viewing the recognition target varies depending on the level of concentration. By utilizing this reaction, the electronic device 10 configured as described above can obtain the necessary information from the detection results of the imaging unit 11 and the gaze detection unit 12, thereby calculating the concentration level with a simple configuration. Furthermore, the electronic device 10 configured as described above can calculate the concentration level if the gaze LS overlaps the recognition target, making it possible to calculate the subject's concentration level under a variety of circumstances.
[0036] Furthermore, the electronic device 10 of this embodiment calculates the optical flow of a recognition target object at a position where the line of sight LS overlaps from an image IM acquired after the image IM in which the line of sight LS overlaps the position of the recognition target object, and calculates the concentration level based on the optical flow and the movement of the line of sight LS. For example, it is assumed that a subject is driving on a road and directs their line of sight LS to a route guide as a recognition target object. As shown in FIG. 4 , it is assumed that a road marking 16 in an image IM captured by a moving vehicle during driving is located at a different position dp in the image IM of the previous frame. When a subject is gazing at a road marking 16 in a state of high concentration, the movement M1 of the line of sight LS typically approaches the optical flow of the road marking 16 between the previous frame and the given frame. Alternatively, a subject in a state of high concentration typically shifts their gaze from the road marking 16, which they have been gazing at along the optical flow, in the opposite direction of the previous optical flow, unless they are specifically looking at something in particular. Therefore, as shown in Figure 5, the movement M1 of the line of sight LS is likely to approach in the opposite direction to the optical flow of the road marking 16. On the other hand, as shown in Figure 6, a subject in a state of low concentration is likely not gazing at a specific object, and therefore the movement M1 of the line of sight LS is unrelated to the optical flow. In response to such physiological phenomena, the electronic device 10 having the above-described configuration can calculate the level of concentration with high accuracy based on the optical flow and the movement of the line of sight LS.
[0037] Furthermore, the electronic device 10 of this embodiment calculates the concentration level based on the movement speed of the gaze LS when the gaze deviates from the position of the recognition target in an image acquired after an image in which the gaze LS overlaps the position of the recognition target. As described above, for example, it is assumed that a subject directs the gaze LS to a route guide as a recognition target while driving on a road. If the subject is gazing at a road marking 16 in a state of high concentration, the gaze LS may shift to another recognition target. In such a state of high concentration, when the gaze LS shifts from one recognition target to another, the gaze LS typically shifts at a movement speed exceeding the saccade speed. Therefore, as shown in FIG. 7 , even if the optical flow of the road marking 16 that the subject was previously gazing at is unrelated, if the movement speed of the gaze LS exceeds the saccade speed, the subject's concentration level is high. In response to such physiological phenomena, the electronic device 10 having the above-described configuration can calculate the concentration level with high accuracy because it is based on the movement speed of the gaze LS.
[0038] The above has described an embodiment of electronic device 10, but embodiments of the present disclosure can also be embodied as a method or program for implementing the device, as well as a storage medium on which a program is recorded (for example, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a CD-RW, a magnetic tape, a hard disk, or a memory card).
[0039] Furthermore, the implementation form of the program is not limited to application programs such as object code compiled by a compiler or program code executed by an interpreter, but may also be in the form of a program module incorporated into an operating system. Furthermore, the program may or may not be configured so that all processing is performed solely by the CPU on the control board. The program may also be configured so that part or all of it is executed by another processing unit mounted on an expansion board or expansion unit added to the board as needed.
[0040] The drawings illustrating the embodiments of the present disclosure are schematic, and the dimensional ratios and the like in the drawings do not necessarily correspond to the actual ones.
[0041] Although the embodiments of the present disclosure have been described based on the drawings and examples, it should be noted that those skilled in the art could make various modifications or alterations based on the present disclosure. Therefore, it should be noted that these modifications or alterations are included in the scope of the present disclosure. For example, the functions included in each component can be rearranged so as not to cause logical inconsistencies, and multiple components can be combined or divided into one.
[0042] All of the features described in this disclosure and / or all steps of all of the disclosed methods or processes may be combined in any combination except combinations in which these features are mutually exclusive. Furthermore, each feature described in this disclosure may be replaced by an alternative feature serving the same, equivalent, or similar purpose, unless expressly denied. Thus, unless expressly denied, each disclosed feature is only one example of a generic series of identical or equivalent features.
[0043] Furthermore, embodiments of the present disclosure are not limited to the specific configurations of any of the above-described embodiments, but rather extend to any novel feature or combination thereof described herein, or any novel method or process step or combination thereof described herein.
[0044] REFERENCE SIGNS LIST 10 Electronic device 11 Imaging unit 12 Line-of-sight detection unit 13 Control unit 14 Memory 15 External device 16 Road marking dp Different position IM Image LS Line of sight M1 Movement of line of sight of optical flow PE Position corresponding to the line of sight direction
Claims
1. An electronic device comprising: an imaging unit that captures an image corresponding to a scene by capturing an image; a gaze detection unit that detects a subject's gaze toward said scene; and a control unit that determines whether or not a recognition object is present in said image and locates the position of said recognition object, and calculates the subject's level of concentration based on the movement of the gaze after the gaze overlaps the position of the recognition object.
2. An electronic device according to claim 1, wherein the control unit calculates the optical flow of the object to be recognized at the position where the line of sight overlaps from the image acquired after the image in which the line of sight overlaps the position of the object to be recognized, and calculates the degree of concentration based on the optical flow and the movement of the line of sight.
3. An electronic device according to claim 2, wherein the control unit calculates the degree of concentration so that the lower the correlation between the optical flow and the eye movement, the smaller the degree of concentration becomes.
4. An electronic device as described in claim 1, wherein the control unit calculates the degree of concentration based on the speed at which the line of sight moves when the line of sight moves away from the position of the object to be recognized in the image acquired next to the image in which the line of sight overlaps the position of the object to be recognized.
5. A concentration calculation method comprising: an imaging process for generating an image corresponding to a scene by imaging; a gaze detection process for detecting the subject's gaze toward the scene; a determination process for determining the presence or absence of a recognition target object in the image and the position of the recognition target object; and a calculation process for calculating the subject's concentration level based on the movement of the gaze after the gaze overlaps the position of the recognition target object.
6. A concentration calculation program that causes a computer to function as: an acquisition unit that acquires an image corresponding to a scene generated by imaging unit through imaging and a subject's gaze at said scene detected by a gaze detection unit; and a control unit that determines the presence or absence of a recognition target object in said image and the position of said recognition target object, and calculates the subject's concentration level based on the movement of the gaze after the gaze overlaps the position of the recognition target object.
Citation Information
Patent Citations
Inattentive driving determination device
JP2010039933A
Automatic drive control device, automatic drive control method, and program
JP2016115356A
Electronic apparatus, information processing apparatus, concentration degree calculation program, and concentration degree calculation method
JP2022088962A
