Worker dress code inspection method based on unmanned aerial vehicle on-board edge computing power

By using an onboard edge computing module on a drone to inspect the clothing of workers at construction sites, real-time compliance judgment and early warning of workers' clothing at construction sites have been achieved. This solves the problems of response lag and limited field of view caused by the reliance on remote transmission for image acquisition and violation analysis in existing technologies, and forms a closed-loop processing of acquisition, identification, judgment and early warning.

CN123182080APending Publication Date: 2026-11-27HANGZHOU NEW MODAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611471137.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The image acquisition and violation analysis during worker uniform inspections at construction sites rely on remote transmission, resulting in delayed response and limited field of view coverage, making it difficult to locate and handle violations in a timely manner.

Method used

The image data is inferred locally using the onboard edge computing power of the UAV. The image data is processed in real time through the onboard edge computing power module to generate worker target recognition results, clothing element recognition results and spatial correspondence, realize local compliance judgment, and output early warning results.

Benefits of technology

It enables real-time identification and early warning of violations on the drone end, avoids remote transmission delays, improves the timeliness and accuracy of violation detection, and forms a closed-loop processing of collection, identification, judgment and early warning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182080A_ABST
    Figure CN123182080A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of image recognition, and discloses a worker dressing specification inspection method based on unmanned aerial vehicle airborne edge computing power, which comprises the following steps: determining hard hats and tooling as dressing specification detection objects according to construction site safety management rules; controlling an unmanned aerial vehicle inspection platform to collect image data containing workers along a preset inspection path; inputting the image data into an airborne edge computing power module; generating worker target recognition results, dressing element recognition results and spatial correspondence by a worker dressing compliance recognition algorithm deployed at the unmanned aerial vehicle end; and completing the wearing state of the hard hat, the wearing state of the tooling and the dressing compliance judgment locally, and generating an early warning result containing the rule violation type, the rule violation target, the rule violation time, the inspection area and the image evidence when it is judged that there is a dressing violation behavior. Through the formation of a closed loop of collection, recognition, analysis and early warning at the unmanned aerial vehicle end, the dependence on cloud transmission is reduced, and the inspection response timeliness is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image recognition technology, and in particular to a method for inspecting worker attire standards based on UAV-borne edge computing power. Background Technology

[0002] Image recognition technology involves processing techniques that identify target objects, target parts, and target states based on image or video data and output judgment results. Traditional methods for inspecting worker attire standards involve acquiring images or videos of the construction site through on-site personnel patrols, fixed camera capture, or drone capture, which are then transmitted back to a server. The images or videos are then manually checked or verified by remote computing devices to ensure the wearing of safety helmets and work clothes.

[0003] Existing inspection methods rely on manual verification or remote transmission links when the construction site area and personnel distribution change. The image transmission process is prone to delays due to the influence of the on-site network environment. Fixed collection points have limited viewing angles and obstruction issues. Uploading and parsing data collected by drones increases the waiting time between violation detection and early warning output, making it difficult to locate and deal with clothing violations in a timely manner. Summary of the Invention

[0004] To address the technical challenges of reliance on remote transmission, response delays, and limited field of view in worker attire inspection at construction sites, which involve image acquisition and violation analysis, this invention provides a worker attire compliance inspection method based on UAV-borne edge computing power. The method includes the following steps: determining the attire compliance inspection targets based on construction site safety management rules, including at least safety helmets and work clothes; controlling the UAV inspection platform to acquire images of the construction area along a preset inspection path to obtain image data containing workers; and inputting the image data into the UAV's onboard edge computing module, enabling the worker attire compliance recognition algorithm deployed on the onboard edge computing module to locally push the image data. The system generates worker target recognition results, clothing element recognition results, and spatial correspondence between worker targets and clothing elements. Based on the worker target recognition results, clothing element recognition results, and spatial correspondence, it performs compliance judgment on the helmet wearing status and work clothes wearing status corresponding to the worker target, and obtains clothing compliance judgment results. When the clothing compliance judgment results indicate that there is at least one of the following situations: not wearing a helmet, not wearing a helmet according to regulations, not wearing work clothes, or not wearing work clothes according to regulations, the corresponding violation is locally analyzed on the drone and a warning result containing violation type, violation target, violation time, inspection area, and image evidence is output.

[0005] Furthermore, during the image acquisition phase, inspection flight segments are generated based on the location of the work surface, personnel passage area, and equipment obstruction area in the construction area. Within the inspection flight segments, the shooting orientation of the airborne image acquisition unit is adjusted so that the image data covers the area where the worker is located, the worker's head area, and the worker's torso area. When no worker target is detected in the continuously acquired image data, the preset inspection path is maintained to perform the inspection task. When the worker target is detected in the continuously acquired image data, the video frame extraction density of the corresponding area is increased. This enables the mobile acquisition capability of the UAV inspection platform to form a correspondence with the subsequent edge recognition input.

[0006] As a progressive solution, the worker attire compliance recognition algorithm performs size compression, sharpness filtering, and brightness equalization processing on the image data to obtain an edge input image. The edge input image is then input into a computer vision detection model, which outputs the worker target recognition result, the safety helmet target recognition result, and the workwear area recognition result, respectively. Finally, the safety helmet target recognition result and the workwear area recognition result are merged into the attire element recognition result, thereby adapting to the real-time processing requirements under the limited computing resources of the drone.

[0007] As a preferred embodiment, during the compliance judgment stage, a worker boundary region is determined from the worker target identification results, and a head candidate region and a torso candidate region are divided within the worker boundary region. When the safety helmet target in the clothing element identification results and the head candidate region satisfy the positional overlap relationship, the safety helmet wearing status of the corresponding worker target is judged as compliant; when the safety helmet target and the head candidate region do not satisfy the positional overlap relationship, the safety helmet wearing status of the corresponding worker target is judged as non-compliant. When the workwear region in the clothing element identification results and the torso candidate region satisfy the coverage relationship, the workwear wearing status of the corresponding worker target is judged as compliant; when the workwear region and the torso candidate region do not satisfy the coverage relationship, the workwear wearing status of the corresponding worker target is judged as non-compliant.

[0008] As an additional limitation, the helmet wearing status and the work clothes wearing status are bound to the same worker target to form a single-person clothing status record; when both the helmet wearing status and the work clothes wearing status in the single-person clothing status record are compliant, the worker target corresponding to the single-person clothing status record is marked as a clothing compliance target; when either the helmet wearing status or the work clothes wearing status in the single-person clothing status record is non-compliant, the worker target corresponding to the single-person clothing status record is marked as a clothing non-compliant target, and the clothing non-compliant target is used as the source of the non-compliant target for the warning result.

[0009] As an optional solution, the worker attire compliance recognition algorithm can be implemented in a first optional manner, which first detects the worker target, then detects the safety helmet target and the workwear area within the detected worker target, and generates the attire compliance judgment result based on the spatial correspondence; the worker attire compliance recognition algorithm can also be implemented in a second optional manner, which detects the worker target, safety helmet target and workwear area in parallel, then establishes the spatial correspondence according to the center position, overlap range and relative height relationship of the detection box, and generates the attire compliance judgment result based on the spatial correspondence.

[0010] Furthermore, during the local parsing phase, the violation status, image frame time, and inspection segment location corresponding to the clothing violation target are read. The violation status is converted into the violation type, the image frame time is converted into the violation time, and the inspection segment location is converted into the inspection area. A partial image containing the clothing violation target and corresponding clothing elements is extracted from the image frame that generated the clothing violation target, and the partial image is used as the image evidence. Then, the violation type, the violation target, the violation time, the inspection area, and the image evidence are encapsulated into the warning result.

[0011] As a progressive solution, when outputting the warning result, if the violating target in the warning result appears repeatedly in consecutive video frames and the violation type is consistent, the repeatedly appearing violating targets are merged, and the earliest violation time and the image evidence with the highest clarity are retained; if the clarity of the image evidence in the warning result does not meet the local warning output conditions, the UAV inspection platform is triggered to re-collect image data of the area where the violating target is located; if the re-collected image data still does not meet the local warning output conditions, a warning result containing a pending review mark is output.

[0012] As an additional limitation, when the airborne edge computing module runs the worker attire compliance recognition algorithm, it writes the image preprocessing task, target detection task, compliance judgment task, and early warning analysis task into the edge task queue. When there is image data to be processed in the edge task queue, the image preprocessing task and the target detection task are executed first, and the obtained worker target recognition results and clothing element recognition results are cached in the local storage area of ​​the UAV. When the local computing resources are insufficient to execute all tasks at the same time, the video frame processing frequency of non-violation targets is reduced, the processing frequency of the image data corresponding to the clothing violation target is maintained, and the corresponding cache is released after the early warning analysis task is completed.

[0013] Compared with the prior art, the advantages and positive effects of the present invention are as follows: In this invention, image data of the construction area is acquired through a drone inspection platform, and the onboard edge computing module performs local reasoning on the drone to determine the worker target, clothing elements, and spatial correspondence, avoiding the waiting caused by sending all images back to the remote end for analysis. By binding the helmet wearing status and work clothes wearing status to the same worker target, the violation type, violation target, violation time, inspection area, and image evidence can be combined to form a common source warning result. Through duplicate target merging, low-resolution image re-acquisition, and edge task queue allocation, the warning output is matched with the local computing resource status, thereby forming a closed loop of acquisition, identification, judgment, analysis, and warning. Attached Figure Description

[0014] Figure 1 This is a flowchart of the main process for worker attire standard inspection in this invention, showing the main process from the drone end, from determining the inspection target for attire standard, image acquisition, local reasoning, compliance judgment to outputting early warning results; Figure 2 This is a flowchart of the inspection data collection and edge input processing of the present invention, showing the local processing of inspection segment generation, shooting orientation adjustment, worker target triggering, and video frame input; Figure 3 This is a data flow diagram of worker target constraint clothing element recognition in Embodiment 1 of the present invention, showing the data flow of first detecting the worker target, then detecting the safety helmet target and the workwear area; Figure 4 This is a logic diagram of parallel detection and spatial matching in Embodiment 2 of the present invention, showing the establishment of spatial correspondence after parallel detection of worker target, safety helmet target and tooling area; Figure 5 This invention presents a closed-loop diagram of early warning analysis and edge task queue feedback, illustrating the processing relationships between violation type, violation target, violation time, inspection area, image evidence, and task queue. Detailed Implementation

[0015] The following embodiments illustrate the feasible implementation methods of the technical solutions described in this invention. In these embodiments, image data refers to image frames or video frames collected by the UAV inspection platform over the construction area or within a preset inspection path; worker target recognition results refer to the worker boundary areas identified from the image data; clothing element recognition results refer to the set of safety helmet target recognition results and workwear area recognition results; spatial correspondence refers to the positional overlap, coverage, and relative height relationship between the worker target, safety helmet target, and workwear area; and clothing compliance judgment results refer to the compliant or non-compliant status formed after binding the safety helmet wearing status and workwear wearing status. The airborne edge computing module, as the local computing carrier at the UAV end, receives image data and runs the worker clothing compliance recognition algorithm. The local data parsing module generates an early warning result based on the clothing compliance judgment result, and the non-compliant early warning module outputs the early warning result. The following embodiments do not specifically limit the specific UAV model, camera equipment model, detection model structure, or local storage specifications; the above content can be selected within the scope supported by the original disclosure materials.

[0016] Example 1 Please see Figures 1 to 3 This embodiment provides a method for inspecting worker attire compliance based on UAV-borne edge computing power. In this embodiment, the worker attire compliance recognition algorithm adopts a processing path of first detecting the worker target, and then detecting the safety helmet target and workwear area within the worker target. This ensures that the attire element recognition result is generated with the worker target recognition result as the constraint boundary, and that subsequent attire compliance judgment results can be directly bound to the corresponding worker target.

[0017] S1. Determine the clothing compliance inspection targets based on the construction site safety management rules. These targets must include at least safety helmets and work clothes. The construction site safety management rules serve as input for the inspection task, determining the categories of clothing elements to be inspected in this image recognition process. The clothing compliance inspection targets generated in this step are then configured for the subsequent recognition algorithm's detection categories. This ensures that the airborne edge computing module performs clothing compliance recognition only on safety helmets and work clothes during local inference, avoiding the use of image content unrelated to worker clothing regulations as the basis for compliance judgment.

[0018] S2 controls the drone inspection platform to acquire images of the construction area according to a preset inspection path, obtaining image data including workers. The preset inspection path is determined based on the location of the work surface, personnel passage areas, and equipment obstruction areas within the construction area. During the inspection, the drone inspection platform acquires image frames or video frames of the construction area through its onboard image acquisition unit. The image data must at least cover the area where the worker is located, the worker's head area, and the worker's torso area. This image data is then transmitted to the onboard edge computing module as input for subsequent local inference.

[0019] S211 generates inspection flight segments based on the work area location, personnel passage area, and equipment obstruction area. Inspection flight segments are used to limit the acquisition range and flight sequence of the UAV inspection platform. The work area location corresponds to areas with a high probability of worker activity, the personnel passage area corresponds to worker movement paths, and the equipment obstruction area is used to prompt the airborne image acquisition unit to adjust its shooting orientation.

[0020] S212, within the inspection flight segment, adjust the shooting orientation of the airborne image acquisition unit to ensure that image data covers the area where the worker is located, the worker's head area, and the worker's torso area. The output state after the shooting orientation adjustment is an image frame or video frame that can be entered into recognition processing. If the worker target does not appear in the image frame, the UAV inspection platform continues to perform data acquisition along the preset inspection path; if the worker target appears in the image frame, the video frame of the corresponding area is extracted as image data to be processed.

[0021] S213, when a worker target is detected in the continuously acquired image data, the video frame extraction density of the corresponding area is increased, and the extracted video frames are input into the airborne edge computing module. The change in video frame extraction density does not change the main process order, but only changes the number of image data entering subsequent local inference, so that the airborne edge computing module obtains more continuous image data to be processed when the worker target appears.

[0022] S3: The image data is input into the onboard edge computing module of the drone. The worker attire compliance recognition algorithm deployed on this module performs local inference on the image data, generating worker target recognition results, attire element recognition results, and spatial correspondences between the worker target and the attire elements. The onboard edge computing module is the execution entity in this step; the input is image data, and the output is the worker target recognition results, attire element recognition results, and spatial correspondences. Since the recognition processing is completed on the drone, the image data does not need to be transmitted back to a remote location for violation analysis.

[0023] S311 performs image data compression, sharpness filtering, and brightness equalization to obtain the edge-end input image. Size compression adapts the image data to the local computing resources of the onboard edge computing module; sharpness filtering removes image frames that cannot support the identification of safety helmet targets and workwear areas; brightness equalization reduces the impact of different shooting angles and variations in lighting at the construction site on the detection results. The edge-end input image serves as the input to the computer vision detection model.

[0024] S312, the edge-end input image is input into the computer vision detection model, which first outputs the worker target recognition result. The worker target recognition result includes the worker boundary region. The worker boundary region serves as a spatial constraint for subsequent detection of the safety helmet target and the workwear region, limiting the detection range of the safety helmet target and the workwear region to the image region related to the worker target.

[0025] S313, divide the worker boundary area into head candidate region and torso candidate region. The head candidate region is used to receive the target recognition result of the safety helmet, and the torso candidate region is used to receive the recognition result of the workwear area. The head candidate region and torso candidate region are formed by the relative positional relationship within the worker boundary area, and they serve as comparison objects for spatial correspondence.

[0026] S314: Detect the safety helmet target within the head candidate area and the workwear area within the torso candidate area, and merge the safety helmet target recognition result and the workwear area recognition result into a clothing element recognition result. The clothing element recognition result continues to be passed to the compliance judgment step. If no safety helmet target recognition result is formed within the head candidate area, it corresponds to the violation candidate branch where the worker target enters the safety helmet wearing state; if no workwear area recognition result is formed within the torso candidate area, it corresponds to the violation candidate branch where the worker target enters the workwear wearing state.

[0027] S315 establishes spatial correspondences based on the worker boundary region, head candidate region, torso candidate region, safety helmet target recognition results, and tooling region recognition results. The spatial correspondences include the positional overlap between the safety helmet target and the head candidate region, and the coverage relationship between the tooling region and the torso candidate region. These spatial correspondences serve as input to S4 and are not used as the final output independently.

[0028] S4. Based on the worker target identification results, clothing element identification results, and spatial correspondence, the compliance judgment is made on the safety helmet wearing status and work clothes wearing status corresponding to the worker target, and the clothing compliance judgment result is obtained. This step uses the same worker target as the binding object, judges the safety helmet wearing status and work clothes wearing status separately, and then combines the two statuses into a single person clothing status record.

[0029] S411: When the safety helmet target and the head candidate area satisfy the positional overlap relationship, the safety helmet wearing status of the corresponding worker target is judged as compliant; when the safety helmet target and the head candidate area do not satisfy the positional overlap relationship, the safety helmet wearing status of the corresponding worker target is judged as non-compliant. The positional overlap relationship is determined based on the relative position between the safety helmet target recognition result and the head candidate area, and manual visual verification is not a necessary condition for local judgment.

[0030] S412, when the workwear area and the torso candidate area satisfy the coverage relationship, the workwear wearing status of the corresponding worker target is determined to be compliant; when the workwear area and the torso candidate area do not satisfy the coverage relationship, the workwear wearing status of the corresponding worker target is determined to be non-compliant. The coverage relationship is determined based on the spatial coverage status between the workwear area identification result and the torso candidate area.

[0031] S413 links the helmet-wearing status and workwear-wearing status to the same worker target, creating an individual workwear status record. When both the helmet-wearing status and workwear-wearing status in the individual workwear status record are compliant, the corresponding worker target is marked as a compliant workwear target; when either the helmet-wearing status or workwear-wearing status in the individual workwear status record is non-compliant, the corresponding worker target is marked as a non-compliant workwear target. Non-compliant workwear targets serve as the source of non-compliant targets in the warning results.

[0032] S5. When the clothing compliance judgment result indicates at least one of the following situations: not wearing a safety helmet, not wearing a safety helmet according to regulations, not wearing work clothes, or not wearing work clothes according to regulations, the corresponding violation is analyzed locally on the drone and an early warning result including the violation type, violation target, violation time, inspection area, and image evidence is output. This step is completed by the local data analysis module and the violation early warning module working together on the drone. The input is the clothing compliance judgment result and the image frame that generated the judgment result, and the output is an early warning result that can be handled by construction site management personnel.

[0033] S511 reads the violation status, image frame time, and inspection segment location corresponding to the clothing violation target. The violation status comes from the individual clothing status record; the image frame time comes from the image frame that generated the clothing violation target; and the inspection segment location comes from the inspection segment when the UAV inspection platform executes the preset inspection path.

[0034] S512 converts the violation status into a violation type, the image frame time into a violation time, and the inspection segment location into an inspection area. Violation types include at least one of the following: not wearing a safety helmet, not wearing a safety helmet according to regulations, not wearing work clothes, or not wearing work clothes according to regulations. The above conversion results are mandatory fields for the warning results.

[0035] S513: Extract a partial image containing the clothing violation target and its corresponding clothing elements from the image frame that generated the clothing violation target, and use the partial image as image evidence. The image evidence originates from the same source as the violation target and can be traced back to the image frame that generated the clothing compliance judgment result.

[0036] S514 encapsulates the violation type, violation target, violation time, inspection area, and image evidence into a warning result, which is then output by the violation warning module. After the warning result is output, the local data parsing module retains the intermediate records corresponding to the warning result to identify repeated violation targets in consecutive video frames.

[0037] S515: When a violating target appears repeatedly in consecutive video frames and the violation type is consistent, the repeatedly appearing violating targets are merged, retaining the earliest violation time and the image evidence with the highest clarity. This process is used to prevent the same worker target from being repeatedly output as multiple identical warning results in consecutive video frames.

[0038] S516: When the clarity of image evidence in the warning result does not meet the local warning output conditions, the drone inspection platform is triggered to re-collect image data of the area where the violation target is located; when the re-collected image data still does not meet the local warning output conditions, a warning result containing a pending review marker is output. The pending review marker is used to indicate that the quality of the image evidence is insufficient to support direct action, but the violation candidate status has been formed by the local identification chain.

[0039] S517: When the airborne edge computing module runs the worker attire compliance recognition algorithm, it writes image preprocessing, target detection, compliance judgment, and early warning analysis tasks into the edge task queue. When there is image data to be processed in the edge task queue, the image preprocessing and target detection tasks are executed first, and the obtained worker target recognition results and attire element recognition results are cached in the local storage area of ​​the UAV. After completing the compliance judgment task and generating the corresponding target's attire compliance judgment result, the processing priority of the corresponding target and the subsequent frame processing strategy are updated according to the attire compliance judgment result. When local computing resources are insufficient to execute all tasks simultaneously, it must not affect the completion of image preprocessing, target detection, and compliance judgment of the currently pending image data. For targets that have been judged to be attire compliant but have not triggered an early warning, their video frame processing frequency in subsequent tracking cycles is reduced. For targets that have been judged to be attire non-compliant or are currently performing an early warning analysis task, the processing frequency of their corresponding image data is maintained, and the corresponding cache is released after the early warning analysis task is completed. Through the above resource allocation, the acquisition, recognition, judgment, analysis, and early warning output of image data form a closed processing chain on the drone end based on the completed recognition results and compliance judgment results.

[0040] In this embodiment, the edge task queue also receives image preprocessing tasks, target detection tasks, compliance judgment tasks, and early warning analysis tasks. Since the worker target detection branch, safety helmet target detection branch, and workwear area detection branch output intermediate results in parallel, the airborne edge computing module does not use whether the target has violated regulations as a scheduling basis before establishing spatial correspondence and completing compliance judgment. When local computing resources are insufficient, the airborne edge computing module prioritizes maintaining the processing frequency of the worker target detection branch and the suspected clothing anomaly candidate areas and their corresponding image data output by the safety helmet target detection branch and workwear area detection branch. Video frames not marked as suspected clothing anomaly candidates by the parallel detection branches are treated as low-priority frames, only reducing their subsequent re-inspection or repeated analysis frequency, without directly identifying them as non-violation frames. This resource allocation allows the worker target recognition results, clothing element recognition results, and spatial correspondence formed by the parallel detection path to continue to be used for early warning analysis, and the compliance judgment is still performed based on the results after the spatial correspondence is established.

[0041] Example 2 Please see Figure 1 , Figure 4 and Figure 5 This embodiment provides a method for inspecting worker attire compliance based on UAV-borne edge computing power. The difference between this embodiment and Embodiment 1 is that the worker attire compliance recognition algorithm employs a parallel detection path for worker targets, safety helmet targets, and workwear areas. After the parallel detection results are formed, a spatial correspondence is established based on the center position, overlap range, and relative height relationship of the detection boxes. This difference ensures that the safety helmet target recognition results and workwear area recognition results do not use the already detected worker boundary area as the initial detection boundary, but are generated in parallel within the same image data and then spatially matched.

[0042] S1. Determine the clothing standard inspection targets based on the construction site safety management rules. The clothing standard inspection targets must include at least safety helmets and work clothes. The clothing standard inspection targets formed in this step are configured as parallel inspection categories, enabling the airborne edge computing module to simultaneously focus on worker targets, safety helmet targets, and work clothes areas during local inference.

[0043] S2, the drone inspection platform is controlled to collect images of the construction area according to a preset inspection path, obtaining image data including workers. The source of image data, generation of inspection segments, adjustment of shooting orientation, and video frame extraction method are the same as in Embodiment 1. The image data is used as parallel detection input after entering the airborne edge computing module. The same parts can be referred to the processing procedures of S211 to S213 in Embodiment 1.

[0044] S3: Image data is input into the airborne edge computing module on the drone, enabling the worker attire compliance recognition algorithm deployed on the airborne edge computing module to perform local inference on the image data, generating worker target recognition results, attire element recognition results, and spatial correspondence between worker targets and attire elements. The difference processing in this embodiment is concentrated in S3.

[0045] S321: The image data undergoes size compression, sharpness filtering, and brightness equalization to obtain the edge-end input image. This edge-end input image is simultaneously fed into the worker target detection branch, the safety helmet target detection branch, and the workwear region detection branch. The consistent input source for these three detection branches ensures that subsequent spatial correspondences can be established based on the same image coordinate semantics.

[0046] S322: The worker target detection branch outputs the worker target recognition result, the safety helmet target detection branch outputs the safety helmet target recognition result, and the workwear area detection branch outputs the workwear area recognition result. The safety helmet target recognition result and the workwear area recognition result are merged into the clothing element recognition result. The results output by the three detection branches are used as intermediate data at the same time for matching processing.

[0047] S323, establish spatial correspondence based on the center position, overlapping range, and relative height relationship of the detection frame. The center position of the detection frame is used to identify whether the safety helmet target and the workwear area are within the same local area as a worker target; the overlapping range is used to determine whether a binding relationship is formed between the safety helmet target, the workwear area, and the worker target; the relative height relationship is used to distinguish that the safety helmet target corresponds to the head area of ​​the worker target, and the workwear area corresponds to the torso area of ​​the worker target. The spatial correspondence formed here serves as the basis for determining the safety helmet wearing status and workwear wearing status in S4.

[0048] In S324, when a safety helmet target or a workwear area simultaneously forms candidate spatial correspondences with multiple worker targets, the matching results with closer center distances and relative height relationships matching the corresponding clothing element types are prioritized. If multiple candidate matching results still cannot uniquely determine the target, the corresponding worker target is marked as a candidate target awaiting review, and this candidate target is entered into the local parsing branch of S5. This process is used to avoid incorrect binding in complex construction site backgrounds and when personnel are obscured.

[0049] S4. Based on the worker target identification results, clothing element identification results, and spatial correspondence, the compliance judgment is made on the safety helmet wearing status and work clothes wearing status corresponding to the worker target, and the clothing compliance judgment result is obtained. Compared with Example 1, the judgment input of this example comes from the spatial correspondence established after parallel detection. If a worker target can be matched with a safety helmet target that meets the relative height relationship, the corresponding safety helmet wearing status is compliant; if it cannot be matched with a safety helmet target that meets the relative height relationship, the corresponding safety helmet wearing status is non-compliant. If a worker target can be matched with a work clothes area that meets the overlap range and relative height relationship, the corresponding work clothes wearing status is compliant; if it cannot be matched with a work clothes area that meets the above relationship, the corresponding work clothes wearing status is non-compliant.

[0050] S5, when the clothing compliance judgment result indicates at least one of the following situations: not wearing a safety helmet, not wearing a safety helmet according to regulations, not wearing work clothes, or not wearing work clothes according to regulations, the corresponding violation is locally analyzed on the drone end, and a warning result containing the violation type, violation target, violation time, inspection area, and image evidence is output. In this embodiment, if a candidate target to be reviewed is formed in S324, the local data analysis module encapsulates the candidate target to be reviewed along with the violation type, image frame time, inspection segment location, and image evidence into a warning result containing a review mark. If the candidate target to be reviewed can be uniquely bound to the safety helmet target or work clothes area after subsequent image data re-collection, the corresponding warning result is updated according to the re-collected image data; if it still cannot be uniquely bound, the review mark is retained and output.

[0051] In this embodiment, the edge task queue also receives image preprocessing tasks, target detection tasks, compliance judgment tasks, and early warning analysis tasks. Since the worker target detection branch, safety helmet target detection branch, and workwear area detection branch output intermediate results in parallel, the airborne edge computing module prioritizes maintaining the processing frequency of the worker target detection branch and the image data corresponding to the clothing violation targets when local computing resources are insufficient, while reducing the processing frequency of video frames containing non-violation targets. This resource allocation allows the worker target recognition results, clothing element recognition results, and spatial correspondences formed by the parallel detection paths to continue to be used for early warning analysis.

[0052] In this embodiment, the verification method can be confirmed by checking whether the worker target recognition result, safety helmet target recognition result, and workwear area recognition result output by the detection branch enter the same spatial correspondence table; it can be confirmed by checking the retention status of candidate matching results, the generation status of candidate targets to be reviewed, and the update status of warning results; it can also be confirmed by checking whether the image evidence contains targets with clothing violations and corresponding clothing elements. All of the above verification methods are derived from the local processing results on the UAV.

[0053] The specific processes, data names, status names, judgment order, resource queue processing, early warning field combinations, and image evidence generation methods described in the above embodiments are used to explain the implementable path of the technical solution described in this invention, and should not limit this invention to the specific embodiments listed. Without departing from the technical solution described in this invention, any equivalent substitutions, equivalent modifications, equivalent combinations, step order adjustments, module replacements, equivalent changes in field names, equivalent acceptance of the executing entity, or equivalent changes in the carrier form that can be conceived by those skilled in the art should fall within the scope of protection of this patent; however, they should not be extended to unclaimed topics, nor should the substantive correspondence of the technical objects be changed through name changes.

Claims

1. A method for inspecting worker attire standards based on UAV-borne edge computing power, characterized in that, include: The objects to be inspected for clothing standards shall be determined in accordance with the safety management rules for construction sites. The objects to be inspected for clothing standards shall at least include safety helmets and work clothes. The drone inspection platform is controlled to collect images of the construction area according to a preset inspection path, and obtain image data including workers. The image data is input into the airborne edge computing module of the drone, and the worker clothing compliance recognition algorithm deployed on the airborne edge computing module performs local reasoning on the image data to generate worker target recognition results, clothing element recognition results, and spatial correspondence between worker targets and clothing elements. Based on the worker target identification results, the clothing element identification results, and the spatial correspondence, the compliance judgment is made on the safety helmet wearing status and work clothes wearing status corresponding to the worker target, and the clothing compliance judgment result is obtained. When the clothing compliance judgment result indicates that there is at least one of the following situations: not wearing a safety helmet, not wearing a safety helmet according to regulations, not wearing work clothes, or not wearing work clothes according to regulations, the corresponding violation is analyzed locally on the drone and a warning result containing the violation type, violation target, violation time, inspection area, and image evidence is output.

2. The method for inspecting worker attire standards based on UAV-borne edge computing power according to claim 1, characterized in that, Controlling the UAV inspection platform to collect images of the construction area according to the preset inspection path includes: Inspection routes are generated based on the location of the work surface, personnel passage area, and equipment obstruction area in the construction area. Within the inspection segment, adjust the shooting orientation of the airborne image acquisition unit so that the image data covers the area where the worker is located, the area of ​​the worker's head, and the area of ​​the worker's torso; When no worker target is detected in the continuously collected image data, the preset inspection path is maintained to perform the inspection task. When the worker target is detected in the continuously collected image data, the video frame extraction density of the corresponding area is increased and the extracted video frames are input into the airborne edge computing module.

3. The method for inspecting worker attire standards based on UAV-borne edge computing power according to claim 2, characterized in that, The worker attire compliance recognition algorithm performs local inference on the image data, including: The image data is subjected to size compression, sharpness filtering, and brightness equalization to obtain the edge-end input image; The edge input image is input into a computer vision detection model, which outputs the worker target recognition result, the safety helmet target recognition result, and the workwear area recognition result, respectively. The safety helmet target recognition result and the workwear area recognition result are merged into the clothing element recognition result, and the clothing element recognition result is transmitted to the compliance judgment step.

4. The method for inspecting worker attire standards based on UAV-borne edge computing power according to claim 1, characterized in that, The compliance assessment of the worker target's helmet wearing status and work clothes wearing status based on the worker target identification results, clothing element identification results, and spatial correspondence includes: The worker boundary region is determined from the worker target recognition result, and a head candidate region and a torso candidate region are divided in the worker boundary region; When the safety helmet target in the clothing element recognition result and the head candidate area meet the positional overlap relationship, the safety helmet wearing status of the corresponding worker target is determined to be compliant. When the safety helmet target and the head candidate area do not satisfy the positional overlap relationship, the safety helmet wearing status of the corresponding worker target is judged as a violation; When the workwear area in the clothing element recognition result and the torso candidate area satisfy the coverage relationship, the workwear wearing status of the corresponding worker target is determined to be compliant. When the workwear area and the torso candidate area do not satisfy the coverage relationship, the workwear wearing status of the corresponding worker target is determined to be in violation.

5. The method for inspecting worker attire standards based on UAV-borne edge computing power according to claim 4, characterized in that, The compliance assessment of the worker's helmet wearing status and work clothes wearing status also includes: The helmet wearing status and the work clothes wearing status are bound to the same worker target to form a single person's clothing status record; When both the safety helmet wearing status and the work clothes wearing status in the individual clothing status record are compliant, the worker target corresponding to the individual clothing status record is marked as a clothing compliance target. When the helmet wearing status or work clothes wearing status in the individual clothing status record is in violation, the worker target corresponding to the individual clothing status record is marked as a clothing violation target, and the clothing violation target is used as the violation target source of the warning result.

6. The method for inspecting worker attire standards based on UAV-borne edge computing power according to claim 1, characterized in that, When the worker attire compliance recognition algorithm adopts the first optional implementation, the worker attire compliance recognition algorithm first detects the worker target, then detects the safety helmet target and work clothes area within the detected worker target, and generates the attire compliance judgment result based on the spatial correspondence.

7. The method for inspecting worker attire standards based on UAV-borne edge computing power according to claim 1, characterized in that, When the worker attire compliance recognition algorithm adopts the second optional implementation, the worker attire compliance recognition algorithm detects the worker target, the safety helmet target, and the work clothes area in parallel, and then establishes the spatial correspondence relationship according to the center position, overlap range, and relative height relationship of the detection box, and generates the attire compliance judgment result based on the spatial correspondence relationship.

8. The method for inspecting worker attire standards based on UAV-borne edge computing power according to claim 1, characterized in that, Local analysis of corresponding violations on the drone terminal includes: Read the violation status, image frame time, and patrol segment location corresponding to the clothing violation target; The violation status is converted into the violation type, the image frame time is converted into the violation time, and the inspection segment location is converted into the inspection area; Extract a partial image containing the clothing violation target and corresponding clothing elements from the image frame that generated the clothing violation target, and use the partial image as the image evidence; The violation type, the violation target, the violation time, the inspection area, and the image evidence are encapsulated into the warning result.

9. The method for inspecting worker attire standards based on UAV-borne edge computing power according to claim 8, characterized in that, The output of the warning results includes: When the violation target in the warning result appears repeatedly in consecutive video frames and the violation type is consistent, the repeated violation targets are merged, and the earliest violation time and the image evidence with the highest clarity are retained. When the clarity of the image evidence in the warning result does not meet the local warning output conditions, the drone inspection platform is triggered to re-collect image data of the area where the violating target is located; If the re-acquired image data still does not meet the local early warning output conditions, an early warning result containing a check mark will be output.

10. The method for inspecting worker attire standards based on UAV-borne edge computing power according to claim 1, characterized in that, When the airborne edge computing module runs the worker attire compliance recognition algorithm, the allocation of local computing resources includes: Write image preprocessing tasks, target detection tasks, compliance judgment tasks, and early warning analysis tasks into the edge task queue; When there is image data to be processed in the edge task queue, the image preprocessing task and the target detection task are executed first, and the obtained worker target recognition result and clothing element recognition result are cached in the local storage area of ​​the drone. When the local computing resources are insufficient to execute all tasks simultaneously, the processing frequency of video frames for non-violation targets is reduced, while the processing frequency of image data corresponding to the clothing violation targets is maintained, and the corresponding cache is released after the warning analysis task is completed.