Method and apparatus for determining gaze distraction range
By adaptively adjusting the line of sight distraction range, combining the dispersion of the line of sight point and the cluster center, and dynamically adjusting according to the driving speed, the problem of poor adaptability of the line of sight distraction range in the existing technology is solved, and more accurate distraction detection and Enhanced driving experience.
Patent Information
- Application Number
- PCT/CN2024/097107
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-24
- Filing Date
- 2024-06-03
- Publication Date
- 2024-10-31
AI Technical Summary
In existing intelligent driving technology, the uniformly defined visual distraction range is difficult to adapt to the personal body shape, sitting posture and driving habits of different drivers, resulting in frequent false detections or missed detections, affecting the user's driving experience.
By acquiring multi-frame target images of the driver during driving, detecting the position information of the sight point, calculating the dispersion and clustering center of the sight point, and adaptively adjusting the sight distraction range to make it more consistent with the driver's behavior pattern. Dynamically adjusts according to driving speed.
It reduces false triggers and missed triggers of distraction detection, improves the user's driving experience and safety, and provides more accurate distraction detection.
Smart Images

Figure CN2024097107_31102024_PF_FP_ABST
Abstract
Description
Method and device for determining visual distraction range
[0001] This application claims priority to a Chinese patent application filed with the Patent Office of China on April 24, 2023, with application number 202310452032.4 and invention name “A method and device for determining the range of visual distraction”, the entire contents of which are incorporated by reference into this disclosure. Technical Field
[0002] The present disclosure relates to the field of intelligent driving technology, and in particular to a method and device for determining a visual distraction range. Background Art
[0003] With the development of intelligent driving, DMS (driver monitoring systems) are increasingly being used to detect driver distraction. Distraction detection typically categorizes the driver's gaze into distracted and non-distracted areas based on the direction of their gaze. When the driver's gaze falls into the distracted area, the DMS detects the driver's distraction and reminds them to pay attention to driving safety. Irrational division of the distracted area can easily lead to frequent false detections and missed distracted states, impacting the user's driving experience.
[0004] Summary of the Invention
[0005] In view of this, embodiments of the present disclosure provide at least one method and device for determining a range of visual distraction.
[0006] Specifically, the embodiments of the present disclosure are implemented through the following technical solutions:
[0007] In a first aspect, a method for determining a visual distraction range is provided, the method comprising: acquiring multiple frames of target images, the target images including human eye images of a target object while driving a vehicle; performing visual point detection on each frame of the target image to obtain visual point position information of the target object in each frame of the target image; and determining a visual distraction range of the target object based on the visual point position information of the target object, the visual distraction range being used for distraction detection of the target object while driving a vehicle.
[0008] In combination with any embodiment provided by the present disclosure, determining the target object's line of sight distraction range based on the target object's line of sight landing point position information includes: calculating the line of sight landing point dispersion according to the distances between multiple line of sight landing points corresponding to the multiple line of sight landing point position information; in response to the line of sight landing point dispersion being lower than a preset dispersion threshold, determining the target object's line of sight distraction range based on the target object's line of sight landing point position information.
[0009] In combination with any embodiment provided by the present disclosure, determining the target object's line of sight distraction range based on the target object's line of sight landing point position information includes: determining the line of sight center position information of the target object based on multiple line of sight landing point position information; determining the target object's line of sight distraction range based on the line of sight center position information.
[0010] In combination with any embodiment provided in the present disclosure, determining the sight center position information of the target object based on the multiple sight point position information includes: performing cluster analysis on the multiple sight point position information to determine the position information of the cluster center; and determining the position information of the cluster center as the sight center position information of the target object.
[0011] In combination with any embodiment provided by the present disclosure, determining the target object's line of sight distraction range based on the line of sight center position information includes: in response to the line of sight center corresponding to the line of sight center position information being within the initial distraction range, adjusting the initial distraction range to obtain the target object's line of sight distraction range that does not include the line of sight center.
[0012] In combination with any embodiment provided in the present disclosure, the method further includes: determining an edge position of the adjusted visual distraction range according to preset calibration position information, wherein the preset calibration position information is determined based on a calibrated component position in the vehicle.
[0013] In combination with any embodiment provided in the present disclosure, the acquiring of multiple frames of target images includes: acquiring a target driving speed of the vehicle; acquiring target images of the number of frames corresponding to the target driving speed based on a preset mapping relationship between driving speed and frame number, wherein the driving speed and frame number are positively correlated in the preset mapping relationship between driving speed and frame number; and determining the target object's visual distraction range includes: determining the target visual distraction range of the target object when the vehicle driven by the target object is at the target driving speed.
[0014] In combination with any embodiment provided in the present disclosure, the method further includes: in response to the vehicle driven by the target object being at the target driving speed, performing distraction detection on the target object based on the target visual distraction range of the target object.
[0015] In combination with any embodiment provided in the present disclosure, the method further includes: obtaining identity information of the target object; associating the visual distraction range of the target object with the identity information of the target object, so as to perform distraction detection using the visual distraction range associated with the identity information when the driver of the vehicle is identified as the target object.
[0016] In a second aspect, a device for determining a visual distraction range is provided, the device comprising: an image acquisition module, configured to acquire multiple frames of target images, wherein the target images include human eye images of a target object when driving a vehicle; a landing point detection module, configured to perform visual landing point detection on each frame of the target image to obtain visual landing point position information of the target object in each frame of the target image; and a range division module, configured to determine the visual distraction range of the target object based on the visual landing point position information of the target object, wherein the visual distraction range is used for distraction detection of the target object when driving a vehicle.
[0017] In combination with any embodiment provided by the present disclosure, the range division module is specifically configured to: calculate the line of sight landing point dispersion based on the distances between multiple line of sight landing points corresponding to the multiple line of sight landing point position information; in response to the line of sight landing point dispersion being lower than a preset dispersion threshold, determine the line of sight distraction range of the target object based on the line of sight landing point position information of the target object.
[0018] In combination with any embodiment provided in the present disclosure, the range division module is specifically configured to: determine the sight center position information of the target object based on the multiple sight point position information; and determine the sight distraction range of the target object based on the sight center position information.
[0019] In combination with any embodiment provided in the present disclosure, the range division module, when used to determine the sight center position information of the target object based on multiple sight point position information, is specifically configured to: perform cluster analysis on multiple sight point position information to determine the position information of the cluster center; and determine the position information of the cluster center as the sight center position information of the target object.
[0020] In combination with any embodiment provided in the present disclosure, when the range division module is set to determine the line of sight distraction range of the target object based on the line of sight center position information, it is specifically set to: in response to the line of sight center corresponding to the line of sight center position information being within the initial distraction range, the initial distraction range is adjusted to obtain the line of sight distraction range of the target object that does not include the line of sight center.
[0021] In combination with any embodiment provided in the present disclosure, the range division module is further configured to: determine the edge position of the adjusted visual distraction range according to preset calibration position information, and the preset calibration position information is determined based on the calibrated component position in the vehicle.
[0022] In combination with any embodiment provided in the present disclosure, the image acquisition module is specifically configured to: acquire the target driving speed of the vehicle; and acquire a target image of the number of frames corresponding to the target driving speed based on a preset mapping relationship between the driving speed and the number of frames, wherein the driving speed and the number of frames are positively correlated in the preset mapping relationship between the driving speed and the number of frames; and the range division module, when configured to determine the visual distraction range of the target object, is specifically configured to: determine the target visual distraction range of the target object when the vehicle driven by the target object is at the target driving speed.
[0023] In combination with any embodiment provided by the present disclosure, the device also includes a distraction detection module, which is configured to: in response to the vehicle driven by the target object being at the target driving speed, perform distraction detection on the target object based on the target visual distraction range of the target object.
[0024] In a third aspect, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions that can be executed on the processor, and the processor is used to implement the method for determining the range of visual distraction described in any embodiment of the present disclosure when executing the computer instructions.
[0025] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method for determining the visual distraction range described in any embodiment of the present disclosure is implemented.
[0026] In a fifth aspect, a computer program is provided, comprising a computer-readable code. When the computer-readable code is run in an electronic device, a processor in the electronic device executes a method for determining a visual distraction range as described in any embodiment of the present disclosure.
[0027] The method for determining the visual distraction range provided in the embodiments of the present disclosure uses the actual visual focus position information of the target object when driving a vehicle to determine the user-specific distraction detection range, so that the distraction detection range is more adapted to the driver's personal body shape, sitting posture and driving habits, and reduces the possibility of false triggering and missed triggering of distraction detection, thereby improving the user's driving experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in one or more embodiments of the present disclosure or related technologies, the following briefly introduces the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings described below are only some embodiments recorded in one or more embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0029] FIG1 is a schematic diagram illustrating a distribution of sight points according to at least one embodiment of the present disclosure;
[0030] FIG2 is a flowchart of a method for determining a visual distraction range according to at least one embodiment of the present disclosure;
[0031] FIG3 is a distribution diagram of sight points with high sight dispersion, shown in at least one embodiment of the present disclosure;
[0032] FIG4 is a flowchart of another method for determining a visual distraction range according to at least one embodiment of the present disclosure;
[0033] FIG5 is a schematic diagram of an expanded non-distracting range of vision, shown in at least one embodiment of the present disclosure;
[0034] FIG6 is a flowchart of another method for determining a visual distraction range according to at least one embodiment of the present disclosure;
[0035] FIG7 is a block diagram of a device for determining a visual distraction range according to at least one embodiment of the present disclosure;
[0036] FIG8 is a block diagram of another apparatus for determining a range of visual distraction according to at least one embodiment of the present disclosure;
[0037] FIG9 is a schematic diagram of a hardware structure of an electronic device according to at least one embodiment of the present disclosure. DETAILED DESCRIPTION
[0038] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with this specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of this specification, as detailed in the appended claims.
[0039] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. As used in this specification and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0040] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, such information should not be limited to these terms. These terms are merely used to distinguish information of the same type from one another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information without departing from the scope of this specification. Depending on the context, the term "if" as used herein may be interpreted as "when," "when," or "in response to determining."
[0041] Currently, distraction detection in the DMS system is performed through a uniformly defined distraction range. However, in actual applications, different drivers have significant differences in height, sitting posture, driving habits, etc. A single distraction range is difficult to adapt to different users, which can easily lead to frequent false detections and missed detections. For example, Figure 1 shows the gaze point data of a user during normal driving, where the × points represent the coordinates of the gaze points, the area within the polygon represents the non-distracted range (in this case, the front windshield area), and the area outside the polygon represents the uniformly defined distraction range. When the × points fall within the polygon, it means that the gaze is fixed on the front windshield area and is judged as not distracted. When the × points fall outside the polygon, it is judged as distracted. As can be seen in Figure 1, for this user, nearly half of the gaze points fall within the distraction range, which will frequently cause distraction reminders during normal driving, affecting the user's normal driving.
[0042] In view of this, at least one embodiment of the present disclosure provides a method for determining the range of visual distraction, which adaptively determines the range of visual distraction based on the driver's line of sight position information while driving, so that the demarcation of the visual distraction range can be determined according to the behavioral patterns of different drivers during driving, making distraction detection based on the visual distraction range more accurate, thereby improving the user's driving experience.
[0043] FIG2 is a flow chart of a method for determining a visual distraction range according to at least one embodiment of the present disclosure. The method may include the following steps:
[0044] In step 102 , a plurality of frames of target images are acquired, wherein the target images include human eye images of a target object when driving a vehicle.
[0045] In this step, the target object may be a driver who is driving a vehicle.
[0046] This embodiment does not limit the method of acquiring multiple frames of target images. For example, the target images can be obtained by continuously capturing the front or side of the driver by a camera in the vehicle over a period of time.
[0047] The method for determining the visual distraction range in this embodiment can be used in a DMS system in a vehicle, can also be used in terminal devices such as mobile phones and tablets, and can also be used in a cloud server, and this embodiment does not limit this.
[0048] It is understood that the distracting sight range and the non-distracting sight range are complementary. When the distracting sight range is determined, the non-distracting sight range is also determined, and when the non-distracting sight range is determined, the distracting sight range is also determined. The method in this embodiment can also be considered a method for determining the non-distracting sight range.
[0049] In step 104, the sight point detection is performed on each frame of the target image to obtain the sight point position information of the target object in each frame of the target image.
[0050] The sight point position information includes position information of the sight point of the target object in the target image, and the sight point is the point where the binocular sight of the target object is focused on the space or plane inside the driven vehicle.
[0051] In this step, gaze point detection is performed for each target image in the multiple target image frames to obtain gaze point position information of the target object corresponding to each target image frame. This embodiment does not limit the method used for gaze point detection. For example, the gaze point of the target object can be estimated using a gaze estimation method combined with the driver's gaze offset and facial angle offset in the target image. The gaze point can be detected using the gaze detection function in the DMS. Alternatively, a gaze detection neural network can be pre-trained and the target image can be input into the gaze detection neural network for gaze point detection.
[0052] In step 106 , based on the target object's sight point location information, a sight distraction range of the target object is determined. The sight distraction range is used for distraction detection when the target object is driving a vehicle.
[0053] The target object's gaze location information represents the target object's gaze behavior habits while driving, so the range of visual distraction can be divided based on the gaze location information.
[0054] For example, a statistical analysis may be performed on multiple sight point position information of a target object corresponding to multiple frames of target images, and a range outside the range where the sight point is located during focused driving may be determined as a sight distraction range, or a range where the sight point is located during distracted driving may be determined as a sight distraction range. Alternatively, a uniformly defined initial distraction range may be adjusted based on the sight point position information to determine a new sight distraction range. Alternatively, the sight distraction range of the target object may be determined based on the layout of components such as the windshield and rearview mirror in the vehicle and the sight point position information.
[0055] The method for determining the visual distraction range provided in the embodiments of the present disclosure uses the actual visual focus position information of the target object when driving a vehicle to determine the user-specific distraction detection range, so that the distraction detection range is more adapted to the driver's personal body shape, sitting posture and driving habits, and reduces the possibility of false triggering and missed triggering of distraction detection, thereby improving the user's driving experience.
[0056] In one embodiment, before determining the sight distraction range based on the sight point position information, it can also be determined whether the sight point position information obtained in step 104 is the sight point position information of the target object in a normal driving state. The normal driving state here refers to a state in which the target object remains focused on driving but is occasionally distracted, so as to ensure that the finally determined sight distraction range can reflect the user's actual gaze habits. Step 106 may include: calculating the sight point dispersion based on the distances between the multiple sight points corresponding to the multiple sight point position information; in response to the sight point dispersion being lower than a preset dispersion threshold, determining the sight distraction range of the target object based on the sight point position information of the target object.
[0057] Each line of sight landing point position information includes the position information of a line of sight landing point. The distance between multiple line of sight landing points can be the distance between any two of the multiple line of sight landing points. The line of sight landing point discreteness is used to indicate the degree of discreteness of the distribution of multiple line of sight landing points in a plane or space. When calculating the line of sight landing point discreteness, the distance variance, distance mean or standard deviation can be calculated for the distance between multiple line of sight landing points. The higher the line of sight landing point discreteness, the less concentrated the line of sight landing points are. FIG3 shows a line of sight landing point distribution diagram with high line of sight discreteness. The line of sight landing points in FIG3 are too dispersed, and the reliability of the target object's gaze habit analyzed therefrom is very low. When the line of sight landing point discreteness is lower than the preset discreteness threshold, it means that the multiple line of sight landing points are relatively concentrated, and the reliability of the target object's gaze habit analyzed therefrom is high, as shown in FIG1. At this time, the target object's line of sight distraction range can be determined based on the line of sight landing point position information.
[0058] For the target object during normal driving, the user is in a state of focused driving most of the time. Therefore, the gaze point position information during normal driving is relatively concentrated. If the gaze point is not concentrated, that is, the gaze point dispersion is not lower than the preset dispersion threshold, it is considered that the multiple gaze point position information obtained previously cannot be used to analyze the user's behavioral habits in the focused driving state, and the process returns to step 102 to re-acquire new multi-frame target images.
[0059] FIG4 shows another method for determining a visual distraction range provided by at least one embodiment of the present disclosure. The method may include the following processing, wherein the steps repeated in the above embodiment are not repeated in this embodiment.
[0060] In step 202, multiple frames of target images are acquired, and sight point detection is performed on each frame of the target image to obtain sight point position information of the target object in each frame of the target image.
[0061] The target image includes a human eye image of a target object when driving a vehicle.
[0062] In this embodiment, for the convenience of description, the number of frames of the multi-frame image is referred to as K frames, where K is a positive integer. The specific value of K can be set by those skilled in the art according to actual needs.
[0063] For example, the DMS system in the vehicle continuously collects K frames of target images from the driver and performs line of sight detection to obtain the effective position information of K line of sight points.
[0064] In step 204, the sight point dispersion is calculated based on the distances between the plurality of sight point positions corresponding to the plurality of sight point position information.
[0065] For example, the distance variance of K sight points is calculated to obtain the sight point dispersion. The higher the sight point dispersion, the more dispersed the sight points are. That is, the sight point dispersion is negatively correlated with the sight point concentration.
[0066] In step 206 , in response to the dispersion of the sight point being lower than a preset dispersion threshold, the sight center position information of the target object is determined based on the plurality of sight point position information.
[0067] When the dispersion of the sight points is lower than the preset dispersion threshold, it means that the concentration of the sight points is high, and the obtained K sight point position information has analysis value, and the steps of this embodiment can be continued; otherwise, return to step 202, or end the method of this embodiment.
[0068] Among them, the line of sight center position information is the position information of the line of sight center. The line of sight center is the center of the positions of multiple line of sight points. It can be one or more specific coordinate points, or it can be one or more areas. For example, it can be the point where the average of the coordinates of multiple line of sight points is located, the point where the median is located, or it can be the area with the highest density of line of sight points.
[0069] In one example, the sight center may be a cluster center, and determining the sight center position information of the target object based on the plurality of sight point position information includes:
[0070] Performing cluster analysis on the position information of the plurality of sight points to determine the position information of the cluster center;
[0071] The position information of the cluster center is determined as the sight line center position information of the target object.
[0072] This embodiment does not limit the specific method used for cluster analysis. For example, a k-means algorithm or a k-medoids algorithm may be used, and the cluster center C determined by clustering the sight point cluster containing K sight points may be one or more.
[0073] In step 208 , the visual distraction range of the target object is determined based on the visual center position information.
[0074] For example, based on the line of sight center position information, the area where the line of sight center is located can be expanded to obtain the non-distracting range of the target object's line of sight, and the area outside the non-distracting range of the line of sight in the vehicle space can be determined as the distracting range of the line of sight.
[0075] For another example, calibrated position information within the vehicle is pre-set. This calibrated position information refers to the position of vehicle components, such as the windshield, rearview mirrors, side mirrors, and central control screen. This calibrated position information is then combined with the center of sight to determine the target object's distracting range. For example, when the center of sight is near the rearview mirror, the area containing the rearview mirror and the center of sight is expanded. For example, an initial area is defined with the rearview mirror and the center of sight as the area centers, and then both initial areas are expanded so that both the rearview mirror and the center of sight fall within the expanded areas. Alternatively, an initial area is first defined covering the rearview mirror and the center of sight, and then this initial area is expanded to obtain the target object's non-distracting range. The area outside the non-distracting range is then determined as the distracting range.
[0076] In one embodiment, the method for determining the visual distraction range of this embodiment is used to adjust a uniformly defined initial distraction range based on the driving habits of a target subject. Determining the visual distraction range of the target subject based on the visual center position information includes:
[0077] In response to the sight center corresponding to the sight center position information being within the initial distraction range, the initial distraction range is adjusted to obtain a sight distraction range of the target object that does not include the sight center.
[0078] When the sight points are relatively concentrated, if the sight centers of multiple sight points are within a pre-defined initial distraction range, adjustments will be made. Here, the initial distraction range can be a pre-defined spatial or planar range corresponding to a local area in the vehicle cabin. In practice, a universal sight distraction range can be set for multiple users (drivers) as a standard for determining whether the driver is distracted while driving. The aforementioned initial distraction range can be the universal sight distraction range. Taking the adjustment of the initial distraction range of the distraction detection function in the DMS system as an example, assuming that the initial distraction range is the area outside the front windshield, and the front windshield range is represented by a geometric polygon P, as shown in Figure 3, then when the coordinates of the sight point fall within the range of polygon P, it is considered non-distracted, otherwise it is distracted. For the cluster center C of the aforementioned sight point cluster, if C is outside P, the three sides of polygon P are expanded outward so that P contains C. Figure 5 shows the expanded non-distracting sight range, with the solid line representing the area before adjustment and the dotted line representing the area after adjustment. Before the adjustment, the driver drove normally, but their gaze mostly fell within the initial distraction range (outside the polygon), repeatedly triggering false distraction alarms. After the adaptive adjustment, their gaze almost always fell within the non-distracting range (inside the polygon), which better reflects their actual situation. The updated non-distracting range P is then applied to subsequent distraction detections for the same driver to update the distraction detection parameters. The adjusted distraction range better reflects the user's gaze habits, reducing false and missed detections.
[0079] In addition, in response to the sight center corresponding to the sight center position information not being within the initial distraction range, the initial distraction range may not be adjusted.
[0080] In one example, the method further includes:
[0081] The edge position of the adjusted visual distraction range is determined according to preset calibration position information, wherein the preset calibration position information is determined based on the calibrated component position in the vehicle.
[0082] The layout of various components in the vehicle affects the user's line of sight. For example, when a driver is concentrating on driving, he or she will not look at the left window. In order to make the range of visual distraction more reasonable, the position of various components in the vehicle can be used as a reference when adjusting the range of visual distraction.
[0083] The preset calibration position information is the location information of vehicle components, such as the windshield, rearview mirrors, side mirrors, central control screen, and windows. When expanding the non-distracting range to include the center of the line of sight, the positions of closer components can be used as the edge positions of the expanded area. For example, when expanding polygon P, the center of the line of sight is close to the rearview mirror. Therefore, the two edges of the polygon farthest from the center of the line of sight are fixed, while the three edges closer to the center of the line of sight are extended outward until the area containing the rearview mirror is covered.
[0084] The method for determining the visual distraction range provided by the embodiments of the present disclosure first determines whether the visual focus is concentrated after obtaining the actual visual focus position information of the target object when driving a vehicle. When the dispersion of the visual focus points is lower than a preset dispersion threshold, the visual focus center position information is continued to be calculated. Finally, a user-specific distraction detection range is determined based on the visual focus center position information. This method can automatically learn the driver's gaze habits while driving and adaptively determine the visual distraction range. It can also automatically generate a personalized distraction monitoring configuration to make the distraction detection range more suitable for the driver's personal body shape, sitting posture, and driving habits, reduce the possibility of false triggering and missed triggering of distraction detection, and thus improve the user's driving experience.
[0085] In one embodiment, the method for determining the visual distraction range in any of the above embodiments may be executed each time the vehicle is traveling, and the obtained visual distraction range may be used for the distraction detection function of the intelligent driving system or DMS system in the vehicle to perform distraction detection on the current driving trip.
[0086] Optionally, in an embodiment of the present application, the method for determining the visual distraction range may further include: obtaining the identity information of the target object; associating the visual distraction range of the target object with the identity information of the target object, so as to use the visual distraction range associated with the identity information of the target object to perform distraction detection when the driver of the vehicle is identified as the target object. Specifically, the method for determining the visual distraction range in any of the above embodiments may be performed on each target object respectively, and a mapping relationship may be established between the obtained visual distraction range and the identity information of the target object to associate the two. When the person driving the vehicle is determined to be the target object by performing identity recognition on the person driving the vehicle, the associated visual distraction range is obtained using the identity information of the target object obtained by the identity recognition, and the visual distraction range is used for the distraction detection function of the intelligent driving system or DMS system in the vehicle to perform distraction detection on the target object.
[0087] FIG6 illustrates another method for determining a visual distraction range provided by at least one embodiment of the present disclosure. This method can dynamically adjust the visual distraction range based on the driving speed of a target subject while driving a vehicle, thereby further ensuring the accuracy of distraction detection and improving driving safety. The method may include the following processing:
[0088] In step 302 , a target driving speed of the vehicle is obtained.
[0089] When the vehicle is in motion, the target speed of the vehicle is obtained.
[0090] In step 304, a target image with a frame number corresponding to the target driving speed is acquired according to a preset mapping relationship between the driving speed and the frame number.
[0091] In the preset mapping relationship between driving speed and frame rate, the driving speed and frame rate are positively correlated. The faster the driving speed, the higher the frame rate of the target image that needs to be acquired. The target image includes a human eye image of the target object when the vehicle is being driven.
[0092] For example, at higher speeds (e.g., over 70 km / h), drivers focus more on driving for safety reasons, and their gaze patterns change compared to slower speeds. Consequently, the previously defined distraction ranges for the lower speeds no longer apply to the current speed. Furthermore, as speeds increase, distraction detection becomes more precise to further ensure driving safety. This requires more target images to detect more concentrated gaze points and accurately delineate distraction ranges.
[0093] Therefore, when the driving speed increases, the number of frames of the sampled target image is increased accordingly to achieve dynamic adjustment of the visual distraction range.
[0094] In step 306, the sight point detection is performed on each frame of the target image to obtain the sight point position information of the target object in each frame of the target image.
[0095] In step 308 , based on the sight point position information of the target object, a target sight distraction range of the target object is determined when the vehicle driven by the target object is at the target driving speed.
[0096] A mapping relationship is established and stored between the target visual distraction range determined this time and the target driving speed. This target visual distraction range is used to analyze and detect the target subject when the target subject is driving a vehicle at the target driving speed. Because the driver's focused gaze may differ at different driving speeds, for example, at faster speeds, the driver typically focuses on distant road conditions, while at slower speeds, the driver typically focuses on observing nearby road conditions to ensure safety. Therefore, the target visual distraction range determined in this embodiment more flexibly adapts to driving speeds and better meets the user's actual gaze habits and safe driving needs at multiple driving speeds. This results in more accurate distraction detection and ensures the user's driving safety.
[0097] In other embodiments, based on the above embodiments, the method further includes: in step 310, in response to the vehicle driven by the target object being at the target driving speed, distraction detection is performed on the target object based on the target visual distraction range of the target object.
[0098] When the target subject is driving a vehicle, the driving speed can be obtained in real time. For example, the driving speed can be pre-classified into different speed ranges: 0-30 km / h as the first speed, 30-50 km / h as the second speed, 50-70 km / h as the third speed, and 70-100 km / h as the fourth speed. The corresponding visual distraction range for each speed range is calculated through steps 302 to 308. When the obtained driving speed exceeds 70 km / h and is in the fourth speed range, the target subject is distracted based on the target visual distraction range corresponding to the target driving speed for the fourth speed range, thereby improving the user's distraction monitoring experience and driving safety.
[0099] As shown in FIG. 7 , FIG. 7 is a block diagram of a device for determining a visual distraction range according to at least one embodiment of the present disclosure, the device including:
[0100] An image acquisition module 71 is configured to acquire multiple frames of target images, wherein the target images include human eye images of a target object when driving a vehicle;
[0101] A landing point detection module 72 is configured to perform sight landing point detection on each frame of the target image to obtain sight landing point position information of the target object in each frame of the target image;
[0102] The range division module 73 is configured to determine the target object's sight distraction range based on the target object's sight point location information, and the sight distraction range is used for distraction detection when the target object is driving a vehicle.
[0103] In some optional embodiments, the range division module 73 is specifically configured to:
[0104] Calculating the dispersion of sight point locations according to the distances between the plurality of sight point locations corresponding to the plurality of sight point location information;
[0105] In response to the sight point dispersion being lower than a preset dispersion threshold, a sight distraction range of the target object is determined based on the sight point position information of the target object.
[0106] In some optional embodiments, the range division module 73 is specifically configured to:
[0107] Determining the sight center position information of the target object based on the plurality of sight point position information;
[0108] Based on the sight center position information, a sight distraction range of the target object is determined.
[0109] In some optional embodiments, when the range dividing module 73 is configured to determine the sight line center position information of the target object based on the plurality of sight line landing point position information, it is specifically configured to:
[0110] Performing cluster analysis on the position information of the plurality of sight points to determine the position information of the cluster center;
[0111] The position information of the cluster center is determined as the sight line center position information of the target object.
[0112] In some optional embodiments, when the range division module 73 is configured to determine the target object's sight distraction range based on the sight center position information, it is specifically configured to:
[0113] In response to the sight center corresponding to the sight center position information being within the initial distraction range, the initial distraction range is adjusted to obtain a sight distraction range of the target object that does not include the sight center.
[0114] In some optional embodiments, the range division module 73 is further configured to:
[0115] The edge position of the adjusted visual distraction range is determined according to preset calibration position information, wherein the preset calibration position information is determined based on the calibrated component position in the vehicle.
[0116] In some optional embodiments, the image acquisition module 71 is specifically configured to:
[0117] Obtaining a target driving speed of the vehicle;
[0118] According to a preset mapping relationship between driving speed and frame number, a target image of the frame number corresponding to the target driving speed is obtained, wherein the driving speed and the frame number are positively correlated in the preset mapping relationship between driving speed and frame number;
[0119] The range division module 73, when configured to determine the target object's visual distraction range, is specifically configured to:
[0120] A target visual distraction range of the target object is determined when the vehicle driven by the target object is at the target driving speed.
[0121] Based on the above device embodiment, as shown in FIG8 , the device further includes a distraction detection module 74 configured to:
[0122] In response to a vehicle driven by the target object being at the target driving speed, distraction detection is performed on the target object based on a target visual distraction range of the target object.
[0123] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method embodiments, and will not be repeated here.
[0124] An embodiment of the present disclosure further provides an electronic device, as shown in FIG9 , comprising a memory 91 and a processor 92, wherein the memory 91 is used to store computer instructions that can be executed on the processor, and the processor 92 is used to implement the method for determining the range of visual distraction described in any embodiment of the present disclosure when executing the computer instructions.
[0125] An embodiment of the present disclosure further provides a computer program product, which includes a computer program / instruction, and when the computer program / instruction is executed by a processor, it implements the method for determining the visual distraction range described in any embodiment of the present disclosure.
[0126] An embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for determining the visual distraction range described in any embodiment of the present disclosure.
[0127] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0128] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0129] Other embodiments of the present invention will readily occur to those skilled in the art upon consideration of the present invention and practice of the invention claimed herein. This specification is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of this specification and include common knowledge or customary techniques in the art not claimed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present invention being indicated by the following claims.
[0130] It should be understood that the present description is not limited to the exact structure that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
[0131] If the technical solution disclosed herein involves personal information, the product using the technical solution disclosed herein has clearly informed the individual of the personal information processing rules and obtained the individual's voluntary consent before processing the personal information. If the technical solution disclosed herein involves sensitive personal information, the product using the technical solution disclosed herein has obtained the individual's separate consent before processing the sensitive personal information and at the same time meets the "explicit consent" requirement. For example, on personal information collection devices such as cameras, a clear and prominent sign is set to inform that the individual has entered the personal information collection scope and that personal information will be collected. If the individual voluntarily enters the collection scope, it is deemed that they agree to the collection of their personal information; or on the personal information processing device, when the personal information processing rules are notified by obvious signs / information, the individual's authorization is obtained through pop-up information or by asking the individual to upload their personal information. The personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the type of personal information processed.
[0132] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.
Claims
1. A method for determining a visual distraction range, the method comprising: Acquire multiple frames of target images, wherein the target images include human eye images of the target object when driving a vehicle; Performing sight point detection on each frame of the target image to obtain sight point position information of the target object in each frame of the target image; Based on the line of sight location information of the target object, a line of sight distraction range of the target object is determined, and the line of sight distraction range is used for distraction detection when the target object is driving a vehicle.
2. The method according to claim 1, wherein: The determining the sight distraction range of the target object based on the sight point position information of the target object includes: Calculating the dispersion of sight point locations according to the distances between the plurality of sight point locations respectively corresponding to the plurality of sight point location information; In response to the sight point dispersion being lower than a preset dispersion threshold, a sight distraction range of the target object is determined based on the sight point position information of the target object.
3. The method according to claim 1 or 2, wherein: The determining the sight distraction range of the target object based on the sight point position information of the target object includes: Determine the sight line center position information of the target object according to the plurality of sight line landing point position information; Based on the line of sight center position information, a line of sight distraction range of the target object is determined.
4. The method according to claim 3, wherein: Determining the sight line center position information of the target object according to the plurality of sight line landing point position information includes: Performing cluster analysis on the position information of the plurality of sight points to determine the position information of the cluster center; The location information of the cluster center is determined as the sight line center location information of the target object.
5. The method according to claim 3, wherein: The determining the sight distraction range of the target object based on the sight center position information includes: In response to the sight center corresponding to the sight center position information being within the initial distraction range, the initial distraction range is adjusted to obtain a sight distraction range of the target object that does not include the sight center.
6. The method according to claim 5, wherein: The method further comprises: The edge position of the adjusted visual distraction range is determined according to preset calibration position information, wherein the preset calibration position information is determined based on the calibrated component position in the vehicle.
7. The method according to claim 1, wherein: The step of acquiring multiple frames of target images comprises: Obtaining a target driving speed of the vehicle; According to the preset mapping relationship between the driving speed and the frame number, a target image of the frame number corresponding to the target driving speed is obtained, In the preset mapping relationship between the driving speed and the frame number, the driving speed and the frame number are positively correlated; Determining the visual distraction range of the target object includes: A target visual distraction range of the target object is determined when the vehicle driven by the target object is at the target driving speed.
8. The method according to claim 7, wherein: The method further comprises: In response to a vehicle driven by the target object being at the target driving speed, distraction detection is performed on the target object based on a target visual distraction range of the target object.
9. The method according to any one of claims 1 to 8, wherein: The method further comprises: Obtaining identity information of the target object; The sight distraction range of the target object is associated with the identity information of the target object, so that when the driver of the vehicle is identified as the target object, the sight distraction range associated with the identity information is used to perform distraction detection.
10. A device for determining a range of visual distraction, the device comprising: An image acquisition module, configured to acquire multiple frames of target images, wherein the target images include human eye images of a target object when driving a vehicle; A landing point detection module is configured to perform sight point detection on each frame of the target image to obtain the sight point position information of the target object in each frame of the target image; The range division module is configured to determine the sight distraction range of the target object based on the sight point position information of the target object, and the sight distraction range is used for distraction detection when the target object is driving a vehicle.
11. An electronic device, comprising a memory and a processor, wherein the memory is used to store computer instructions that can be executed on the processor, and the processor is used to implement the method for determining the visual distraction range according to any one of claims 1 to 9 when executing the computer instructions.
12. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method for determining the visual distraction range according to any one of claims 1 to 9 is implemented.
13. A computer program, comprising a computer readable code, wherein when the computer readable code is executed in an electronic device, a processor in the electronic device executes a method for implementing the method for determining a visual distraction range as claimed in any one of claims 1 to 9.
Citation Information
Patent Citations
Driving state recognition method and device and vehicle
CN110909718A
Driver state determination method and device, driver monitoring system and vehicle
CN113378771A
Driving behavior state recognition method and device, equipment and storage medium
CN114998870A
Method for determining gazing area and vehicle control method and device
CN115035499A
Method and system for detecting distraction behavior of driver
CN115246405A
Cited By
Sitting posture health monitoring and mirror image tactile feedback correction method and system for visually impaired people
CN122376087A
