Indoor decoration worker identification method and system based on scene graph and large model inference
By combining dynamic scene diagrams and large language models, the problem of insufficient identification of complex and dangerous behaviors in interior decoration construction scenarios is solved, and efficient and reliable identification of the relationship between workers and facilities is achieved, thereby improving the level of intelligent construction safety management.
Patent Information
- Application Number
- CN202611368182.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-04
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies have failed to effectively combine dynamic scene understanding with large language model reasoning, resulting in insufficient identification of complex and dangerous behaviors in interior decoration and construction scenarios.
A dynamic scene map of an interior decoration construction site is constructed. By combining target detection and key point information of human posture, semantic reasoning is performed through a large language model to determine the spatial relationship and temporal evolution between workers and construction facilities. Explainable dangerous behaviors are identified by combining construction safety specifications.
It improves the accuracy and robustness of identifying complex and dangerous behaviors, reduces the risk of semantic illusion, and provides reliable support for construction safety management.
Smart Images

Figure CN123181806A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data intelligent analysis technology, and in particular to a method and system for identifying interior decoration workers based on scene graphs and large model reasoning. Background Technology
[0002] During interior decoration construction, the work space is relatively enclosed and the construction environment is complex. Workers frequently need to climb, work near edges, work at heights, and coordinate with scaffolding, ladders, guardrails, and other construction facilities, so construction safety risks are always present. Among these risks, dangerous behaviors such as workers not wearing safety protective equipment, illegally climbing scaffolding or ladders, leaning out of the protective range while working at heights, and climbing over edge protection facilities are important contributing factors to safety accidents such as falls and instability. Once an accident occurs, it can easily cause personal injury and significant economic losses.
[0003] With the development of computer vision and artificial intelligence technologies, some studies have attempted to use video surveillance data to automatically identify worker behavior at construction sites in order to assist in construction safety management. However, existing technologies mostly focus on methods based on object detection, action classification, or posture recognition, analyzing workers' appearance features or key point information to determine their behavior. These methods typically rely on single visual features or fixed threshold rules, making it difficult to accurately depict the complex spatial relationships, force relationships, and operational semantics between workers and construction facilities.
[0004] In addition, traditional scene graph generation methods are mostly based on building static relationships from single-frame images, focusing only on the geometric positional relationship between "people and objects" and ignoring key risk factors such as the temporal continuity of the operation process, changes in facility stability, and the relationship between human posture and support. This can easily lead to misjudgment or omission in complex interior decoration construction scenarios.
[0005] In recent years, large language models have demonstrated strong capabilities in knowledge understanding and reasoning. However, if the detection results are directly input into large language models, the lack of structured constraints can easily lead to reasoning jumps or semantic illusions, making it difficult to meet the reliability and interpretability requirements of the construction safety field.
[0006] Relevant patent documents retrieved: This document, published in China (CN116128847B) on October 3, 2025, discloses a method for spatial conflict detection and early warning in construction scenarios based on semantic networks. The method includes steps such as: acquiring construction scene images, extracting targets (engineering machinery, vehicles, and personnel) from the images, extracting hazardous source areas, and semantic reasoning. This invention enables dynamic monitoring of the spatial areas of various construction elements in a construction scene and provides early warnings of potential accidents. The identification targets are not limited to the identification of hazardous element features after an accident has occurred; by combining the identification results with natural human reasoning language, it avoids the problems of large errors and low accuracy associated with traditional pure machine vision detection methods.
[0007] However, the existing technologies represented by the aforementioned literature have at least the following unresolved technical problems or defects: they do not organically combine dynamic scene understanding with large language model reasoning, and cannot accurately identify complex and dangerous behaviors in interior decoration construction scenarios. Summary of the Invention
[0008] The purpose of this invention is to provide: A method and system for identifying interior decorators based on scene graphs and large-scale model reasoning, and related technologies, to solve technical problems such as the lack of organic integration of dynamic scene understanding and large-scale language model reasoning, and the inability to accurately identify complex and dangerous behaviors in interior decoration construction scenarios, or combinations thereof.
[0009] Terminology Explanation: Unless otherwise defined, all technical terms used herein have the same meanings as commonly understood by one of ordinary skill in the art to which the subject matter pertains. Unless otherwise stated, all patents, patent inventions, and publications cited throughout this document are incorporated herein by reference in their entirety. Where multiple definitions exist for terms in this document, the definitions provided in this chapter shall prevail.
[0010] It should be understood that the above brief description and the following detailed description are exemplary and for illustrative purposes only, and do not limit the subject matter of the invention in any way. In this invention, the singular is used in conjunction with the plural unless otherwise specifically stated. It should also be noted that, unless otherwise stated, the use of “or” or “or” means “and / or”. Furthermore, the use of the term “comprising” and other forms such as “including,” “containing,” and “contains” are not limiting.
[0011] The definitions of standard terms can be found in the reference "Implementation Guidelines for Hazard Identification and Risk Assessment at Construction Sites".
[0012] Unless otherwise stated, conventional methods within the scope of the art, such as event count analysis, shall be used.
[0013] Unless otherwise defined, the use of various commercially available products as described herein employs standard techniques. These techniques and methods can generally be implemented according to conventional methods well-known in the art, based on the descriptions in the numerous general and more specific documents cited and discussed in this specification.
[0014] The terms “optional / arbitrary” or “optionally / arbitrarily” mean that the event or situation described below may or may not occur, including both the occurrence and non-occurrence of the event or situation.
[0015] The term "scene graph" used in this invention refers to a tree-like hierarchical data structure for describing a scene. It organizes objects, attributes, and relationships within the scene using nodes and connections. The root node covers the entire scene, intermediate nodes can group and manage objects, and leaf nodes correspond to renderable entity elements. It can efficiently support the rendering, editing, and spatial logic expression of 2D / 3D scenes.
[0016] The term "large model" used in this invention refers to a deep learning model with a large number of parameters and complex computational structure. It relies on massive amounts of data for training to obtain emergent capabilities, can autonomously learn high-order feature rules, and can simultaneously adapt to multiple complex tasks such as natural language processing and computer vision. Its core characteristics are strong generalization and high expressive power. Typical examples include the GPT series of large language models.
[0017] In a first aspect, the present invention provides a method for identifying interior decorators based on scene graphs and large model reasoning.
[0018] Includes the following steps: S1. Construct a visual dataset and knowledge base for interior decoration construction; S2. Collect visual data on the interior decoration construction site process; S3. Based on the target detection model, the visual data collected in step S2 is processed to obtain the key entity detection results and human posture key point information. S4. Construct a dynamic scene graph that is adapted to risk semantics, and input the key entity detection results and human pose key point information obtained in step S3 into the dynamic scene graph to obtain key triplet relationships. S5. Using a large language model based on retrieval enhancement, perform semantic reasoning on the key triple relations obtained in step S4, compare the semantic reasoning results with the normative constraints in the knowledge base resources, and determine the violation and conflict situation. S6. Conduct result feedback, recording, and management.
[0019] The method for constructing the semantically adapted dynamic scene graph in step S4 is as follows: S411. Calculate the physical center of gravity of the worker by combining the key point information of human posture, extract the bottom contact area of the construction facility as the effective support surface, calculate the relative position relationship between the physical center of gravity of the worker and the effective support surface, and generate node attributes that represent the worker's state. S412. Analyze the interactive heat map of key points of the worker's hands and feet and the surface of the construction facility to determine whether the contact point and the surface of the construction facility have a core support relationship or a normal contact relationship.
[0020] In step S411, when the center of gravity projection is located inside the effective support surface and its normalized shortest distance d to the boundary of the effective support surface is greater than or equal to a preset threshold. When the node is in a safe state, the node attribute Stability is generated, indicating that the body is in a safe state. This occurs when the center of gravity projection is located inside the effective support surface and its normalized shortest distance d to the boundary of the effective support surface is greater than 0 and less than a preset threshold. When the center of gravity projection is outside the effective support surface, the node attribute Stability: Unstable is generated, indicating that the body is in an unstable state; when the center of gravity projection is outside the effective support surface, the node attribute Risk: Leaning-out is generated, indicating that the body is in a leaning state.
[0021] Among them, the key entity detection results and human posture key point information obtained in step S3 are input into the dynamic scene graph. The resulting key triplet relationships include, but are not limited to, worker-wearing-safety helmet, worker-standing on-scaffolding or ladder, worker-contacting-guardrail or edge protection facility, worker-climbing-scaffolding or ladder, and worker-climbing over-guardrail or edge protection facility.
[0022] In step S4, directed edges are constructed between the contact points of the core support relationship, and the load-bearing behavior of stepping on the pedal is modeled as a Supported-by relationship. When all facility nodes connected by Supported-by relationships and directed edges in the dynamic scene graph are determined to be in a shaking or moving state, they are marked as high-risk states at the scene graph level to provide early warning of potential instability risks.
[0023] Specifically, S5 includes the following steps: S51. Transform the key triplet relationships input into a structured natural language description, clearly stating the current worker's working height, posture, support facility status, and protective equipment wearing status, forming a unified scenario fact benchmark; S52. Based on the key entity and attribute information in the scenario fact benchmark, the matching safety specification clauses are retrieved from the pre-built construction safety knowledge base through the retrieval enhancement generation mechanism, and a mapping relationship between the operation facts and the specification constraints is established. S53. The large language model performs a logical consistency comparison between the scenario fact benchmark and the normative constraints to determine whether there are any violations or conflicts. S54. When a logical conflict is detected, the large language model infers the potential accident consequences based on the conflict type, outputs the corresponding dangerous behavior type and risk level, and provides the corresponding judgment basis.
[0024] Specifically, S1 includes the following steps: S11. At the interior decoration construction site, collect video data or image data to form visual data. The collected visual data shall at least cover the scaffolding / ladder working area, boundary area, material stacking area and passage area, and be able to reflect the continuous temporal changes of the worker's work process. S12. Clean the collected visual data, delete duplicate data, blurry data and irrelevant data, and manage the data by number to form a traceable data sample set, specifically numbered from smallest to largest according to the chronological order of the actions. S13. Label the cleaned visual data, label key entities such as workers, scaffolding, ladders, guardrails or edge protection facilities, safety helmets, etc., and simultaneously label at least some key points of the worker's head, shoulders, elbows, wrists, hips, knees, ankles, hands and feet with the coordinates and corresponding confidence information to form a target detection and posture recognition dataset. For key entities, a target detection pre-annotation algorithm is used to generate candidate bounding boxes. For human pose key points, a human pose skeleton extraction algorithm is used to generate candidate key points. Then, the candidate bounding box categories, candidate key point positions, and occlusion conditions are manually reviewed and corrected. S14. Construct an interior decoration construction safety knowledge base. The constructed construction safety knowledge base shall include at least safety standard clauses, operating procedures, and hazard cases or risk rules; and the knowledge content shall be structured and an index structure shall be established for subsequent retrieval and retrieval.
[0025] In step S3, the key entity detection results include entity category information and spatial location information of the entity. The spatial location information includes bounding box coordinates, center point coordinates, and other parameters representing the entity's location.
[0026] On the other hand, the present invention provides an indoor decoration worker identification system based on scene graphs and large model reasoning.
[0027] It includes a data acquisition module, a model building module, an object detection module, a scene graph construction module, a triplet extraction module, a knowledge base and retrieval module, a hazard identification module, and a result output and recording module; The data acquisition module is sequentially connected to the target detection module, the target detection module is connected to the scene graph construction module, the scene graph construction module is connected to the triple extraction module, and the triple extraction module is connected to the hazard discrimination module; the knowledge base and retrieval module provide external knowledge support for the hazard discrimination module; the result output and recording module is used to provide visual prompts and record management for the results of dangerous behavior identification. The data acquisition module is used to collect visual data; the model building module is used to build object detection models and dynamic scene graph models; the object detection module is used to identify key entity detection results and human posture key point information in the construction scene for identification; the triple extraction module is used to extract key triple relationships; the knowledge base and retrieval module is used to store knowledge base resources; the hazard discrimination module is used to judge violation conflict situations based on the large language model; and the result output and recording module is used to output and record violation conflict situations.
[0028] On the other hand, the present invention provides: an indoor decoration worker identification device based on scene graph and large model reasoning, including a data acquisition module, a processing and analysis module, a result output module and a data storage module; The data acquisition module includes a construction site camera and a power adapter. The construction site camera is deployed in the indoor decoration construction area and is connected to the processing and analysis module through a data transmission line. The processing and analysis module is a computer workstation used to uniformly process and analyze visual data collected by cameras at the construction site. The data storage module is connected to the computer workstation and is used to store visual data of the construction site, target detection and posture recognition model parameters, scene graph model parameters, construction safety knowledge base, as well as intermediate results and historical recognition records generated during the identification and reasoning of dangerous behaviors. The output module includes a display terminal connected to a computer workstation, which is used to display in real time the construction site video footage, key entity and human posture detection results, scene graph structured information, and worker dangerous behavior identification results and corresponding judgment criteria.
[0029] The present invention has at least the following beneficial effects: (1) By constructing a dynamic scene map of the indoor decoration construction site, this invention unifies the spatial relationship, semantic relationship and temporal evolution process between workers and construction facilities and safety protection equipment, so that workers' work behavior can be continuously expressed in the form of structured triples, avoiding the problem of insufficient scene understanding caused by relying only on single-frame target detection or isolated action recognition. (2) By integrating multimodal information such as target detection, key points of human posture and human-object interaction features, this invention enhances the ability to perceive small but high-risk operational behaviors such as body protrusion, protection failure, and unstable support, thereby improving the accuracy and robustness of dangerous behavior identification.
[0030] (3) This invention introduces a semantic reasoning mechanism based on a large language model of RAG and adopts a hierarchical guided thinking chain to constrain the reasoning process, so that the judgment of dangerous behavior can be combined with the construction safety specifications to make an interpretable comprehensive judgment, reduce the risk of semantic illusion, improve the intelligence level and adaptability of dangerous behavior recognition, and provide reliable technical support for the safety management of indoor decoration construction sites. Attached Figure Description
[0031] Figure 1 This is a flowchart of the method of the present invention.
[0032] Figure 2 This is a schematic diagram of the modules of the system of the present invention.
[0033] Figure 3 This is a schematic diagram of the structure of the device of the present invention. Detailed Implementation
[0034] The following non-limiting embodiments are intended to enable those skilled in the art to gain a more comprehensive understanding of the present invention, but do not limit the invention in any way. The following content is merely an exemplary description of the scope of protection claimed by the present invention, and those skilled in the art can make various changes and modifications to the present invention based on the disclosed content, and such changes should also fall within the scope of protection claimed by the present invention.
[0035] The present invention will be further described below by way of specific embodiments. Unless otherwise specified, all instruments, devices, equipment, reagents, products, etc., used in the embodiments of the present invention are obtained through conventional commercial means.
[0036] Example 1 like Figure 1 As shown, this embodiment provides a method for identifying interior decorators based on scene graphs and large model inference, including the following steps: S1. Construct a visual dataset and knowledge base for interior decoration construction, which includes the following steps: S11. At the interior decoration construction site, collect video or image data covering typical work processes to form visual data. The collected visual data should at least cover typical spatial locations such as scaffolding / ladder working areas, boundary areas, material stacking areas, and passage areas, and be able to reflect the continuous temporal changes of the workers' work process.
[0037] S12. Clean the collected visual data, delete duplicate data, blurry data and irrelevant data, and manage the data by number to form a traceable data sample set, specifically numbered from smallest to largest according to the chronological order of the actions.
[0038] S13. Annotate the cleaned visual data, labeling key entities such as workers, scaffolding, ladders, guardrails or edge protection facilities, and safety helmets. Simultaneously label at least some key points and their corresponding confidence information for the worker's head, shoulders, elbows, wrists, hips, knees, ankles, hands, and feet, forming an object detection and pose recognition dataset. For key entity annotation, an object detection pre-annotation algorithm is used to generate candidate bounding boxes. For human pose key point annotation, a human pose skeleton extraction algorithm is used to generate candidate key points. Then, the candidate bounding box categories, candidate key point positions, and occlusion conditions are manually reviewed and corrected.
[0039] S14. Construct an interior decoration construction safety knowledge base. The constructed construction safety knowledge base shall include at least safety standard clauses, work procedures, hazard cases or risk rules; and organize the knowledge content in a structured manner, and establish an index structure of "process - facility - risk type - disposal suggestion" for subsequent retrieval and retrieval.
[0040] S2. Collect visual data of the interior decoration construction site operation process and transmit it to the processing unit; the data acquisition module collects image or video data of the interior decoration construction site operation process in real time to form a visual data stream; transmit the visual data stream to the computing processing unit for subsequent analysis and processing; in an optional implementation, the data can be timestamped and cached to meet the requirements of continuous analysis and event tracking.
[0041] S3. Based on the object detection model, obtain the key entity detection results of the construction scene; specifically, input the visual data obtained in step S2 into the object detection model for inference, and output the key entity detection results and human posture key point information. The key entity detection results include at least entity category information and spatial location information of the entity; the spatial location information includes one of the following: bounding box coordinates, center point coordinates, or other parameters that can characterize the entity's position. The key entity detection results are structured and encapsulated as standardized input for subsequent scene graph construction.
[0042] S4. Construct a dynamic scene graph adapted to risk semantics, and input the key entity detection results and human posture key point information obtained in step S3 into the dynamic scene graph to obtain key triplet relationships. Traditional scene graph generation methods usually only focus on the spatial positional relationships between entities, making it difficult to directly represent high-risk semantics such as instability and insufficient support in building construction scenes. Therefore, the dynamic scene graph adapted to risk semantics in this invention introduces physical stability and spatial support semantics, specifically including the following steps: S41. Construct a dynamic scene graph adapted to risk semantics, including calculating geometric stability attributes (Physics-aware Attribute Generation) and modeling supporting dependencies. Specifically, this includes the following steps: S411. During the construction of the dynamic scene graph, the model not only extracts the worker's visual features but also calculates the worker's physical center of mass by combining key point information of human posture, and extracts the bottom contact area of construction facilities such as scaffolding and ladders as the effective support surface. By calculating the relative positional relationship between the projection point of the worker's center of mass on the horizontal plane and the effective support surface, node attributes representing the worker's stable state are generated. (1) When the center of gravity projection is located inside the effective support surface and its normalized shortest distance d to the boundary of the effective support surface is greater than or equal to the preset threshold. When this happens, the node attribute Stability: Stable is generated, indicating that the body is in a safe state.
[0043] (2) When the center of gravity projection is located inside the effective support surface and its normalized shortest distance d to the boundary of the effective support surface is greater than 0 and less than the preset threshold. When this occurs, the node is generated with the attribute Stability: Unstable, indicating that the body is in an unstable state.
[0044] (3) When the center of gravity projection is located outside the effective support surface, generate the node attribute Risk: Leaning-out, indicating that the body is in a leaning state.
[0045] Preset threshold The preferred value is 0.05-0.20. The calculation method for d is: take the ratio of the shortest distance from the centroid projection point to the effective support surface to the characteristic scale of the effective support surface to obtain d.
[0046] S412. Perform Support-Dependency Modeling. In the entity relationship modeling stage, the model distinguishes between ordinary contact relationships and core support relationships. Specifically, by analyzing the interaction heatmaps of key points on the worker's hands and feet and the surface of the construction facility, it is determined whether the contact point plays a major supporting role. When the corresponding cell shows a highly saturated warm color and the correlation coefficient value is close to 1, it indicates that the contact point and the surface of the construction facility have a core support relationship; otherwise, it indicates that the contact point and the surface of the construction facility have an ordinary contact relationship.
[0047] S42. Input the key entity detection results and human posture key point information obtained in step S3 into the dynamic scene graph to obtain key triplet relationships. Key triplet relationships include, but are not limited to: worker-wearing-safety helmet, worker-standing on-scaffolding or ladder, worker-contacting-guardrail or edge protection facility, worker-climbing-scaffolding or ladder, worker-climbing over-guardrail or edge protection facility.
[0048] Directed relationship edges are constructed between the contact points of the core support relationship. At the same time, behaviors such as holding onto railings with one's hands are modeled as Hold relationships, and load-bearing behaviors such as stepping on pedals are modeled as Supported-by relationships. When all facility nodes connected by Supported-by relationships and directed relationship edges in the dynamic scene graph are determined to be in a shaking or moving state, they are directly marked as high-risk states at the scene graph level to provide early warning of potential instability risks.
[0049] The three-part relationship is defined as follows: **Worker - Wearing - Safety Helmet:** This is determined by whether a safety helmet exists in the critical entity and whether the spatial location information of the safety helmet matches the key coordinates of the worker's head. If a safety helmet exists in the critical entity and its spatial location information matches the key coordinates of the worker's head, the three-part relationship exists; otherwise, it does not exist. **Worker - Standing on - Scaffolding or Ladder:** This is determined by whether the generated node attribute `Stability: Stable` exists and whether the worker's foot key point has a core contact relationship with the scaffolding or ladder. If the generated node attribute `Stability: Stable` exists and the worker's foot key point has a core contact relationship with the scaffolding or ladder, the three-part relationship exists; otherwise, it does not exist. **Worker - Contacting - Guardrail or Edge Protection:** This is determined by whether the generated node attribute `Stability: Stable` exists and whether the worker's hand key point has a core contact relationship with the scaffolding or ladder. If the generated node attribute `Stability: Stable` exists and the worker's hand key point has a core contact relationship with the scaffolding or ladder, the three-part relationship exists; otherwise, it does not exist. The worker-climbing-scaffolding or ladder triplet relationship is determined by checking if the node attribute `Stability: Unstable` exists and whether both the worker's hand and foot keypoints are in core contact with the scaffolding or ladder. If the `Stability: Unstable` node exists and both the worker's hand and foot keypoints are in core contact with the scaffolding or ladder, the triplet relationship exists; otherwise, it does not. Similarly, the worker-climbing-railway or edge protection triplet relationship is determined by checking if the node attribute `Risk: Leaning-out` exists and whether the worker's hand keypoints are in core contact with the scaffolding or ladder. If the `Risk: Leaning-out` node exists and both the worker's hand and foot keypoints are in core contact with the scaffolding or ladder, the triplet relationship exists; otherwise, it does not.
[0050] S5. Based on the semantic reasoning of the large language model based on retrieval enhancement (RAG), dangerous behavior is identified on the key triple relations obtained in step S4. To construct the large language model based on retrieval enhancement, and to avoid illusions or logical jumps during the reasoning process, this invention designs a four-stage structured thought chain reasoning mechanism that forces the model to identify dangerous behaviors according to the investigation logic of a construction safety engineer. The specific steps are as follows: S51. Transform the key triplet relationships input into a structured natural language description, clearly stating the current worker's working height, posture, support facility status, and protective equipment wearing status, forming a unified scenario fact benchmark.
[0051] S52. Based on the key entity and attribute information in the scenario fact benchmark, the matching safety specification clauses are retrieved from the pre-built construction safety knowledge base through the retrieval enhancement generation mechanism, and a mapping relationship between the operation facts and the specification constraints is established.
[0052] S53. The large language model performs a logical consistency comparison between the scenario fact benchmark and the normative constraints to determine whether there are any violations or conflicts, such as situations where the protective measures required by the norm are inconsistent with the actual situation on site.
[0053] S54. When a logical conflict is detected, the large language model infers the potential accident consequences based on the conflict type, outputs the corresponding dangerous behavior type and risk level, and provides the corresponding judgment basis.
[0054] S6. Results Feedback, Recording and Management: Output the results of hazardous behavior identification to the management terminal for decision support in construction site safety management; push hazard warning information when the hazard identification results meet the preset trigger conditions to assist managers in timely intervention; record and archive identified events, including timestamps, hazard types, associated triples and key points, for subsequent safety reviews and model optimization.
[0055] Example 2 like Figure 2 As shown, this embodiment provides an indoor renovation worker identification system based on scene graphs and large model reasoning, including a data acquisition module, a model building module, a target detection module, a scene graph construction module, a triplet extraction module, a knowledge base and retrieval module, a hazard discrimination module, and a result output and recording module. The data acquisition module and the target detection module are sequentially connected; the target detection module is connected to the scene graph construction module; the scene graph construction module is connected to the triplet extraction module; and the triplet extraction module is connected to the hazard discrimination module. The knowledge base and retrieval module provides external knowledge support for the hazard discrimination module. The result output and recording module is used to provide visual prompts and record management for the hazard behavior identification results. All of the above modules together constitute the core processing system for identifying hazard behaviors during indoor renovation construction.
[0056] The data acquisition module is used to collect video or image data during the interior decoration construction process. The acquisition equipment can be a fixed camera, a mobile camera, or other imaging device. The deployment location can cover the main work areas in the interior decoration construction, including but not limited to stairwells, edge areas, the area around scaffolding or escalators, and material stacking areas, to ensure continuous observation of workers' work behavior and their interaction with construction facilities and protective equipment.
[0057] The model building module is used to construct and configure the target detection model and the dynamic scene graph model before system implementation. The target detection model is used to identify key entities and human posture key points in the construction scene; the dynamic scene graph model is used to construct a spatiotemporal structured representation of "human-object-relationship" with risk semantic adaptation capabilities based on the key entity detection results, human posture information, and time-series correlation information. This model building process can be completed in an offline environment, and the model parameters obtained can be used for online deployment and invocation.
[0058] The target detection module performs key entity detection and human posture recognition on the collected visual data from the construction site. It outputs category and spatial location information for key entities such as workers, work facilities, and safety equipment, and simultaneously outputs key points of human posture, such as the worker's head, hands, and feet, to depict the fine-grained interaction between workers and construction facilities and protective equipment. Key entities can include at least: workers, scaffolding, ladders, guardrails or edge protection facilities, safety helmets, etc.; and can be expanded to include safety ropes, tools, materials, and opening protection according to the needs of interior decoration construction.
[0059] The scene graph construction module is used to input the key entity detection results output by the target detection module, human posture information, and entity features of adjacent time frames into the scene graph model. By introducing a spatiotemporal Transformer structure and trajectory association mechanism, it performs cross-time modeling of entity nodes and their semantic relationships to construct a dynamic scene graph representation. Among them, the dynamic scene graph introduces a risk semantic adaptation mechanism during the construction process, specifically including: calculating the projection of the worker's center of gravity based on the key points of human posture, and calculating the relative positional relationship of "center of gravity-support" in combination with the support area of the construction facility to characterize the risk of body instability or leaning; based on the contact analysis of the key points of the hands and feet with the surface of the facility, distinguishing between load-bearing support relationship and auxiliary contact relationship, and generating directed relationship edges of "supported by" or "dependent on" in the scene graph; updating the stability state attributes of the construction facility nodes through temporal modeling to characterize the stability changes of scaffolding or ladders during operation, thereby enhancing the ability of the scene graph to express high-risk states.
[0060] The triple extraction module is used to extract key triple relationships closely related to work safety from dynamic scene graphs, compressing the structured relationships in the scene graphs into semantic input units that facilitate reasoning. These key triple relationships may include, but are not limited to: worker—wearing—safety helmet, worker—standing on—scaffolding or ladder, worker—in contact with—guardrail or edge protection facilities, worker—climbing—scaffolding or ladder, worker—climbing over—guardrail or edge protection facilities, etc.
[0061] The knowledge base and retrieval module store knowledge information such as safety specifications, operating procedures, hazardous cases, and risk rules for interior decoration construction. Based on the semantic input of triples, a retrieval enhancement mechanism retrieves relevant clauses or rules, forming external knowledge evidence for reasoning. The knowledge base can be organized in a "process—facility—risk type—control measures" manner to improve retrieval consistency and reasoning reliability.
[0062] The hazard identification module is based on a large language model, which integrates triple relationships, temporal context information, and retrieved safety knowledge evidence to achieve semantic understanding and inference judgment of workers' current work behavior. The large language model adopts a structured guided thinking chain reasoning mechanism to sequentially complete scenario fact restatement, regulatory clause matching, violation logic verification, and risk qualitative analysis, outputting the type of hazardous behavior and simultaneously outputting the judgment basis, such as related regulatory points or rule hit information, to enhance the interpretability and auditability of the hazard identification results.
[0063] The results output and recording module is used to output, display, record, and manage the results of hazardous behavior identification. Output formats may include, but are not limited to: displaying the type of hazardous behavior and its key criteria on the management terminal; recording the timestamps and on-site traces of identified events; and pushing notification messages when preset trigger conditions are met to assist safety management personnel in taking timely intervention measures.
[0064] Before system implementation, a target detection training set, a human pose dataset, and a scene relationship annotation or weak annotation set can be established for the interior decoration construction scenario. Parameter training or adaptation of the target detection model and the dynamic scene graph model should also be completed. During implementation, the acquisition device collects visual information from the construction site, sequentially completing target detection, dynamic scene graph construction, and key triple extraction. The triples are then input into the large language model inference module. The inference module combines retrieved safety regulations and rule evidence to determine the level of danger, ultimately outputting and recording the dangerous behavior identification results. Through this approach, this embodiment can achieve more robust and interpretable dangerous behavior identification in the multi-element coupled "action-environment-protection" interior decoration construction scenario.
[0065] Example 3 like Figure 3 As shown, this embodiment provides a device for identifying hazardous behaviors of indoor decoration construction workers based on scene graphs and large language model reasoning. It includes a data acquisition module, a processing and analysis module, a result output module, and a data storage module. The data acquisition module, processing and analysis module, and result output module together constitute the core control system for hazardous behavior identification.
[0066] The data acquisition module includes a construction site camera 1 and a power adapter 2. The construction site camera 1 is deployed in the indoor decoration construction area, and its field of view covers the location of key construction facilities such as the worker's work area, scaffolding, ladders, guardrails or edge protection facilities, and is used to collect video or image data during the construction site operation. The construction site camera 1 is connected to the processing and analysis module through the data transmission line 4 to realize the real-time transmission of visual data of the construction site.
[0067] The processing and analysis module is computer workstation 5, used for unified processing and analysis of visual data collected by cameras at the construction site. This workstation 5 integrates a target detection and human posture recognition model, a scene graph construction model, and a hazardous behavior reasoning module based on a large language model. It performs processes such as key entity detection, human key point recognition, scene graph construction, key triplet relation extraction, and retrieval-enhanced semantic reasoning based on a large language model, thereby achieving intelligent identification of hazardous behaviors of interior decoration construction workers.
[0068] The data storage module 7 is connected to the computer workstation 5 and is used to store visual data of the construction site, target detection and posture recognition model parameters, scene graph model parameters, construction safety knowledge base, and intermediate results and historical recognition records generated during the identification and reasoning of dangerous behaviors, so as to support subsequent result traceability, analysis and model optimization.
[0069] The output module includes a display terminal 6, which is connected to a computer workstation 5. It is used to display real-time video footage of the construction site, detection results of key entities and human postures, structured information of the scene diagram, and identification results of workers' dangerous behaviors and corresponding judgment criteria, so as to facilitate construction management personnel to conduct safety monitoring, risk assessment and decision support.
[0070] In this embodiment, the construction site camera 1, power adapter 2, data transmission line 4, computer workstation 5, data storage module 7, and display terminal 6 work together to achieve continuous perception, intelligent analysis, and result output of dangerous behaviors of indoor decoration construction workers.
[0071] Finally, it should be noted that the above content is only used to illustrate the technical solution of the present invention, and is not intended to limit the scope of protection of the present invention. Simple modifications or equivalent substitutions made by those skilled in the art to the technical solution of the present invention do not depart from the essence and scope of the technical solution of the present invention.
Claims
1. A method for identifying interior decorators based on scene graphs and large model reasoning, characterized in that, Includes the following steps: S1. Construct a visual dataset and knowledge base for interior decoration construction; S2. Collect visual data on the interior decoration construction site process; S3. Based on the target detection model, the visual data collected in step S2 is processed to obtain the key entity detection results and human posture key point information. S4. Construct a dynamic scene graph that is adapted to risk semantics, and input the key entity detection results and human pose key point information obtained in step S3 into the dynamic scene graph to obtain key triplet relationships. S5. Using a large language model based on retrieval enhancement, perform semantic reasoning on the key triple relations obtained in step S4, compare the semantic reasoning results with the normative constraints in the knowledge base resources, and determine the violation and conflict situation. S6. Conduct result feedback, recording, and management.
2. The method for identifying interior decorators based on scene graphs and large model reasoning according to claim 1, characterized in that, The method for constructing the semantically adapted dynamic scene graph in step S4 is as follows: S411. Calculate the physical center of gravity of the worker by combining the key point information of human posture, extract the bottom contact area of the construction facility as the effective support surface, calculate the relative position relationship between the physical center of gravity of the worker and the effective support surface, and generate node attributes that represent the worker's state. S412. Analyze the interactive heat map of key points of the worker's hands and feet and the surface of the construction facility to determine whether the contact point and the surface of the construction facility have a core support relationship or a normal contact relationship.
3. The method for identifying interior decorators based on scene graphs and large model reasoning according to claim 2, characterized in that, In step S411, when the center of gravity projection is located inside the effective support surface and its normalized shortest distance d to the boundary of the effective support surface is greater than or equal to a preset threshold. When the node is in a safe state, the node attribute Stability is generated, indicating that the body is in a safe state. This occurs when the center of gravity projection is located inside the effective support surface and its normalized shortest distance d to the boundary of the effective support surface is greater than 0 and less than a preset threshold. When the center of gravity projection is outside the effective support surface, the node attribute Stability: Unstable is generated, indicating that the body is in an unstable state; when the center of gravity projection is outside the effective support surface, the node attribute Risk: Leaning-out is generated, indicating that the body is in a leaning state.
4. The method for identifying interior decorators based on scene graphs and large model reasoning according to claim 3, characterized in that, The key entity detection results and human posture key point information obtained in step S3 are input into the dynamic scene graph. The resulting key triplet relationships include, but are not limited to, worker-wearing-safety helmet, worker-standing on-scaffolding or ladder, worker-contacting-guardrail or edge protection facility, worker-climbing-scaffolding or ladder, and worker-climbing over-guardrail or edge protection facility.
5. The method for identifying interior decorators based on scene graphs and large model reasoning according to claim 3, characterized in that, In step S4, directed relationship edges are constructed between the contact points of the core support relationship, and the weight-bearing behavior of the foot stepping on the pedal is modeled as a Supported-by relationship. When all facility nodes connected by Supported-by relationships and directed relationships in the dynamic scene graph are determined to be in a shaking or moving state, they are marked as high-risk states at the scene graph level to provide early warning of potential instability risks.
6. The method for identifying interior decorators based on scene graphs and large model reasoning according to claim 1, characterized in that, S5 specifically includes the following steps: S51. Transform the key triplet relationships input into a structured natural language description, clearly stating the current worker's working height, posture, support facility status, and protective equipment wearing status, forming a unified scenario fact benchmark; S52. Based on the key entity and attribute information in the scenario fact benchmark, the matching safety specification clauses are retrieved from the pre-built construction safety knowledge base through the retrieval enhancement generation mechanism, and a mapping relationship between the operation facts and the specification constraints is established. S53. The large language model performs a logical consistency comparison between the scenario fact benchmark and the normative constraints to determine whether there are any violations or conflicts. S54. When a logical conflict is detected, the large language model infers the potential accident consequences based on the conflict type, outputs the corresponding dangerous behavior type and risk level, and provides the corresponding judgment basis.
7. The method for identifying interior decorators based on scene graphs and large model reasoning according to claim 1, characterized in that, S1 specifically includes the following steps: S11. At the interior decoration construction site, collect video data or image data to form visual data. The collected visual data shall at least cover the scaffolding / ladder working area, boundary area, material stacking area and passage area, and be able to reflect the continuous temporal changes of the worker's work process. S12. Clean the collected visual data, delete duplicate data, blurry data and irrelevant data, and manage the data by number to form a traceable data sample set, specifically numbered from smallest to largest according to the chronological order of the actions. S13. Label the cleaned visual data, label key entities such as workers, scaffolding, ladders, guardrails or edge protection facilities, safety helmets, etc., and simultaneously label at least some key points of the worker's head, shoulders, elbows, wrists, hips, knees, ankles, hands and feet with the coordinates and corresponding confidence information to form a target detection and posture recognition dataset. For key entities, a target detection pre-annotation algorithm is used to generate candidate bounding boxes. For human pose key points, a human pose skeleton extraction algorithm is used to generate candidate key points. Then, the candidate bounding box categories, candidate key point positions, and occlusion conditions are manually reviewed and corrected. S14. Construct an interior decoration construction safety knowledge base. The constructed construction safety knowledge base shall include at least safety standard clauses, operating procedures, and hazard cases or risk rules; and the knowledge content shall be structured and an index structure shall be established for subsequent retrieval and retrieval.
8. The method for identifying interior decorators based on scene graphs and large model reasoning according to claim 1, characterized in that, In step S3, the key entity detection results include entity category information and the entity's spatial location information, which includes bounding box coordinates, center point coordinates, and other parameters characterizing the entity's location.
9. An indoor renovation worker identification system based on scene graphs and large model reasoning, characterized in that, The indoor renovation worker identification method based on scene graph and large model reasoning according to any one of claims 1-8 includes a data acquisition module, a model building module, a target detection module, a scene graph building module, a triplet extraction module, a knowledge base and retrieval module, a hazard discrimination module, and a result output and recording module; The data acquisition module is sequentially connected to the target detection module, the target detection module is connected to the scene graph construction module, the scene graph construction module is connected to the triple extraction module, and the triple extraction module is connected to the hazard discrimination module; the knowledge base and retrieval module provide external knowledge support for the hazard discrimination module; the result output and recording module is used to provide visual prompts and record management for the results of dangerous behavior identification. The data acquisition module is used to collect visual data; the model building module is used to build object detection models and dynamic scene graph models; the object detection module is used to identify key entity detection results and human posture key point information in the construction scene for identification; the triple extraction module is used to extract key triple relationships; the knowledge base and retrieval module is used to store knowledge base resources; the hazard discrimination module is used to judge violation conflict situations based on the large language model; and the result output and recording module is used to output and record violation conflict situations.
10. An indoor renovation worker identification device based on scene graph and large model reasoning, characterized in that, It includes a data acquisition module, a processing and analysis module, a result output module, and a data storage module; The data acquisition module includes a construction site camera and a power adapter. The construction site camera is deployed in the indoor decoration construction area and is connected to the processing and analysis module through a data transmission line. The processing and analysis module is a computer workstation used to uniformly process and analyze visual data collected by cameras at the construction site. The data storage module is connected to the computer workstation and is used to store visual data of the construction site, target detection and posture recognition model parameters, scene graph model parameters, construction safety knowledge base, as well as intermediate results and historical recognition records generated during the identification and reasoning of dangerous behaviors. The output module includes a display terminal connected to a computer workstation, which is used to display in real time the construction site video footage, key entity and human posture detection results, scene graph structured information, and worker dangerous behavior identification results and corresponding judgment criteria.
Citation Information
Patent Citations
A method for spatial conflict detection and early warning in construction scenes based on semantic networks
CN116128847B
