Crane driving operation behavior monitoring method and system, terminal and storage medium

Through video surveillance and image recognition technology, combined with object detection and face key point detection models, the facial orientation and eye movement of the bridge crane driver are identified, and the problem of inability to effectively monitor the driver's attention and fatigue status in the existing technology is solved, and the problem of realizing the realization of the driver's attention and fatigue status is achieved. Safety monitoring and fatigue detection of the hoisting process are carried out.

CN118898832APending Publication Date: 2024-11-05QINGDAO PORT INT CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411160176.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The existing driver monitoring methods cannot effectively monitor the attention and fatigue status of the axle crane driver, resulting in safety accidents and cannot detect the driver's attention on the lifted goods in real time.

Method used

By obtaining cab surveillance video, using the object detection model and face key point detection model to identify face and eye key points, combining the BP neural network model to identify face orientation, and legality verification is performed based on the pre-acquisition standard data to generate an alarm Prompt information to ensure the driver's attention to the hook and eye-opening monitoring.

Benefits of technology

It realizes accurate monitoring of the driver's attention direction, ensures safety of the lifting process, accurately monitors fatigue status by monitoring the interval between eye opening, has reliable design principles, simple structure, and has wide application prospects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118898832A_ABST
    Figure CN118898832A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of image recognition, and particularly provides a crane driving operation behavior monitoring method and system, a terminal and a storage medium, and the method comprises the steps: obtaining a cab monitoring video, and extracting an image frame from the monitoring video; recognizing a face target from the image frame by using a target detection model, and intercepting a detection frame of the face target as a sample image; recognizing eye key points from the sample image by using a face key point detection model, and calculating eye actions based on the positions of the eye key points; utilizing a BP neural network model to identify the face orientation from the sample image; and performing legality verification on the eye action and the face orientation based on pre-acquired standard data, and if the verification is not passed, generating alarm prompt information. Accurate monitoring of the attention direction of a driver is achieved, safety of the hoisting process is ensured, and accurate monitoring of the fatigue state of the driver is achieved by monitoring the interval duration of the eye opening state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image recognition, and in particular relates to a method, system, terminal and storage medium for monitoring crane driving operation behavior. Background Art

[0002] During the operation, bridge crane drivers may lose concentration and fail to observe the hook in real time, which may lead to safety accidents. In order to further standardize the operation of bridge crane drivers, improve the inherent safety through information technology, ensure that the driver follows the hook during the operation, improve the standardization of the operation of bridge crane drivers, and improve the safety of loading and unloading operations, a large-scale container eye-following hook intelligent early warning system is built to intelligently detect the operation behavior of bridge crane drivers during operation and issue voice alarms for violations.

[0003] Existing driver monitoring methods usually detect whether the driver has been in a closed-eye state for a long time, or verify the rationality of the driver's operating behavior. For example: collect the driver's current facial information; collect the driver's current operating information; receive and identify the current facial information and current operating information according to the logical control state, and obtain facial recognition results and operating recognition results; receive facial recognition results and operating recognition results, and obtain comprehensive analysis results; determine whether at least one of the facial recognition results, operating recognition results, and comprehensive analysis results matches the standard behavior in the preset standard database; output the matching result, wherein, when the matching result is not matched, the system activates the emergency mechanism.

[0004] Although this monitoring method can monitor the driver's status to a certain extent, it is not very sensitive to the driver's fatigue state detection, that is, the fatigue level of the driver who closes his eyes for a long time can already cause safety accidents. In addition, the crane driver needs to pay attention to the hoisted cargo, and the existing monitoring method cannot monitor the driver's attention to the hoisted cargo. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the present invention provides a crane driving operation behavior monitoring method, system, terminal and storage medium to solve the above-mentioned technical problems.

[0006] In a first aspect, the present invention provides a method for monitoring crane driving operation behavior, comprising: Acquire a cab monitoring video, and extract image frames from the monitoring video; Using the target detection model to identify a face target from the image frame, and intercepting the detection frame of the face target as a sample image; Using a facial key point detection model to identify eye key points from the sample image, and calculating eye movements based on the positions of the eye key points; Using a BP neural network model to identify facial orientation from the sample image; The legitimacy of the eye movement and the facial orientation is verified based on pre-acquired standard data, and a warning message is generated if the verification fails.

[0007] In an optional embodiment, the method further comprises: Acquire the posture data of the lifting structure of the crane through the posture sensor; Calculating a hook position based on the posture data and the dimensional parameters of the lifting structure; The relative position of the hook and the cab is generated based on the hook position, and the relative positions include upper right, lower right, right, middle, upper center, lower center, upper left, lower left and left.

[0008] In an optional embodiment, the method further comprises: Acquire a standard image of the driving driver; Using a facial key point detection model to identify eye key points from the standard image, and screening out the highest eye point and the lowest eye point from the eye key points; The distance between the highest point of the eye and the lowest point of the eye is calculated, and the eye distance threshold is set based on the distance.

[0009] In an optional embodiment, using a facial key point detection model to identify eye key points from the sample image, and calculating eye movements based on the positions of the eye key points, includes: Using the Sobel operator to perform edge detection on the sample image, the image is divided into a matrix of 6 rows and 8 columns, and the submatrix corresponding to the position information of the human eye is used as the feature matrix; Inputting the feature matrix into a facial key point detection model to obtain eye key points; Selecting the highest point and the lowest point of the eye from the eye key points, calculating the distance between the highest point and the lowest point of the eye, and saving the distance as the eye feature distance; Obtaining an eye feature distance sequence corresponding to the image frame sequence; The first sample image is matched with the pre-stored standard image for similarity, and the eye distance threshold of the matching standard image is retrieved as the eye distance threshold of the current driving process; Marking the eye feature distance in the eye feature distance sequence that reaches the eye distance threshold as an eye-opening state; Marking the eye feature distances in the eye feature distance sequence that are lower than a preset minimum threshold as an eye-closed state; The eye feature distances in the eye feature distance sequence between the minimum threshold and the eye distance threshold are marked as transition states.

[0010] In an optional embodiment, identifying the facial orientation from the sample image using a BP neural network model includes: The feature matrix is ​​input into a pre-trained BP neural network model to obtain the facial orientation.

[0011] In an optional implementation, the legitimacy of the eye movement and the facial orientation is verified based on pre-acquired standard data, and if the verification fails, a warning message is generated, including: Obtaining the interval time between two adjacent eye feature distances marked as an open eye state in the eye feature distance sequence, and generating an alarm prompt message if the interval time exceeds a set time threshold; It is determined whether the facial orientation matches the relative position, and if the two do not match, an alarm prompt message is generated.

[0012] In a second aspect, the present invention provides a crane driving operation behavior monitoring system, comprising: An image acquisition module is used to acquire a cab monitoring video and extract image frames from the monitoring video; A target positioning module, used to identify a face target from an image frame using a target detection model, and to capture a detection frame of the face target as a sample image; An eye recognition module, used for identifying eye key points from the sample image using a facial key point detection model, and calculating eye movements based on the positions of the eye key points; A facial recognition module, used to recognize facial orientation from the sample image using a BP neural network model; The behavior analysis module is used to verify the legitimacy of the eye movement and the facial orientation based on pre-acquired standard data, and generate an alarm prompt message if the verification fails.

[0013] In an optional embodiment, the system further includes: A position detection module, used for obtaining the position data of the lifting structure of the crane through a position sensor; A positioning calculation module, used for calculating the hook position based on the posture data and the size parameters of the lifting structure; A position division module is used to generate the relative position of the hook and the cab based on the hook position, and the relative positions include upper right, lower right, right, middle, upper center, lower center, upper left, lower left and left.

[0014] In a third aspect, a terminal is provided, including: processor, memory, wherein: The memory is used to store computer programs. The processor is used to call and run the computer program from the memory, so that the terminal executes the above-mentioned terminal method.

[0015] In a fourth aspect, a computer storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the computer-readable storage medium is run on a computer, the computer executes the methods described in the above aspects.

[0016] The beneficial effects of the present invention are that the crane driving operation behavior monitoring method, system, terminal and storage medium provided by the present invention can realize accurate monitoring of the driver's attention direction by combining sensors and image recognition technology to ensure the safety of the lifting process, and can realize accurate monitoring of the driver's fatigue state by monitoring the interval duration of the eye-opening state.

[0017] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention.

[0020] Figure 2 is a schematic block diagram of a system according to an embodiment of the present invention.

[0021] Figure 3 A schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0024] The crane driving operation behavior monitoring method provided in the embodiment of the present invention is executed by a computer device, and accordingly, the crane driving operation behavior monitoring system runs in the computer device.

[0025] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention. Figure 1 The execution subject can be a crane driving operation behavior monitoring system. According to different requirements, the order of the steps in the flow chart can be changed, and some can be omitted.

[0026] like Figure 1 As shown, the method includes: Step 110, obtaining a cab monitoring video, and extracting image frames from the monitoring video; Step 120, using the target detection model to identify a face target from the image frame, and capturing the detection frame of the face target as a sample image; Step 130, identifying eye key points from the sample image using a facial key point detection model, and calculating eye movements based on the positions of the eye key points; Step 140, identifying the facial orientation from the sample image using a BP neural network model; Step 150 , verifying the legitimacy of the eye movement and the facial orientation based on pre-acquired standard data, and generating an alarm message if the verification fails.

[0027] To facilitate understanding of the present invention, the crane driving operation behavior monitoring method provided by the present invention is further described below based on the principle of the crane driving operation behavior monitoring method of the present invention and the process of monitoring the crane driving operation behavior in the embodiment.

[0028] Specifically, the crane driving operation behavior monitoring method includes: S1. Set the eye feature threshold.

[0029] Acquire a standard image of a driver; identify eye key points from the standard image using a facial key point detection model, and select the highest point and the lowest point of the eye from the eye key points; calculate the distance between the highest point and the lowest point of the eye, and set an eye distance threshold based on the distance.

[0030] Since different drivers have different eye sizes, individual thresholds are set for each driver by pre-storing standard images to avoid false positives of risks.

[0031] S2. Obtaining a cab monitoring video, and extracting image frames from the monitoring video.

[0032] With the help of cutting-edge equipment such as high-definition cameras, high-definition video and image data of the work site are collected in detail. The high-definition video is de-noised and converted into a continuous sequence of image frames.

[0033] S3. Using the target detection model to identify the face target from the image frame, and capturing the detection frame of the face target as a sample image.

[0034] The target detection model uses the YOLO4 algorithm. Compared with Yolov3, the network used by Yolov4 adds the CSPNet (Cross Stage PartialNetwork) structure on the basis of DarkNet53, namely CSPDarkNet53.

[0035] Contour extraction of sample images: In the MATLAB toolbox, the edge(img, "Sobel) function can be used for edge detection. Then the image is divided into 6 rows and 8 columns. The position information of the human eye can be described by the 8 sub-matrices in the second row. After analysis, it is found that the face orientation is directly related to the number of pixels with a value of 1 in the 8 sub-matrices. It is sufficient to count the pixels with a value of "1" in the 8 sub-matrices in the second row. Therefore, the 8 sub-matrices in the second row are used as feature matrices.

[0036] S4. Using a facial key point detection model, identify eye key points from the sample image, and calculate eye movements based on the positions of the eye key points.

[0037] The face key point detection model uses the yolov8 model. YOLOv8 is a target detection algorithm based on deep learning Q. By converting the target detection problem into a regression problem, real-time target detection can be achieved. The YOLOv8 Face project has improved on the basis of YOLOv8, making it more suitable for face detection.

[0038] The present invention only focuses on the highest point and the lowest point of the eye. Specifically, it includes: Input the feature matrix into the face key point detection model to obtain the eye key points; select the highest point and the lowest point of the eye from the eye key points, calculate the distance between the highest point and the lowest point of the eye, and save the distance as the eye feature distance; obtain the eye feature distance sequence corresponding to the image frame sequence; mark the eye feature distance that reaches the eye distance threshold in the eye feature distance sequence as an open eye state; mark the eye feature distance that is lower than a preset minimum threshold in the eye feature distance sequence as a closed eye state; mark the eye feature distance between the minimum threshold and the eye distance threshold in the eye feature distance sequence as a transition state.

[0039] S5. Using a BP neural network model to identify facial orientation from the sample image.

[0040] The feature matrix is ​​input into the pre-trained BP neural network model to obtain the facial orientation, which includes upper right, lower right, right, middle, upper middle, lower middle, upper left, lower left and left.

[0041] S6. Synchronously obtain the hook position.

[0042] The posture data of the lifting structure of the crane is obtained through a posture sensor; the hook position is calculated based on the posture data and the size parameters of the lifting structure; the relative position of the hook and the cab is generated based on the hook position, and the relative positions include upper right, lower right, right, middle, upper center, lower center, upper left, lower left and left.

[0043] Specifically, the posture sensor uses a laser position sensor, a rotation sensor, etc. The posture data includes the angle of the lifting wall and the distance from the detection point of the lifting arm to the base. The height of the hook from the ground is calculated based on the posture data, the length of the lifting arm, and the length from the top of the lifting arm to the hook. The relative position of the hook and the cab is obtained based on the height of the hook from the ground and the left and right rotation angle of the lifting arm.

[0044] S7. Verify the legitimacy of the eye movement and the facial orientation based on pre-acquired standard data, and generate an alarm prompt message if the verification fails.

[0045] The interval time between two adjacent eye feature distances marked as the open eye state in the eye feature distance sequence is obtained. If the interval time exceeds a set time threshold, an alarm prompt message is generated.

[0046] In this way, when the driver's eyes are in the intermediate state for a long time and are still in a fatigue state, a warning prompt message needs to be generated.

[0047] It is determined whether the facial orientation matches the relative position, and if the two do not match, a warning prompt message is generated. That is, if the facial orientation is inconsistent with the relative position, it means that the driver's eyes are not following the hook, and a warning prompt message needs to be generated.

[0048] The training process of all models in the present invention uses the same data set.

[0049] The process of constructing the dataset includes: using high-definition cameras and other cutting-edge equipment to collect high-definition video and image data at the work site. Using data fusion technology to effectively integrate data from different sources and formats. In order to enrich the content and diversity of the dataset, data enhancement methods such as image capture and saturation adjustment are used to reasonably transform and expand the original data; at the same time, the generative adversarial network (GAN) technology is introduced to generate more diverse unsafe behavior samples, thereby improving the generalization ability of the model. Annotate the pictures.

[0050] Model architecture design: Shared underlying network structure: Design a shared underlying network structure to extract common features, reduce model parameters and computational complexity, and improve model efficiency and generalization. Branch network design: Design a corresponding branch network for each task to process task-specific inputs and outputs, and maintain the independence and relevance between tasks. Attention mechanism: Introduce an attention mechanism to assign weights to input data of different tasks or different modalities, enhance the model's attention to key information, and improve the performance and effect of the model. Multimodal data fusion and feature extraction: Data fusion strategy: Design a suitable multimodal data fusion strategy to effectively integrate and fuse information from different data sources and retain key features. Multidimensional feature extraction: Use multimodal data to extract rich feature information from different dimensions, including image features, time series features, environmental parameter features, etc. Model training and optimization: Joint training strategy: Use a joint training strategy to optimize the loss functions of multiple tasks at the same time to ensure the balance and coordination of each task. Iterative optimization process: Through the iterative optimization process, continuously adjust the model parameters and network structure to improve the performance and generalization of the model. Model regularization: Introduce model regularization techniques, such as Dropout, L1 / L2 regularization, etc., to prevent model overfitting and improve the generalization ability of the model. Model evaluation and tuning: Cross-validation: Use cross-validation and other techniques to evaluate the model, evaluate the performance of the model on different data sets, and discover and solve problems with the model. Hyperparameter tuning: Tune the hyperparameters of the model, such as learning rate, batch size, etc., to optimize the training process of the model and improve the convergence speed and performance of the model. Real-time application and deployment: Model deployment strategy: Design a suitable model deployment strategy to deploy the trained model to edge devices or cloud servers to achieve real-time task processing and prediction. System integration and testing: Perform system integration and testing to ensure the compatibility and stability of the model with the actual application scenarios and meet the needs of the real-time early warning system.

[0051] In some embodiments, the crane driving operation behavior monitoring system may include a plurality of functional modules composed of computer program segments. The computer programs of the various program segments in the crane driving operation behavior monitoring system may be stored in a memory of a computer device and executed by at least one processor to perform (see Figure 1 Description) The function of monitoring crane driving operation behavior.

[0052] In this embodiment, the crane driving operation behavior monitoring system can be divided into multiple functional modules according to the functions it performs, such as Figure 2 As shown. The functional modules of the system 200 may include: an image acquisition module 210, a target positioning module 220, an eye recognition module 230, a facial recognition module 240 and a behavior analysis module 250. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

[0053] An image acquisition module is used to acquire a cab monitoring video and extract image frames from the monitoring video; A target positioning module, used to identify a face target from an image frame using a target detection model, and to capture a detection frame of the face target as a sample image; An eye recognition module, used for identifying eye key points from the sample image using a facial key point detection model, and calculating eye movements based on the positions of the eye key points; A facial recognition module, used to recognize facial orientation from the sample image using a BP neural network model; The behavior analysis module is used to verify the legitimacy of the eye movement and the facial orientation based on pre-acquired standard data, and generate an alarm prompt message if the verification fails.

[0054] Optionally, as an embodiment of the present invention, the system further includes: A position detection module, used for obtaining the position data of the lifting structure of the crane through a position sensor; A positioning calculation module, used for calculating the hook position based on the posture data and the size parameters of the lifting structure; A position division module is used to generate the relative position of the hook and the cab based on the hook position, and the relative positions include upper right, lower right, right, middle, upper center, lower center, upper left, lower left and left.

[0055] Figure 3This is a schematic diagram of the structure of a terminal 300 provided in an embodiment of the present invention. The terminal 300 can be used to execute the crane driving operation behavior monitoring method provided in an embodiment of the present invention.

[0056] The terminal 300 may include: a processor 310, a memory 320 and a communication unit 330. These components communicate via one or more buses. Those skilled in the art will appreciate that the server structure shown in the figure does not limit the present invention, and it may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0057] The memory 320 can be used to store the execution instructions of the processor 310, and the memory 320 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. When the execution instructions in the memory 320 are executed by the processor 310, the terminal 300 can perform some or all of the steps in the following method embodiments.

[0058] The processor 310 is the control center of the storage terminal, and uses various interfaces and lines to connect various parts of the entire electronic terminal. It runs or executes software programs and / or modules stored in the memory 320, and calls data stored in the memory to perform various functions of the electronic terminal and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 310 can only include a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.

[0059] The communication unit 330 is used to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals or send user data to other terminals.

[0060] The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0061] Therefore, the present invention combines sensors with image recognition technology to accurately monitor the direction of the driver's attention, ensure the safety of the lifting process, and accurately monitor the driver's fatigue state by monitoring the interval duration of the eye-open state. The technical effects that can be achieved by this embodiment can be found in the description above and will not be repeated here.

[0062] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, including several instructions for enabling a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention.

[0063] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

[0064] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or modules, which can be electrical, mechanical or other forms.

[0065] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0066] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0067] Although the present invention has been described in detail with reference to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention.

Claims

1. A crane driving operation behavior monitoring method, characterized in that: include: Acquire a cab monitoring video, and extract image frames from the monitoring video; Using the target detection model to identify a face target from the image frame, and intercepting the detection frame of the face target as a sample image; Using a facial key point detection model to identify eye key points from the sample image, and calculating eye movements based on the positions of the eye key points; Using a BP neural network model to identify facial orientation from the sample image; The legitimacy of the eye movement and the facial orientation is verified based on pre-acquired standard data, and a warning message is generated if the verification fails.

2. The method according to claim 1, characterized in that The method further comprises: Acquire the posture data of the lifting structure of the crane through the posture sensor; Calculating a hook position based on the posture data and the dimensional parameters of the lifting structure; The relative position of the hook and the cab is generated based on the hook position, and the relative positions include upper right, lower right, right, middle, upper center, lower center, upper left, lower left and left.

3. The method according to claim 2, characterized in that The method further comprises: Acquire a standard image of the driving driver; Using a facial key point detection model to identify eye key points from the standard image, and screening out the highest eye point and the lowest eye point from the eye key points; The distance between the highest point of the eye and the lowest point of the eye is calculated, and the eye distance threshold is set based on the distance.

4. The method according to claim 3, characterized in that Identifying eye key points from the sample image using a facial key point detection model, and calculating eye movements based on the positions of the eye key points, including: Using the Sobel operator to perform edge detection on the sample image, the image is divided into a matrix of 6 rows and 8 columns, and the submatrix corresponding to the position information of the human eye is used as the feature matrix; Inputting the feature matrix into a facial key point detection model to obtain eye key points; Selecting the highest point and the lowest point of the eye from the eye key points, calculating the distance between the highest point and the lowest point of the eye, and saving the distance as the eye feature distance; Obtaining an eye feature distance sequence corresponding to the image frame sequence; The first sample image is matched with the pre-stored standard image for similarity, and the eye distance threshold of the matching standard image is retrieved as the eye distance threshold of the current driving process; Marking the eye feature distance in the eye feature distance sequence that reaches the eye distance threshold as an eye-opening state; Marking the eye feature distances in the eye feature distance sequence that are lower than a preset minimum threshold as an eye-closed state; The eye feature distances in the eye feature distance sequence between the minimum threshold and the eye distance threshold are marked as transition states.

5. The method according to claim 4, characterized in that Using a BP neural network model to identify the facial orientation from the sample image includes: The feature matrix is ​​input into a pre-trained BP neural network model to obtain the facial orientation.

6. The method according to claim 1, characterized in that The eye movement and the facial orientation are verified for legitimacy based on pre-acquired standard data, and an alarm message is generated if the verification fails, including: Obtaining the interval time between two adjacent eye feature distances marked as an open eye state in the eye feature distance sequence, and generating an alarm prompt message if the interval time exceeds a set time threshold; It is determined whether the facial orientation matches the relative position, and if the two do not match, an alarm prompt message is generated.

7. A crane driving operation behavior monitoring system, characterized in that: include: An image acquisition module is used to acquire a cab monitoring video and extract image frames from the monitoring video; A target positioning module, used to identify a face target from an image frame using a target detection model, and to capture a detection frame of the face target as a sample image; An eye recognition module, used for identifying eye key points from the sample image using a facial key point detection model, and calculating eye movements based on the positions of the eye key points; A facial recognition module, used to recognize facial orientation from the sample image using a BP neural network model; The behavior analysis module is used to verify the legitimacy of the eye movement and the facial orientation based on pre-acquired standard data, and generate an alarm prompt message if the verification fails.

8. The system according to claim 7, characterized in that The system further comprises: A position detection module, used for obtaining the position data of the lifting structure of the crane through a position sensor; A positioning calculation module, used for calculating the hook position based on the posture data and the size parameters of the lifting structure; A position division module is used to generate the relative position of the hook and the cab based on the hook position, and the relative positions include upper right, lower right, right, middle, upper center, lower center, upper left, lower left and left.

9. A terminal, characterized in that: include: A memory, used for storing a crane driving operation behavior monitoring program; A processor is used to implement the steps of the crane driving operation behavior monitoring method as described in any one of claims 1 to 6 when executing the crane driving operation behavior monitoring program.

10. A computer-readable storage medium storing a computer program, characterized in that: The readable storage medium stores a crane driving operation behavior monitoring program, and when the crane driving operation behavior monitoring program is executed by the processor, the steps of the crane driving operation behavior monitoring method according to any one of claims 1 to 6 are implemented.