A method and system for detecting fatigue risk of a drilling worker

By analyzing facial images and motion tests of drilling workers, fatigue risks can be monitored in real time, solving the problem of difficulty in identifying mild fatigue in existing technologies. This enables timely detection and prevention of fatigue in drilling workers, improving operational safety.

CN122867072BActive Publication Date: 2026-11-20XI'AN PETROLEUM UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611360700.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-03
Publication Date
2026-11-20
Estimated Expiration
2046-09-03

AI Technical Summary

Technical Problem

Existing technologies are not sensitive enough to detect mild fatigue in drilling workers, making it difficult to identify and eliminate potential safety hazards in advance.

Method used

By analyzing the eyelid opening and closing characteristics of workers' facial images and combining this with motion test check-ins, fatigue risk values ​​can be monitored and adjusted in real time, triggering voice prompts and mandatory work stoppage measures to ensure that drilling workers can rest in a timely manner when the fatigue risk is high.

Benefits of technology

It effectively prevents safety accidents caused by worker fatigue during drilling operations, and improves the safety and reliability of drilling operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122867072B_ABST
    Figure CN122867072B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of fatigue risk detection of drilling workers, and particularly relates to a fatigue risk detection method and system for drilling workers. The present application determines a fatigue risk value by analyzing a face image of a worker, and further confirms the fatigue state of the worker by action test clocking when the fatigue risk value is abnormal for multiple times in succession. The present application triggers a forced shutdown prompt when the posture standard degree of the action test clocking is abnormal. The method of the present application can detect the fatigue risk of drilling workers in time, thereby effectively preventing accidents caused by fatigue of drilling workers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of fatigue risk detection technology for drilling workers, and specifically to a method and system for detecting fatigue risk in drilling workers. Background Technology

[0002] Drilling workers typically work on outdoor drilling platforms in harsh environments with long hours and high risks, making them prone to fatigue. Due to the inherent risks of drilling operations, such as potential mechanical injuries or falls from heights, drilling workers must avoid working while fatigued to ensure operational safety.

[0003] Existing technologies include methods to determine worker fatigue by analyzing drilling worker operation videos. These methods extract fatigue features by analyzing the dynamic posture of drilling workers in operation videos. However, drilling workers may have normal dynamic postures even when they are only slightly fatigued. This method is not sensitive enough to detect mild fatigue in drilling workers. Moreover, once a drilling worker exhibits abnormal dynamic posture, the potential risk of a safety accident is already quite serious, making it difficult to identify fatigue risks in advance and eliminate potential hazards in a timely manner. Summary of the Invention

[0004] The purpose of this invention is to provide a method and system for detecting fatigue risk in drilling workers. By analyzing facial images of workers, fatigue risk values ​​are determined. When multiple consecutive fatigue risk values ​​are abnormal, the fatigue state of workers is further confirmed through motion testing check-ins. When the posture standard of the motion testing check-ins is abnormal, a forced work stoppage prompt is triggered. The method of this invention can detect the fatigue risk of drilling workers in a timely manner, thereby effectively preventing work accidents caused by worker fatigue.

[0005] This invention provides a method for detecting fatigue risk in drilling workers, comprising: The system acquires facial images of workers in a non-closed-eye state during face check-in. At regular intervals, it triggers a fatigue detection voice prompt to remind drilling workers to check in their faces. The facial images of the workers are acquired after the workers maintain a non-closed-eye state for a preset number of seconds. The eye lines are segmented from each worker's facial image collected. The eyelid opening and closing features are determined based on the eye lines. The standard eyelid opening and closing features of the worker are obtained by accessing the historical database. The fatigue risk value is determined based on the eyelid opening and closing features and the standard eyelid opening and closing features. The trigger duration and volume of the next fatigue detection voice prompt are determined based on the fatigue risk value. The trigger duration is negatively correlated with the fatigue risk value, and the volume of the prompt is positively correlated with the fatigue risk value. If the fatigue risk value obtained from multiple consecutive collections of worker facial images is abnormal, the drilling worker is marked as a fatigue risk candidate worker, and a motion detection voice prompt is triggered to remind the worker to perform motion testing and check-in. At the same time, the average of multiple abnormal fatigue risk values ​​is recorded as the risk coefficient. The system acquires motion image data collected when the worker performs motion testing and clocks in. The posture standard is determined based on the motion image data. If the worker exhibits abnormal posture standard, a forced work stoppage prompt is triggered. The motion testing and clocking in is set with multiple difficulty coefficients, and the difficulty coefficients are positively correlated with the risk coefficients.

[0006] Preferably, the eye lines include corner eye feature points, pupil feature points, upper eyelid lines, and lower eyelid lines.

[0007] Preferably, determining eyelid opening and closing characteristics based on eye lines includes: Determine the center line of the eye based on the feature points at the corners of the eyes and the feature points of the pupils on both sides; The total eye opening, upper eyelid opening, and lower eyelid opening are determined based on the average distance between the upper and lower eyelid lines, the average distance between the center line of the eye and the upper eyelid line, and the average distance between the center line of the eye and the lower eyelid line, respectively. The fatigue risk value is determined based on eyelid opening and closing characteristics and standard eyelid opening and closing characteristics, including: The total eye opening, upper eyelid opening, and lower eyelid opening are compared with the corresponding benchmark values ​​in the standard eyelid opening and closing characteristics to obtain the total eye opening and closing coefficient, upper eyelid opening and closing coefficient, and lower eyelid opening and closing coefficient, respectively. The comprehensive eye opening and closing coefficient is determined based on the average values ​​of the total eye opening and closing coefficient, the upper eyelid opening and closing coefficient, and the lower eyelid opening and closing coefficient; the eye fatigue coefficient is determined based on the average value of the comprehensive eye opening and closing coefficients of the left and right eyes; and the fatigue risk value is determined based on the reciprocal of the eye fatigue coefficient.

[0008] As a preferred method, after determining the eye fatigue coefficient based on the average of the combined opening and closing coefficients of the left and right eyes, the binocular symmetry coefficient is also calculated based on the matching degree of the left and right eyes. The weighted opening and closing coefficient is obtained by normalizing and weighting the eye fatigue coefficient and the binocular symmetry coefficient. The fatigue risk value is determined by the reciprocal of the weighted opening and closing coefficient.

[0009] Preferably, when determining the trigger duration and prompt volume of the next fatigue detection voice prompt based on the fatigue risk value, the trigger duration and prompt volume are respectively preset with a reference duration and a reference volume, and the fatigue risk value is pre-divided into multiple risk value intervals. The duration adjustment coefficient and the volume adjustment coefficient are determined according to the risk value interval to which the fatigue risk value belongs. The larger the risk value range to which the fatigue risk value belongs, the smaller the duration adjustment coefficient and the larger the volume adjustment coefficient; The trigger duration for the next fatigue detection voice prompt is determined based on the product of the baseline duration and the duration adjustment coefficient; The volume of the voice prompt for the next fatigue detection is determined by the product of the base volume and the volume adjustment coefficient.

[0010] As a preferred option, the criteria for judging abnormal fatigue risk values ​​are: If the fatigue risk value is greater than the preset fatigue risk threshold, it is determined that the fatigue risk value is abnormal.

[0011] Preferably, the action test check-in includes a head following test, which includes indicators for turning the head to the left, the first middle indicator, turning the head to the right, looking up, the second middle indicator, looking down, and the third middle indicator; the greater the difficulty level, the shorter the interval between adjacent indicators.

[0012] Preferably, determining the posture standard based on the motion image data includes: Extract the time series of coordinates of each key point of the action from the motion image data; For each key point of the action, the single-point standard degree is determined by comparing the actual coordinate sequence of the key point with the standard coordinate sequence of the corresponding point in the standard action template. The posture standard is determined based on the single-point standard of all key points of the movement.

[0013] Preferably, if the worker's posture is normal, a motion detection voice prompt will be triggered at fixed intervals to remind the worker to perform motion testing and check-in. If the worker's posture is normal in multiple consecutive motion testing check-ins, the fatigue risk candidate worker label will be removed.

[0014] The present invention also provides a fatigue risk detection system for drilling workers, comprising: The acquisition module is used to acquire the facial image of the worker in a non-closed state when the worker clocks in. It will trigger a fatigue detection voice prompt to remind the drilling worker to clock in every once in a while. The worker's facial image is the image acquired after the worker maintains a non-closed state for a preset number of seconds. The first determining module is used to segment the eye lines from each collected worker facial image, determine the eyelid opening and closing features based on the eye lines, access the historical database to obtain the worker's standard eyelid opening and closing features, and determine the fatigue risk value based on the eyelid opening and closing features and the standard eyelid opening and closing features. The second determining module is used to determine the trigger duration and prompt volume of the next fatigue detection voice prompt based on the fatigue risk value. The trigger duration is negatively correlated with the fatigue risk value, and the prompt volume is positively correlated with the fatigue risk value. The marking module is used to mark the drilling worker as a candidate worker for fatigue risk if the fatigue risk value obtained from multiple consecutive collections of the worker's facial images is abnormal, and to trigger a motion detection voice prompt to remind the worker to perform a motion test check-in. At the same time, the average value of multiple abnormal fatigue risk values ​​is recorded as the risk coefficient. The fatigue handling module is used to acquire motion image data collected when the worker performs motion test check-in, determine the posture standard based on the motion image data, and trigger a forced work stoppage prompt if the worker has an abnormal posture standard. The motion test check-in is set with multiple difficulty coefficients, and the difficulty coefficients are positively correlated with the risk coefficients.

[0015] Compared with the prior art, the present invention has the following beneficial effects: This invention also acquires facial images of workers in a non-closed-eye state during face check-in. At regular intervals, a fatigue detection voice prompt is triggered to remind drilling workers to perform face check-in. The worker's facial image is captured after the worker maintains a non-closed-eye state for a preset number of seconds. The concept behind this invention is that it is difficult for workers to keep their eyelids open when fatigued. Therefore, the facial images acquired in this invention are those captured after the worker maintains a non-closed-eye state for a preset number of seconds. For example, the preset number of seconds can be 10 seconds. Workers in a non-fatigued state can easily maintain a non-closed-eye state; usually, after maintaining this state for the preset number of seconds, the eyelids can still open and close normally. However, for fatigued workers, while they can usually maintain normal eyelid opening and closing at the beginning of face check-in, as time progresses, due to fatigue, their eyes tend to close. The facial images acquired at this time are highly suitable for fatigue risk detection.

[0016] The invention segments eye lines from each collected worker facial image, determines eyelid opening and closing features based on these lines, accesses a historical database to obtain the worker's standard eyelid opening and closing features, and determines a fatigue risk value based on these features. The trigger duration and volume of the next fatigue detection voice prompt are then determined based on this fatigue risk value. The trigger duration is negatively correlated with the fatigue risk value, while the volume is positively correlated. To identify drilling workers' fatigue risk as promptly as possible, the trigger duration of the next fatigue detection voice prompt is negatively correlated with the fatigue risk value; the higher the fatigue risk value, the higher the frequency of the fatigue detection voice prompt. Furthermore, the volume of the fatigue detection voice prompt is positively correlated with the fatigue risk value; the higher the fatigue risk value, the higher the volume of the fatigue detection voice prompt. The higher frequency and volume of the fatigue detection voice prompts are intended to improve the drilling workers' alertness. If, under these conditions, the drilling worker's fatigue risk value does not improve after multiple facial recognition checks, it indicates that the worker's fatigue level is quite severe, requiring further verification.

[0017] If the fatigue risk values ​​obtained from multiple consecutive collections of worker facial images are abnormal, the drilling worker is marked as a fatigue risk candidate, and a motion detection voice prompt is triggered to remind the worker to perform a motion test check-in. Simultaneously, the average of multiple abnormal fatigue risk values ​​is recorded as a risk coefficient. Motion image data collected during the worker's motion test check-in is acquired, and the posture standard is determined based on the motion image data. If the worker exhibits abnormal posture standard, a forced work stoppage prompt is triggered. The motion test check-in has multiple difficulty coefficients, which are positively correlated with the risk coefficient. This invention further verifies the fatigue state of marked fatigue risk candidates through motion test check-ins. Here, the difficulty coefficient of the motion test check-in is positively correlated with the risk coefficient. For workers with higher risk coefficients, the difficulty coefficient of the motion test check-in is set higher. This invention uses more difficult motion test check-ins to improve the alertness of drilling workers and to ensure timely work stoppage for workers with severe fatigue. If a worker can complete the more difficult motion test check-in relatively accurately, it means that although the worker may have mild fatigue, they still possess the ability to work normally, and in this case, forced work stoppage is unnecessary. If a worker is unable to complete the challenging action test check-in in a relatively standard manner, it means that the worker's fatigue has directly affected their posture, and continuing to work may pose a serious safety hazard. In this case, a mandatory work stoppage prompt is triggered, and the worker needs to rest in time. The method of this invention can detect the fatigue risk of drilling workers in a timely manner, thereby effectively preventing work accidents caused by drilling worker fatigue. Attached Figure Description

[0018] Figure 1 This is a flowchart of a method for detecting fatigue risk in drilling workers, provided as an embodiment of the present invention. Detailed Implementation

[0019] The present invention will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and should not be used to limit the scope of protection of the present invention.

[0020] Combination Figure 1 This embodiment provides a method for detecting fatigue risk in drilling workers, which includes: Step S1: Obtain the facial image of the worker in a non-closed state during the face check-in. At regular intervals, a fatigue detection voice prompt will be triggered to remind the drilling worker to check in. The worker's facial image is the image obtained after the worker maintains a non-closed state for a preset number of seconds. As an exemplary embodiment, the fatigue detection voice prompt is issued by a voice module pre-installed on the drilling worker's protective clothing or helmet.

[0021] The concept of this embodiment is that it is difficult for workers to keep their eyelids open when they are fatigued. Therefore, the facial image of the worker acquired in this embodiment is the image captured after the worker has maintained an open eye state for a preset number of seconds. The image acquisition device records a video for a preset number of seconds. As an example, the preset number of seconds can be 8 seconds. If no closed eyes are detected in the video, the last frame is used as the acquired facial image of the worker. If closed eyes are detected in the video, the image needs to be re-acquired. As an example, the method for detecting closed eyes can be a pre-trained convolutional neural network model. In this embodiment, the convolutional neural network model uses a pre-trained YOLO series eye keypoint recognition convolutional neural network model. Following the YOLO Keypoint / Pose keypoint model, it locates key points of the corner of the eye, pupil, upper eyelid, and lower eyelid, and determines whether the current image frame is in a closed eye state based on the eyelid opening and closing state reflected by the located upper and lower eyelid keypoints. Of course, other models with the same function in the prior art can also be used in the specific implementation process. Workers in a non-fatigued state can easily maintain an open-eye state. Usually, after maintaining an open-eye state for a preset number of seconds, their eyelids can still open and close normally. However, for fatigued workers, they can usually maintain a normal eyelid opening and closing state at the beginning of the facial recognition check-in. But as time goes on, due to their own fatigue, their eyes tend to close. At this time, the facial images of workers collected are very suitable for fatigue risk detection.

[0022] Step S2: Segment the eye lines from each collected worker facial image, determine the eyelid opening and closing features based on the eye lines, access the historical database to obtain the worker's standard eyelid opening and closing features, and determine the fatigue risk value based on the eyelid opening and closing features and the standard eyelid opening and closing features. The eye features include corner eye feature points, pupil feature points, upper eyelid lines, and lower eyelid lines; the upper and lower eyelid lines are obtained by regression fitting of the extracted upper and lower eyelid feature points, respectively. The corner eye feature points, pupil feature points, upper eyelid feature points, and lower eyelid feature points are located by an eye keypoint recognition model incorporating prior eye data. As an exemplary embodiment, the eye keypoint recognition model uses the YOLO series model.

[0023] Determining the eyelid opening and closing characteristics based on the eye lines includes: determining the eye center line based on the feature points at the corners of the eyes and the pupil feature points on both sides. In this embodiment, the method for determining the eye center line includes: connecting the feature points at the corners of the eyes and the pupil feature points on both sides as three path points in sequence with straight lines to directly obtain the eye center line. In some exemplary embodiments, a smooth curve in the form of a parabola or an arc can also be fitted based on the three path points to serve as the eye center line. The total eye opening, upper eyelid opening, and lower eyelid opening are determined based on the average distance between the upper and lower eyelid lines, the average distance between the eye center line and the upper eyelid line, and the average distance between the eye center line and the lower eyelid line, respectively. The fatigue risk value is determined based on eyelid opening and closing characteristics and standard eyelid opening and closing characteristics, including comparing the total eye opening, upper eyelid opening, and lower eyelid opening with the corresponding baseline values ​​in the standard eyelid opening and closing characteristics to obtain the total eye opening and closing coefficient, upper eyelid opening and closing coefficient, and lower eyelid opening and closing coefficient, respectively. As an exemplary embodiment, for each worker, the corresponding standard eyelid opening and closing characteristics are obtained by processing the worker's facial image collected when the worker is in a non-fatigued state.

[0024] The comprehensive eye opening coefficient is determined by the average of the total eye opening coefficient, the upper eyelid opening coefficient, and the lower eyelid opening coefficient; the eye fatigue coefficient is determined by the average of the comprehensive eye opening coefficients of the left and right eyes; and the fatigue risk value is determined by the reciprocal of the eye fatigue coefficient. This embodiment evaluates the eye opening status of drilling workers from three dimensions: total eye opening, upper eyelid opening, and lower eyelid opening, enabling timely detection of abnormal eye conditions caused by physical fatigue.

[0025] In one specific embodiment, after determining the eye fatigue coefficient based on the mean of the combined opening and closing coefficients of the left and right eyes, the binocular symmetry coefficient is also calculated based on the matching degree of the left and right eyes; the eye fatigue coefficient and the binocular symmetry coefficient are normalized and then weighted to obtain the weighted opening and closing coefficient; the fatigue risk value is determined based on the reciprocal of the weighted opening and closing coefficient.

[0026] The method for calculating the binocular symmetry coefficient based on the matching degree of the left and right eyes includes: determining the binocular symmetry coefficient based on the average matching degree of the total eye opening and closing coefficients, upper eyelid opening and closing coefficients, and lower eyelid opening and closing coefficients of the left and right eyes. The matching degree of the total eye opening and closing coefficients of the left and right eyes is determined by the ratio of the smaller and larger values, and the matching degree of the upper and lower eyelid opening and closing coefficients of the left and right eyes is also determined by the ratio of the smaller and larger values. Under fatigue, the opening and closing degree of a worker's eyes is prone to asymmetry. The higher the degree of symmetry, the lower the risk. Therefore, this embodiment introduces a binocular symmetry term, which, together with the eye fatigue coefficient, determines the fatigue risk value, so that the fatigue risk value can more accurately reflect the worker's fatigue state.

[0027] Step S3: Determine the trigger duration and prompt volume of the next fatigue detection voice prompt based on the fatigue risk value. The trigger duration is negatively correlated with the fatigue risk value, and the prompt volume is positively correlated with the fatigue risk value. In this embodiment, to identify the fatigue risk of drilling workers as promptly as possible, the trigger duration of the next fatigue detection voice prompt is negatively correlated with the fatigue risk value; the higher the fatigue risk value, the more frequent the fatigue detection voice prompt. Furthermore, the volume of the fatigue detection voice prompt is positively correlated with the fatigue risk value; the higher the fatigue risk value, the louder the prompt. The higher frequency and volume of the fatigue detection voice prompts are intended to improve the alertness of the drilling workers. If, under these conditions, the fatigue risk value of the drilling worker does not improve after multiple facial recognition check-ins, it indicates that the worker's fatigue level is already quite severe and requires further verification.

[0028] When determining the trigger duration and volume of the next fatigue detection voice prompt based on the fatigue risk value, the trigger duration and volume are preset with a base duration and a base volume, respectively. The fatigue risk value is pre-divided into multiple risk value intervals. The duration adjustment coefficient and volume adjustment coefficient are determined according to the risk value interval to which the fatigue risk value belongs. The larger the risk value interval to which the fatigue risk value belongs, the smaller the duration adjustment coefficient and the larger the volume adjustment coefficient. The trigger duration of the next fatigue detection voice prompt is determined by the product of the base duration and the duration adjustment coefficient. The volume of the next fatigue detection voice prompt is determined by the product of the base volume and the volume adjustment coefficient.

[0029] Step S4: If the fatigue risk value obtained from multiple consecutively collected worker facial images is abnormal, the drilling worker is marked as a fatigue risk candidate worker, and a motion detection voice prompt is triggered to remind the worker to perform a motion test check-in. At the same time, the average value of multiple abnormal fatigue risk values ​​is recorded as the risk coefficient. As an exemplary embodiment, the motion detection voice prompt here is issued by a voice module pre-installed on the protective clothing or helmet of the drilling worker.

[0030] In this embodiment, when the fatigue risk value obtained from multiple consecutively collected worker facial images is abnormal, the drilling worker is marked as a fatigue risk candidate worker. As an exemplary embodiment, when the fatigue risk value obtained from three consecutively collected worker facial images is abnormal, the drilling worker is marked as a fatigue risk candidate worker.

[0031] The criterion for judging abnormal fatigue risk values ​​is as follows: if the fatigue risk value is greater than a pre-set fatigue risk threshold, it is determined to be an abnormal fatigue risk value. The fatigue risk threshold is determined based on test data from multiple workers. For example, multiple workers are selected, and facial images of the workers are collected as sample images. The actual fatigue state experienced by these workers is recorded, categorized as fatigued or not fatigued. A corresponding fatigue risk value is determined for each sample image. Among the samples where the actual fatigue state is fatigued, the average of the fatigue risk values ​​ranked from highest to lowest according to a pre-set proportion is selected as the fatigue risk threshold.

[0032] Step S5: Obtain motion image data collected during the worker's motion test check-in. Determine the posture standard based on the motion image data. If the worker exhibits abnormal posture standard, a forced work stoppage prompt is triggered. The motion test check-in has multiple difficulty coefficients, which are positively correlated with the risk coefficient. Furthermore, if the worker's posture standard is normal, a motion detection voice prompt reminding the worker to perform the motion test check-in is triggered at fixed intervals. If the worker's posture standard is normal in multiple consecutive motion test check-ins, the fatigue risk candidate worker label is removed.

[0033] The criterion for judging abnormal posture standard is that the posture standard is lower than a preset standard threshold. In a specific embodiment, the standard threshold is negatively correlated with the difficulty coefficient. The higher the difficulty coefficient, the smaller the standard threshold can be set accordingly.

[0034] In this embodiment, for identified fatigue risk candidates, the fatigue status of the workers is further verified through motion test check-ins. The difficulty coefficient of these motion test check-ins is positively correlated with the risk coefficient. For workers with higher risk coefficients, the difficulty coefficient of the motion test check-ins is set higher. This embodiment uses more difficult motion test check-ins to improve the alertness of drilling workers and to ensure that workers with severe fatigue stop work promptly. If a worker can complete the more difficult motion test check-in relatively accurately, it means that although the worker may have mild fatigue, they still have the ability to work normally, and there is no need for mandatory work stoppage. If a worker cannot complete the more difficult motion test check-in relatively accurately, it means that the worker's fatigue has directly affected their posture, and continuing to work may pose a serious safety hazard. In this case, a mandatory work stoppage prompt is triggered, and the worker needs to rest immediately. The method in this embodiment can detect the fatigue risk of drilling workers in a timely manner, thereby effectively preventing work accidents caused by worker fatigue.

[0035] The motion test check-in includes a head-following test, which includes instructions to turn the head to the left, a first mid-range instruction, a right-turn instruction, a head-up instruction, a second mid-range instruction, a head-down instruction, and a third mid-range instruction. The higher the difficulty level, the shorter the interval between adjacent instructions. This embodiment uses a head-following test for motion test check-in. The motion complexity is low, and workers do not need to learn the motion separately. Furthermore, the head-following test has a certain level of difficulty; the shorter the interval between adjacent instructions, the higher the requirement for the worker's reaction ability. Therefore, a high-difficulty head-following test can easily identify workers with severe fatigue, allowing for timely forced work stoppage. As an optional embodiment, when workers perform the motion test check-in, an electronic screen is installed on the motion image data acquisition device. The electronic screen displays a standard demonstration video of the motion in real time, and the worker simply follows the standard demonstration video to perform the motion.

[0036] Determining the posture standard based on the motion image data includes: extracting the time series of coordinates of each motion key point from the motion image data; as an exemplary embodiment, the extraction of the time series of coordinates of each motion key point from the motion image data is performed using a pre-built motion recognition model, which can be the RTMPose model or other models with the same function in existing technologies. For each motion key point, the single-point standard is determined by comparing the actual coordinate sequence of the motion key point with the standard coordinate sequence of the corresponding point in the standard motion template; when determining the single-point standard by comparing the actual coordinate sequence of the motion key point with the standard coordinate sequence of the corresponding point in the standard motion template, firstly, the actual coordinate sequence and the standard coordinate sequence are time-aligned, and then the Euclidean distance between the actual coordinate of the motion key point at each moment and the corresponding standard coordinate is calculated. The single-point standard is determined by the reciprocal of the average of the Euclidean distances at all moments. The larger the average of the Euclidean distances, the greater the deviation of the motion, and the lower the single-point standard. The posture standard is determined based on the single-point standard of all motion key points. In this embodiment, the posture standard is determined based on the average of the single-point standard of all motion key points.

[0037] Another embodiment provides a fatigue risk detection system for drilling workers, comprising: The acquisition module is used to acquire the facial image of the worker in a non-closed state when the worker clocks in. It will trigger a fatigue detection voice prompt to remind the drilling worker to clock in every once in a while. The worker's facial image is the image acquired after the worker maintains a non-closed state for a preset number of seconds. The first determining module is used to segment the eye lines from each collected worker facial image, determine the eyelid opening and closing features based on the eye lines, access the historical database to obtain the worker's standard eyelid opening and closing features, and determine the fatigue risk value based on the eyelid opening and closing features and the standard eyelid opening and closing features. The second determining module is used to determine the trigger duration and prompt volume of the next fatigue detection voice prompt based on the fatigue risk value. The trigger duration is negatively correlated with the fatigue risk value, and the prompt volume is positively correlated with the fatigue risk value. The marking module is used to mark the drilling worker as a candidate worker for fatigue risk if the fatigue risk value obtained from multiple consecutive collections of the worker's facial images is abnormal, and to trigger a motion detection voice prompt to remind the worker to perform a motion test check-in. At the same time, the average value of multiple abnormal fatigue risk values ​​is recorded as the risk coefficient. The fatigue handling module is used to acquire motion image data collected when the worker performs motion test check-in, determine the posture standard based on the motion image data, and trigger a forced work stoppage prompt if the worker has an abnormal posture standard. The motion test check-in is set with multiple difficulty coefficients, and the difficulty coefficients are positively correlated with the risk coefficients.

[0038] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0039] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0040] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0041] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0042] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.

Claims

1. A method for detecting fatigue risk in drilling workers, characterized in that, include: The system acquires facial images of workers in a non-closed-eye state during face check-in. At regular intervals, it triggers a fatigue detection voice prompt to remind drilling workers to check in their faces. The facial images of the workers are acquired after the workers maintain a non-closed-eye state for a preset number of seconds. The eye lines are segmented from each worker's facial image collected. The eyelid opening and closing features are determined based on the eye lines. The standard eyelid opening and closing features of the worker are obtained by accessing the historical database. The fatigue risk value is determined based on the eyelid opening and closing features and the standard eyelid opening and closing features. The trigger duration and volume of the next fatigue detection voice prompt are determined based on the fatigue risk value. The trigger duration is negatively correlated with the fatigue risk value, and the volume of the prompt is positively correlated with the fatigue risk value. If the fatigue risk value obtained from multiple consecutive collections of worker facial images is abnormal, the drilling worker is marked as a fatigue risk candidate worker, and a motion detection voice prompt is triggered to remind the worker to perform motion testing and check-in. At the same time, the average of multiple abnormal fatigue risk values ​​is recorded as the risk coefficient. The system acquires motion image data collected when the worker performs motion testing and clocks in. The posture standard is determined based on the motion image data. If the worker exhibits abnormal posture standard, a forced work stoppage prompt is triggered. The motion testing and clocking in is set with multiple difficulty coefficients, and the difficulty coefficients are positively correlated with the risk coefficients. The eye lines include the corner of the eye feature point, the pupil feature point, the upper eyelid line, and the lower eyelid line; Determining eyelid opening and closing characteristics based on eye lines includes: Determine the center line of the eye based on the feature points at the corners of the eyes and the feature points of the pupils on both sides; The total eye opening, upper eyelid opening, and lower eyelid opening are determined based on the average distance between the upper and lower eyelid lines, the average distance between the center line of the eye and the upper eyelid line, and the average distance between the center line of the eye and the lower eyelid line, respectively. The fatigue risk value is determined based on eyelid opening and closing characteristics and standard eyelid opening and closing characteristics, including: The total eye opening, upper eyelid opening, and lower eyelid opening are compared with the corresponding benchmark values ​​in the standard eyelid opening and closing characteristics to obtain the total eye opening and closing coefficient, upper eyelid opening and closing coefficient, and lower eyelid opening and closing coefficient, respectively. The comprehensive eye opening and closing coefficient is determined based on the average values ​​of the total eye opening and closing coefficient, the upper eyelid opening and closing coefficient, and the lower eyelid opening and closing coefficient; the eye fatigue coefficient is determined based on the average value of the comprehensive eye opening and closing coefficients of the left and right eyes; and the fatigue risk value is determined based on the reciprocal of the eye fatigue coefficient.

2. The method for detecting fatigue risk in drilling workers according to claim 1, characterized in that, After determining the eye fatigue coefficient based on the average of the combined opening and closing coefficients of the left and right eyes, the binocular symmetry coefficient is also calculated based on the matching degree of the left and right eyes. The weighted opening and closing coefficient is obtained by normalizing and weighting the eye fatigue coefficient and the binocular symmetry coefficient. The fatigue risk value is determined by the reciprocal of the weighted opening and closing coefficient.

3. The method for detecting fatigue risk in drilling workers according to claim 1, characterized in that, When determining the trigger duration and volume of the next fatigue detection voice prompt based on the fatigue risk value, the trigger duration and volume are respectively preset with a base duration and a base volume. The fatigue risk value is pre-divided into multiple risk value intervals, and the duration adjustment coefficient and volume adjustment coefficient are determined according to the risk value interval to which the fatigue risk value belongs. The larger the risk value range to which the fatigue risk value belongs, the smaller the duration adjustment coefficient and the larger the volume adjustment coefficient; The trigger duration for the next fatigue detection voice prompt is determined based on the product of the baseline duration and the duration adjustment coefficient; The volume of the voice prompt for the next fatigue detection is determined by the product of the base volume and the volume adjustment coefficient.

4. The method for detecting fatigue risk in drilling workers according to claim 1, characterized in that, The criteria for judging abnormal fatigue risk values ​​are as follows: If the fatigue risk value is greater than the preset fatigue risk threshold, it is determined that the fatigue risk value is abnormal.

5. The method for detecting fatigue risk in drilling workers according to claim 1, characterized in that, The action test check-in includes a head following test, which includes instructions to turn the head to the left, the first middle instruction, the right head instruction, the head up instruction, the second middle instruction, the head down instruction, and the third middle instruction; the greater the difficulty level, the shorter the interval between adjacent instructions.

6. The method for detecting fatigue risk in drilling workers according to claim 1, characterized in that, Determining the posture standard based on the motion image data includes: Extract the time series of coordinates of each key point of the action from the motion image data; For each key point of the action, the single-point standard degree is determined by comparing the actual coordinate sequence of the key point with the standard coordinate sequence of the corresponding point in the standard action template. The posture standard is determined based on the single-point standard of all key points of the movement.

7. The method for detecting fatigue risk in drilling workers according to claim 1, characterized in that, If the worker's posture is within acceptable limits, a motion detection voice prompt will be triggered at set intervals to remind the worker to perform motion tests and clock in. If the worker's posture is within acceptable limits after multiple consecutive motion tests and clock-ins, the fatigue risk candidate worker label will be removed.

8. A fatigue risk detection system for drilling workers, characterized in that, The system for performing the drilling worker fatigue risk detection method according to any one of claims 1-7, the system comprising: The acquisition module is used to acquire the facial image of the worker in a non-closed state when the worker clocks in. It will trigger a fatigue detection voice prompt to remind the drilling worker to clock in every once in a while. The worker's facial image is the image acquired after the worker maintains a non-closed state for a preset number of seconds. The first determining module is used to segment the eye lines from each collected worker facial image, determine the eyelid opening and closing features based on the eye lines, access the historical database to obtain the worker's standard eyelid opening and closing features, and determine the fatigue risk value based on the eyelid opening and closing features and the standard eyelid opening and closing features. The second determining module is used to determine the trigger duration and prompt volume of the next fatigue detection voice prompt based on the fatigue risk value. The trigger duration is negatively correlated with the fatigue risk value, and the prompt volume is positively correlated with the fatigue risk value. The marking module is used to mark the drilling worker as a candidate worker for fatigue risk if the fatigue risk value obtained from multiple consecutive collections of the worker's facial images is abnormal, and to trigger a motion detection voice prompt to remind the worker to perform a motion test check-in. At the same time, the average value of multiple abnormal fatigue risk values ​​is recorded as the risk coefficient. The fatigue handling module is used to acquire motion image data collected when the worker performs motion test check-in, determine the posture standard based on the motion image data, and trigger a forced work stoppage prompt if the worker has an abnormal posture standard. The motion test check-in is set with multiple difficulty coefficients, and the difficulty coefficients are positively correlated with the risk coefficients.

Citation Information

Patent Citations

  • A fatigue detection method based on eyebrow and eye key point information

    CN109271875A

  • Fatigue driving wake-up method and system based on facial state recognition

    CN109977761A