Method and system for monitoring safe operation of chemical industry based on YOLOV7

By using the monitoring system of YOLOV7 and DeepSort algorithms in the chemical industry, the problem that traditional supervision methods are difficult to achieve around-the-clock monitoring is solved, the accuracy of target detection and tracking is improved, and the safety management level of the chemical industry is significantly improved.

CN118552902AInactive Publication Date: 2024-08-27SHENZHEN WEIZHU TECH CO LTD

Patent Information

Application Number
CN202410908072.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-08-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the chemical industry, traditional safety supervision methods are difficult to achieve around-the-clock, all-round monitoring. Especially in rapidly changing operating environments, there are problems of missed detection and false detection, and when the number of targets in the scene is too large or too dense, tracking will be difficult. Accuracy and classification accuracy are low.

Method used

A monitoring system based on YOLOV7 is used to obtain real-time video monitoring images of the chemical industry site, use the YOLOV7 model to generate target objects, and combine it with the DeepSort algorithm for real-time tracking, feature extraction and image recognition, and trigger alarms according to preset alarm rules to improve the target Accuracy and real-time performance of detection and tracking.

Benefits of technology

It has significantly improved the monitoring accuracy and automation level of safe operations in the chemical industry, reduced missed detections and false detections, and improved safety management capabilities in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552902A
    Figure CN118552902A
Patent Text Reader

Abstract

The invention relates to the technical field of chemical safety, and provides a method and a system for monitoring the safety operation of the chemical industry based on YOLOV7, and the method comprises the steps: obtaining a real-time video monitoring image of a chemical field; inputting the real-time video monitoring picture into a preset YOLOV7 model to generate a target object; performing real-time tracking on the target object by using a DeepSort algorithm to obtain a tracking target; performing feature extraction on the tracking target to obtain an image data set; generating a target recognition result according to the image data set; and analyzing the target identification result to obtain an alarm signal, and triggering a preset alarm according to the corresponding alarm signal. Through the model, target object generation is carried out on a real-time video monitoring picture, tracking is carried out, the accuracy and the real-time performance of target detection and tracking are improved, and the problems that in a rapidly changing working environment, missing detection and false detection occur, and when the number of targets in a scene is too large or too dense, the tracking accuracy and the classification accuracy are low are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of chemical safety, and in particular to a method and system for monitoring safe operations in the chemical industry based on YOLOV7. Background Art

[0002] In the chemical industry, especially in the fields of refineries, fine chemicals, and the production and treatment of hazardous chemicals, production safety has always been a top priority that needs to be addressed. The production environment of the chemical industry is complex, and there are dangerous factors such as flammable and explosive, toxic and harmful, high temperature and high pressure. Safety supervision of workers is particularly important. Traditionally, such supervision work relies on regular inspections and monitoring by factory personnel. However, due to the environmental complexity of chemical areas, this method often has blind spots and is difficult to achieve all-weather, all-round monitoring.

[0003] Among the relevant technical means, the use of intelligent video monitoring technology has gradually become an effective way to improve chemical safety management. In recent years, with the rapid development of computer vision and machine learning technology, a variety of safety monitoring systems based on video analysis have been proposed. These systems can analyze the video stream captured by the camera in real time, and reduce the occurrence of safety accidents by detecting whether the workers are wearing safety equipment correctly and whether any prohibited behaviors have occurred.

[0004] For the above technical solutions, although intelligent video analysis can realize active monitoring of chemical operation sites and effectively identify specific violations, there are certain problems in real-time, accuracy and automatic alarm processing. For example, in a rapidly changing operating environment, traditional algorithms will miss detections and make false detections, and when there are too many or too dense targets in the scene, the accuracy of tracking and classification needs to be improved. Summary of the invention

[0005] In order to improve the problems of missed detection and false detection in a rapidly changing operating environment, and low tracking accuracy and classification accuracy when the number of targets in the scene is too large or too dense, the present application provides a method and system for monitoring safe operations in the chemical industry based on YOLOV7.

[0006] The present invention provides a method for monitoring safe operations in the chemical industry based on YOLOV7, comprising: acquiring a real-time video monitoring screen of a chemical site; inputting the real-time video monitoring screen into a preset YOLOV7 model to generate a target object; using a DeepSort algorithm to track the target object in real time to obtain a tracking target; performing feature extraction on the tracking target to obtain an image data set; inputting the image data set into a preset image recognition model to generate a corresponding target recognition result; analyzing the target recognition result according to a preset alarm rule to obtain a corresponding alarm signal, and triggering a preset alarm according to the corresponding alarm signal.

[0007] As a preferred solution, the step of obtaining the real-time video monitoring picture of the chemical site includes: taking real-time photos of the chemical site based on a preset camera to capture the real-time video monitoring picture of the chemical site.

[0008] As a preferred solution, the step of inputting the real-time video monitoring screen into a preset YOLOV7 model to generate a target object includes: inputting the real-time video monitoring screen into the YOLOV7 model, performing feature extraction on the real-time video monitoring screen using a convolutional neural network structure, and outputting the target position, target category, and target confidence of the target; performing multi-frame target detection on the target within a preset time, and counting the number of recognitions of each target, when the number of recognitions of the same target within the preset time exceeds a preset threshold, determining that the target position, target category, and target confidence of the target are valid; and using the determined valid target position, target category, and target confidence as the target object.

[0009] As a preferred solution, the step of using the DeepSort algorithm to track the target object in real time to obtain the tracking target includes: obtaining target position information of the target object, extracting features of the target object using the DeepSort algorithm to obtain appearance features; and tracking the target object in real time based on the target position information and the appearance features to obtain the tracking target.

[0010] As a preferred embodiment, the step of extracting features from the tracking target to obtain an image data set includes: identifying the tracking target, and if the tracking target is non-human, extracting features from the tracking target to obtain an image data set; wherein the non-human open flames, smoke, and harmful gas leaks; if the tracking target is human, the tracking target is regarded as a large target; using a large model that combines large and small models to perform local area interception on the large target to obtain head information, upper body information, lower body information, and hand information; using a small model that combines large and small models to identify the head information, upper body information, lower body information, and hand information to obtain identification content, and using the identification content as an image data set.

[0011] As a preferred embodiment, the step of inputting the image data set into a preset image recognition model to generate a corresponding target recognition result includes: inputting the image data set into a preset image recognition model to output a corresponding target recognition result; wherein the target recognition result includes any one of the following: a wearing recognition result, a behavioral norm recognition result, and an environmental safety recognition result.

[0012] As a preferred solution, the training process of the YOLOV7 model is as follows: data collection is performed on the public COCO data set and the field data set collected by the camera to obtain video data; the video data is int8 quantized using PTQ technology, and the screen size of the video data is identified as 640*640 to obtain a training set, a verification set and a test set; the YOLOV7 model is trained based on the training set, the verification set and the test set to obtain a trained YOLOV7 model.

[0013] As a preferred scheme, the step of analyzing the target recognition result according to the preset alarm rules to obtain the corresponding alarm signal, and triggering the preset alarm according to the corresponding alarm signal includes: inputting the target recognition result into a preset mapping table to obtain the corresponding alarm signal; wherein the mapping table is constructed according to the preset alarm rules and the corresponding target recognition result; and triggering the preset alarm according to the corresponding alarm signal.

[0014] As a preferred solution, the alarm rules include work specification category, work coordination category and environmental hazard category; wherein, the work specification category includes wearing work clothes and wearing safety belts for high-altitude work; the work coordination category includes scuffles, trajectory analysis, cross-operation, whether on duty and illegal operation; the environmental hazard category includes open flames, smoke and harmful gas leakage; if the target recognition result is a wearing recognition result, the wearing recognition result is compared with the work specification category to determine the type of the wearing recognition result; wherein, the comparison includes wearing work clothes comparison and high-altitude work safety wearing safety belt comparison; if the target recognition result is a behavior specification recognition result, the behavior specification recognition result is judged by the work coordination category to determine the type of the behavior specification recognition result; wherein, the judgment includes determining whether there is a scuffle, whether there is cross-operation, whether on duty, whether there is illegal operation and whether the action trajectory is standardized; if the target recognition result is an environmental safety recognition result, the environmental hazard category is used to identify the environmental safety recognition result to identify the type of the environmental safety recognition result; wherein, the identification includes identifying whether there is an open flame, smoke, or harmful gas leakage.

[0015] The present application also provides a system for monitoring safe operations in the chemical industry based on YOLOV7, comprising: an acquisition unit, used to acquire real-time video monitoring images of a chemical site; a generation unit, used to input the real-time video monitoring images into a preset YOLOV7 model to generate a target object; a tracking unit, used to track the target object in real time using a DeepSort algorithm to obtain a tracking target; an extraction unit, used to extract features of the tracking target to obtain an image data set; input the image data set into a preset image recognition model to generate a corresponding target recognition result; an alarm unit, used to analyze the target recognition result according to a preset alarm rule to obtain a corresponding alarm signal, and trigger a preset alarm according to the corresponding alarm signal.

[0016] Compared with the prior art, the present application has the following beneficial effects: good tracking accuracy and high classification accuracy. By using the YOLOV7 model to generate the target object for the real-time video monitoring screen of the chemical site, and combining the DeepSort algorithm for real-time tracking, the accuracy and real-time performance of target detection and tracking are effectively improved. At the same time, by extracting the features of the tracked target and inputting them into the image recognition model, the target recognition results can be accurately generated, and the alarm signal can be analyzed and triggered according to the preset alarm rules, realizing efficient monitoring and timely warning of safe operations in the chemical industry, significantly improving the automation and intelligence level of safety management, and improving the problems of missed detection and false detection in a rapidly changing operating environment, and when the number of targets in the scene is too large or too dense, the tracking accuracy and classification accuracy are low. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] 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, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0018] The structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical contents disclosed by the present invention.

[0019] Figure 1 It is a flow chart of a method for monitoring safe operation in the chemical industry based on YOLOV7 provided in an embodiment of the present invention; Figure 2 It is a schematic block diagram of the structure of a system for monitoring safe operations in the chemical industry based on YOLOV7 provided in an embodiment of the present invention.

[0020] Description of reference numerals: 10. A system for monitoring safe operations in the chemical industry based on YOLOV7; 11. Acquisition unit; 12. Generation unit; 13. Tracking unit; 14. Extraction unit; 15. Alarm unit. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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 are within the scope of protection of the present invention.

[0022] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0023] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0024] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0025] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.

[0026] Embodiment 1: like Figure 1 As shown, the method for monitoring safe operations in the chemical industry based on YOLOV7 provided in an embodiment of the present application includes steps S100 to S500.

[0027] Step S100: Acquire real-time video monitoring images of the chemical site.

[0028] In this step, high-resolution cameras are deployed at the chemical site and connected to the monitoring system to achieve 24-hour uninterrupted monitoring of the site; specifically, cameras are installed at key locations in the chemical plant, such as storage tank areas, production workshops, and pipeline intersections, to ensure that areas with potential safety hazards can be fully covered. The real-time video monitoring images collected by the cameras will be transmitted to the server in the central control room through the network for further processing.

[0029] For example, a high-definition camera with night vision function is installed in the flammable storage area of ​​a chemical plant. The camera can still provide clear video monitoring images in low-light environments, and has explosion-proof functions to ensure continuous and stable operation in harsh environments. The real-time video monitoring images collected by the camera will be transmitted to the monitoring platform of the central control room through a wired network for subsequent processing.

[0030] Step S200: input the real-time video monitoring picture into the preset YOLOV7 model to generate the target object.

[0031] In this step, the real-time video monitoring screen is preprocessed and input into the preset YOLOV7 model for target detection; specifically, preprocessing includes operations such as decoding, resizing, and image enhancement of video frames to ensure that the YOLOV7 model can more accurately identify the target object in the picture. The YOLOV7 model analyzes the input video frames through its deep learning algorithm to generate the category and location of the target object.

[0032] For example, the real-time video monitoring images obtained from the camera in the flammable storage area are processed with frame rate adjustment and image enhancement to meet the input requirements of the YOLOV7 model. Then, after being input into the YOLOV7 model, the model can identify the target objects such as workers, equipment, and vehicles in the picture, and output the category labels and bounding box coordinate information of these target objects.

[0033] Step S300: Use the DeepSort algorithm to track the target object in real time to obtain a tracking target.

[0034] In this step, the target objects output by the YOLOV7 model are tracked in real time; specifically, the DeepSort algorithm is used to track the detected target objects. The algorithm assigns a unique ID and continuously tracks the target objects based on their motion trajectory, appearance features and other information, thereby obtaining the tracking trajectory of each target object.

[0035] For example, if a worker is detected moving in a flammable material storage area in real-time video monitoring, the DeepSort algorithm will assign a unique ID based on the worker's movement trajectory and appearance features (such as the color and shape of the protective clothing he wears), and update the location information of the ID in real time to generate the worker's movement trajectory.

[0036] Step S400: extract features of the tracked target to obtain an image data set; input the image data set into a preset image recognition model to generate a corresponding target recognition result.

[0037] In this step, feature extraction is performed on each tracked target to generate an image data set containing multiple features; specifically, feature extraction includes color histogram, texture features, shape features, etc., and then the data set composed of these features is input into a preset image recognition model. The model analyzes these features through a learning algorithm and generates corresponding target recognition results.

[0038] For example, the DeepSort algorithm extracts features from workers tracked by the algorithm, including the color histogram of the worker's clothing, the shape features of the worker's posture, and the texture features of the worker's actions. These features are input into the preset image recognition model, which analyzes and identifies the worker as a certain type of worker and determines whether he or she is wearing protective equipment such as a helmet.

[0039] Step S500: Analyze the target recognition result according to the preset alarm rule to obtain a corresponding alarm signal, and trigger a preset alarm according to the corresponding alarm signal.

[0040] In this step, the target recognition results are analyzed according to the pre-defined alarm rules to determine whether there are safety hazards; specifically, the alarm rules include personnel not wearing safety equipment, unrelated personnel in the dangerous area, equipment abnormalities, etc. Once the recognition results meet the alarm rules, the system will generate a corresponding alarm signal and trigger the alarm device to notify relevant personnel to take measures.

[0041] For example, when the image recognition model detects that a worker is not wearing a safety helmet in a flammable material storage area, the system generates an alarm signal based on the preset alarm rules, and immediately notifies the safety management personnel to handle the situation through sound alarms and text message notifications to ensure the safety of the workers.

[0042] In this embodiment, first, a real-time video monitoring screen of a chemical site is obtained; then, the real-time video monitoring screen is input into a preset YOLOV7 model to generate a target object; then, the target object is tracked in real time using a DeepSort algorithm to obtain a tracking target; features of the tracking target are extracted to obtain an image data set; the image data set is input into a preset image recognition model to generate a corresponding target recognition result; finally, the target recognition result is analyzed according to a preset alarm rule to obtain a corresponding alarm signal, and a preset alarm is triggered according to the corresponding alarm signal.

[0043] By using the YOLOV7 model to generate target objects in the real-time video monitoring screen of the chemical site, and combining it with the DeepSort algorithm for real-time tracking, the accuracy and real-time performance of target detection and tracking are effectively improved. At the same time, by extracting features of the tracked target and inputting them into the image recognition model, the target recognition results can be accurately generated, and the alarm signal can be analyzed and triggered according to the preset alarm rules, thereby achieving efficient monitoring and timely warning of safe operations in the chemical industry, significantly improving the automation and intelligence level of safety management, and improving the problems of missed detection and false detection in a rapidly changing operating environment, and low tracking accuracy and classification accuracy when there are too many or too dense targets in the scene.

[0044] Embodiment 2: In step S100, the chemical site is photographed in real time based on a preset camera to capture real-time video monitoring images of the chemical site.

[0045] By installing high-resolution, wide-angle cameras at key locations on the chemical site and setting the camera's shooting parameters and angles, it is ensured that all important areas are fully covered; specifically, the camera's shooting parameters include frame rate, resolution, and exposure time, and the angle adjustment is optimized according to the on-site conditions, so that the camera can capture clear and comprehensive monitoring images. The real-time video monitoring images are transmitted to the central control system via the network for processing.

[0046] For example, high-resolution cameras are installed in the tank area, production workshop and pipeline intersection of the chemical plant. These cameras have the ability to shoot at 30 frames per second and support 1080P high-definition resolution. At the same time, the cameras are connected to the central control room through a fiber optic network to ensure real-time transmission and stability of video signals.

[0047] In step S200, the real-time video monitoring screen is input into the YOLOV7 model, and the convolutional neural network structure is used to extract features of the real-time video monitoring screen, and the target position, target category and target confidence of the target are output; multi-frame target detection is performed on the target within a preset time, and the number of recognitions of each target is counted. When the number of recognitions of the same target within the preset time exceeds a preset threshold, the target position, target category and target confidence of the target are determined to be valid; the valid target position, target category and target confidence are used as the target object.

[0048] By continuously inputting real-time video monitoring images into the YOLOV7 model, convolutional neural networks are used for feature extraction, and multi-frame detection within a set time window is used to improve the accuracy of target recognition. Specifically, the model extracts features in each frame, detects the location, category and confidence of the target, and counts the number of occurrences of each target within the set time window. Only when a target is detected in multiple frames and exceeds the set threshold, the detection result of the target is considered valid.

[0049] For example, in the real-time video of the chemical industry site, the YOLOV7 model continuously processes each frame, detects the target location, category (such as worker, equipment) and confidence of a worker, and counts the number of times the worker appears in the number of frames within 1 second. If the total number of frames in 1 second is 20 frames, and the number of times the worker appears in these frames exceeds 10 frames, the detection result of the worker is considered valid, and the system records its location, category and confidence information.

[0050] The training process of the YOLOV7 model is as follows: collect data from the public COCO dataset and the field dataset collected by the camera to obtain video data; use PTQ technology to int8 quantize the video data, identify the screen size of the video data as 640*640, and obtain the training set, verification set and test set; train the YOLOV7 model based on the training set, verification set and test set to obtain the trained YOLOV7 model.

[0051] The YOLOV7 model is jointly trained using the COCO dataset and the dataset collected at the chemical site, and quantized using the PTQ technology to improve the computational efficiency of the model. Specifically, a large amount of on-site video data is first collected and mixed with the COCO dataset, and int8 quantization is performed to reduce the amount of computation and storage requirements. The processed data is then divided into training set, validation set, and test set, which are used for model training, validation, and testing, respectively, to ensure the accuracy and robustness of the model.

[0052] For example, hundreds of hours of surveillance videos were collected from cameras in different areas of the chemical plant, and combined with the labeled data of relevant personnel and equipment in the COCO dataset, the data was quantized using int8, the resolution of the video frames was adjusted to 640*640, and 80% of the data was divided as a training set, 10% as a validation set, and 10% as a test set. The YOLOV7 model was iteratively trained using this data, and finally an efficient and accurate target detection model was obtained.

[0053] In step S300, the target position information of the target object is obtained, and the feature of the target object is extracted using the DeepSort algorithm to obtain the appearance feature; the target object is tracked in real time based on the target position information and the appearance feature to obtain the tracking target.

[0054] By processing the target position output by the YOLOV7 model, the DeepSort algorithm is used to extract the appearance features of the target object and track it in real time. Specifically, a unique ID is assigned according to the position and appearance features of each target, and this information is used to continuously track the target, thereby accurately recording the movement trajectory of each target.

[0055] For example, when the YOLOV7 model detects a worker in a chemical plant workshop, the DeepSort algorithm extracts the worker's appearance features (such as clothing color, shape, etc.) and assigns a unique ID based on his location information, tracking the worker's movement trajectory in the workshop in real time and recording his location information at different time points.

[0056] In step S400, the tracking target is identified. If the tracking target is not a person, features are extracted for the tracking target to obtain an image data set; wherein, non-human open flames, smoke, and harmful gas leaks are not human-induced. If the tracking target is a person, the tracking target is taken as a large target. A local area of ​​the large target is captured by a large model that combines large and small models to obtain head information, upper body information, lower body information, and hand information. The head information, upper body information, lower body information, and hand information are identified by a small model that combines large and small models to obtain identified content, and the content is taken as an image data set.

[0057] By classifying the tracked targets, different feature extraction and recognition are performed for non-human targets and human targets respectively; specifically, for non-human targets (such as open flames, smoke, and harmful gas leaks), their features are extracted and image datasets are generated; for human targets, a method combining large and small models is used to perform regional recognition of various parts of the human body, and detailed feature information of the head, upper body, lower body, and hands is extracted to form an image dataset.

[0058] For example, when the tracking target is smoke, the system extracts characteristic information such as its shape, density and diffusion speed to generate an image data set; when the tracking target is a worker, the large model is used to first identify the worker's entire body, capture images of the head, upper body, lower body and hands, and then use the small model to further identify these local areas, extract detailed features such as whether the worker is wearing a safety helmet, protective clothing and gloves, and generate a complete image data set.

[0059] At the same time, the image data set is input into a preset image recognition model to output the corresponding target recognition result; wherein the target recognition result includes any one of the following: wearing recognition result, behavior norm recognition result, and environmental safety recognition result.

[0060] By inputting the extracted image data set into the preset image recognition model, the corresponding target recognition results are generated; specifically, the image recognition model classifies the target according to the input feature information, and outputs results on wearing conditions, behavioral norms, environmental safety, etc. for subsequent alarm analysis.

[0061] For example, an image dataset containing information about a worker's head, upper body, lower body, and hands is input into an image recognition model, and the model outputs the worker's clothing recognition results (such as whether he is wearing a safety helmet or protective clothing, etc.), behavioral norms recognition results (such as whether he is active in the specified area, whether he is performing illegal operations, etc.), and environmental safety recognition results (such as whether there is open flame, smoke, or harmful gas leakage around).

[0062] In step S500, the target recognition result is input into a preset mapping table to obtain a corresponding alarm signal; wherein the mapping table is constructed according to preset alarm rules and corresponding target recognition results; and a preset alarm is triggered according to the corresponding alarm signal.

[0063] By comparing the target recognition results with the preset alarm rules, the corresponding alarm signal is generated; specifically, a mapping table containing multiple alarm rules is constructed, and according to different target recognition results, corresponding alarm signals are generated and the corresponding alarm device is triggered to promptly notify relevant personnel to deal with potential safety hazards.

[0064] For example, when the target recognition results show that a worker is not wearing a safety belt when working at height, the system generates an alarm signal for not wearing a safety belt when working at height based on the work specification alarm rules in the mapping table, triggers the sound alarm on site, and sends a text message notification to the safety management personnel, reminding them to go to the site immediately to check and take necessary measures.

[0065] Among them, the alarm rules include work specification category, work coordination category and environmental hazard category; among them, the work specification category includes wearing work clothes and wearing safety belts for high-altitude work; the work coordination category includes scuffles, trajectory analysis, cross-operation, whether on the job and illegal operation; the environmental hazard category includes open flames, smoke and harmful gas leakage; if the target recognition result is a wearing recognition result, the wearing recognition result is compared with the work specification category to determine the type of the wearing recognition result; among them, the comparison includes the comparison of wearing work clothes and the comparison of wearing safety belts for high-altitude work; if the target recognition result is a behavior specification recognition result, the behavior specification recognition result is judged by the work coordination category to determine the type of the behavior specification recognition result; among them, the judgment includes judging whether there is a scuffle, judging whether there is cross-operation, judging whether on the job, judging whether there is illegal operation and judging whether the action trajectory is standardized; if the target recognition result is an environmental safety recognition result, the environmental hazard category is used to identify the environmental safety recognition result to identify the type of the environmental safety recognition result; among them, the recognition includes identifying whether there is an open flame, smoke, or harmful gas leakage.

[0066] In this implementation, by combining high-resolution cameras with the YOLOV7 model, DeepSort algorithm, and image recognition model, real-time monitoring, target detection and tracking, as well as detailed target recognition and alarm analysis of the chemical site are carried out, which significantly improves the accuracy and timeliness of safety monitoring, effectively reduces potential safety hazards, and improves the safety management level of the chemical industry.

[0067] Embodiment 3: like Figure 2 As shown, the present application also provides a system 10 for monitoring safe operations in the chemical industry based on YOLOV7. The system 10 for monitoring safe operations in the chemical industry based on YOLOV7 includes an acquisition unit 11, a generation unit 12, a tracking unit 13, an extraction unit 14 and an alarm unit 15.

[0068] The acquisition unit 11 is mainly used to acquire real-time video monitoring images of the chemical site.

[0069] The generation unit 12 is mainly used to input the real-time video monitoring picture into the preset YOLOV7 model to generate the target object.

[0070] The tracking unit 13 is mainly used to track the target object in real time using the DeepSort algorithm to obtain the tracking target.

[0071] The extraction unit 14 is mainly used to extract features of the tracking target to obtain an image data set; the image data set is input into a preset image recognition model to generate a corresponding target recognition result.

[0072] The alarm unit 15 is mainly used to analyze the target recognition result according to the preset alarm rules, obtain the corresponding alarm signal, and trigger the preset alarm according to the corresponding alarm signal.

[0073] In this embodiment, by organically combining various units to form a complete monitoring system, real-time monitoring, accurate identification and timely warning of the chemical site can be achieved; specifically, the acquisition unit 11 is responsible for real-time collection of monitoring images of the chemical site to ensure the real-time and continuity of monitoring; the generation unit 12 accurately identifies the target object in the monitoring image by inputting the YOLOV7 model, and provides the category and location information of the target; the tracking unit 13 uses the DeepSort algorithm to continuously track the identified target object and record its movement trajectory; the extraction unit 14 further performs detailed feature extraction on the tracked target, and generates accurate target recognition results through the image recognition model; the alarm unit 15 analyzes and judges the target recognition results according to the preset alarm rules, generates a corresponding alarm signal and triggers the alarm device to ensure that safety hazards can be discovered and handled in time.

[0074] It should be noted that technical personnel in the relevant technical field can clearly understand that, for the convenience and conciseness of description, the specific working process of the system and each unit described above can refer to the corresponding process in the aforementioned method embodiment of monitoring safe operations in the chemical industry based on YOLOV7, and will not be repeated here.

[0075] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for monitoring safe operations in the chemical industry based on YOLOV7, characterized in that: include: Obtain real-time video monitoring images of chemical sites; Input the real-time video monitoring screen into a preset YOLOV7 model to generate a target object; Using the DeepSort algorithm to track the target object in real time to obtain a tracking target; Extracting features of the tracking target to obtain an image data set; inputting the image data set into a preset image recognition model to generate a corresponding target recognition result; The target recognition result is analyzed according to the preset alarm rule to obtain a corresponding alarm signal, and a preset alarm is triggered according to the corresponding alarm signal.

2. The method for monitoring safe operation in the chemical industry based on YOLOV7 according to claim 1 is characterized in that: The step of obtaining the real-time video monitoring picture of the chemical site includes: Based on the preset camera, the chemical site is filmed in real time to capture the real-time video monitoring screen of the chemical site.

3. The method for monitoring safe operation in the chemical industry based on YOLOV7 according to claim 1 is characterized in that: The step of inputting the real-time video monitoring screen into a preset YOLOV7 model to generate a target object includes: The real-time video monitoring screen is input into the YOLOV7 model, and the convolutional neural network structure is used to extract features of the real-time video monitoring screen, and the target position, target category and target confidence of the target are output; Perform multi-frame target detection on the target within a preset time, and count the number of recognitions of each target. When the number of recognitions of the same target within the preset time exceeds a preset threshold, the target position, target category and target confidence of the target are determined to be valid; The valid target position, target category and target confidence are determined as the target object.

4. The method for monitoring safe operation in the chemical industry based on YOLOV7 according to claim 1 is characterized in that: The step of using the DeepSort algorithm to track the target object in real time to obtain the tracking target includes: Acquire target position information of a target object, and use a DeepSort algorithm to extract features of the target object to obtain appearance features; The target object is tracked in real time based on the target position information and the appearance features to obtain a tracking target.

5. The method for monitoring safe operation in the chemical industry based on YOLOV7 according to claim 1 is characterized in that: The step of extracting features of the tracking target to obtain an image data set includes: Identify the tracking target, and if the tracking target is non-human, extract features of the tracking target to obtain an image data set; wherein the non-human open fire, smoke, or harmful gas leakage; If the tracking target is a person, the tracking target is regarded as a large target; A large model combining large and small models is used to intercept a local area of ​​the large target to obtain head information, upper body information, lower body information, and hand information; The head information, upper body information, lower body information and hand information are identified using the small model combined with the large and small models to obtain identification content, which is used as an image data set.

6. The method for monitoring safe operation in the chemical industry based on YOLOV7 according to claim 1 is characterized in that: The step of inputting the image data set into a preset image recognition model to generate a corresponding target recognition result includes: The image data set is input into a preset image recognition model, and a corresponding target recognition result is output; wherein the target recognition result includes any one of the following: a wearing recognition result, a behavior norm recognition result, and an environmental safety recognition result.

7. The method for monitoring safe operation in the chemical industry based on YOLOV7 according to claim 1 is characterized in that: The training process of the YOLOV7 model is as follows: Collect data from the public COCO dataset and the on-site dataset collected by the camera to obtain video data; The video data is quantized by int8 using PTQ technology, and the screen size of the video data is identified as 640*640 to obtain a training set, a validation set, and a test set; The YOLOV7 model is trained based on the training set, the validation set, and the test set to obtain a trained YOLOV7 model.

8. The method for monitoring safe operation in the chemical industry based on YOLOV7 according to claim 1 is characterized in that: The step of analyzing the target recognition result according to the preset alarm rule to obtain a corresponding alarm signal, and triggering a preset alarm according to the corresponding alarm signal comprises: Input the target recognition result into a preset mapping table to obtain a corresponding alarm signal; wherein the mapping table is constructed according to preset alarm rules and corresponding target recognition results; A preset alarm is triggered according to the corresponding alarm signal.

9. The method for monitoring safe operation in the chemical industry based on YOLOV7 according to claim 1 is characterized in that: The alarm rules include work specification, work coordination and environmental hazard; the work specification includes wearing work clothes and wearing safety belts for high-altitude work; the work coordination includes scuffles, trajectory analysis, cross-operation, on-duty and illegal operation; the environmental hazard includes open flames, smoke and harmful gas leakage; If the target recognition result is a wear recognition result, the wear recognition result is compared with the operation specification class to determine the type of the wear recognition result; wherein the comparison includes comparison of work clothes and safety belts for high-altitude operations; If the target recognition result is a behavior norm recognition result, the work coordination class is used to judge the behavior norm recognition result to determine the type of the behavior norm recognition result; wherein the judgment includes judging whether there is a scuffle, judging whether there is cross-operation, judging whether the person is on duty, judging whether there is illegal operation, and judging whether the action trajectory is standardized; If the target identification result is an environmental safety identification result, the environmental safety identification result is identified using the environmental hazard class to identify the type of environmental safety identification result; wherein the identification includes identifying whether there is an open flame, smoke, or harmful gas leakage.

10. A system for monitoring safe operations in the chemical industry based on YOLOV7, characterized in that: include: An acquisition unit is used to acquire real-time video monitoring images of the chemical site; A generating unit, used for inputting the real-time video monitoring picture into a preset YOLOV7 model to generate a target object; A tracking unit, used to track the target object in real time using a DeepSort algorithm to obtain a tracking target; An extraction unit is used to extract features of the tracking target to obtain an image data set; the image data set is input into a preset image recognition model to generate a corresponding target recognition result; The alarm unit is used to analyze the target recognition result according to the preset alarm rules, obtain the corresponding alarm signal, and trigger the preset alarm according to the corresponding alarm signal.

Citation Information

Patent Citations

  • Intelligent safety management and control system for field operation of chemical enterprises

    CN112213992A

  • Multi-information fusion special operation site dynamic hidden danger identification and risk assessment system and method

    CN113344326A

  • Safety helmet wearing detection method and system in construction scene

    CN115171022A

  • Factory safety wearing target detection method based on YOLOv7 improvement

    CN117496129A

  • System and method for surveillance of goods

    US20230245460A1

Cited By

  • Industrial gas cylinder filling safety management system and method based on AI video

    CN118705537A

  • Two-stage pedestrian and vehicle detection method

    CN119206779A

  • Personnel state identification method and system based on target identification detection

    CN119516161A

  • Method and apparatus for determining operation result of operation object, and storage medium

    WO2026097748A1