Method, apparatus, device, and program product for evaluating job conformance
By acquiring image data of workers operating during the liquor brewing process, determining the motion sequence of key limb points and extracting multimodal features, and using a hybrid expert network to evaluate the standardization of work movements, the problems of non-standard operation and muscle injury in traditional methods are solved, achieving accurate motion assessment and risk prevention.
Patent Information
- Application Number
- CN202611205257.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-10
- Publication Date
- 2026-11-20
AI Technical Summary
In the traditional solid-state fermentation process of baijiu, the operation process relies heavily on the personal experience and subjective judgment of craftsmen, lacking scientific evaluation standards. This leads to non-standard operation and the risk of muscle and joint damage. Existing sensor evaluation methods affect the smoothness of the operation.
By acquiring a set of images of the object to be evaluated, the motion sequence of key limb points is determined, multimodal features are extracted and fused, and global features are obtained by using a hybrid expert network to evaluate the standardization of the operation.
It enables accurate and standardized assessment of operators' movements, enhances the ability to depict and express complex movements, and reduces the risk of muscle and joint injuries.
Smart Images

Figure CN123142301A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image processing technology, and in particular to a method, apparatus, device, and program product for evaluating the standardization of work. Background Technology
[0002] In the traditional solid-state fermentation process of baijiu (Chinese liquor), core techniques such as "loading the still" and "using the shovel" heavily rely on the craftsman's personal experience and subjective judgment, with the essence of these skills often passed down orally. However, this method of transmission and understanding of operational points through oral formulas lacks scientific evaluation standards, making it difficult to guarantee the standardization and consistency of craftsmen's operations. Furthermore, improper application of force can lead to the risk of muscle and joint injuries for the craftsmen. While related technologies use sensors worn on the craftsmen's limbs for evaluation, this often affects the smoothness and naturalness of their movements. Therefore, there is an urgent need for a method that can accurately assess the standardization of workers' movements. Summary of the Invention
[0003] Therefore, it is necessary to provide a method, apparatus, equipment, and procedure for assessing the standardization of operations in response to the aforementioned technical problems.
[0004] In a first aspect, embodiments of this application provide a method for evaluating the standardization of work procedures, including: Obtain the set of images of the object to be evaluated; For the acquired image set, determine the motion sequence of the limb key points of the object to be evaluated; wherein, the two-dimensional key point frames in the motion sequence correspond to the work actions of the object to be evaluated; Based on the motion sequence, multimodal features of the task actions of the object to be evaluated are extracted and fused to obtain target fusion features; the multimodal features include the spatiotemporal features and / or kinematic features of the limb key points; The target fusion features are processed by a pre-defined hybrid expert network to obtain the global features of the operation action; Based on the global features, the action standard information of the object to be evaluated is determined; wherein, the action standard information includes the standardization score of the work action.
[0005] In some embodiments, the step of extracting multimodal features of the pose of the object to be evaluated based on the motion sequence and fusing them to obtain target fusion features includes: Based on the positional information of the limb key points in the two-dimensional key point frame, the spatiotemporal and kinematic characteristics of the limb key points of the object to be evaluated at the acquisition time are determined, and the work action index of the object to be evaluated is determined; the two-dimensional key point frame corresponds to the acquisition time, and the work action index characterizes the action parameters of the object to be evaluated at multiple consecutive acquisition times, and / or the statistical data of the action parameters. The operation action characteristics of the operation action index are determined; then the operation action characteristics, the spatiotemporal characteristics, and the kinematic characteristics constitute the multimodal characteristics; Based on the attention mechanism, the multimodal features are fused to obtain the target fused features.
[0006] In some embodiments, the attention mechanism includes a self-attention mechanism and a cross-modal attention mechanism; The process of fusing the multimodal features based on an attention mechanism to obtain the target fusion feature includes: Based on the self-attention mechanism, feature enhancement is performed on the multimodal features to obtain modality-enhanced features; the modality-enhanced features include task action enhancement features, spatiotemporal enhancement features, and kinematic enhancement features; Using the spatiotemporal enhancement feature as the guiding modal feature, the first cross-modal feature between the spatiotemporal enhancement feature and the operation motion enhancement feature, the second cross-modal feature between the spatiotemporal enhancement feature and the kinematic enhancement feature, and the third cross-modal feature between the operation motion enhancement feature and the kinematic enhancement feature are determined; The target fused feature is obtained by fusing the first cross-modal feature, the second cross-modal feature, and the third cross-modal feature.
[0007] In some embodiments, determining the work action indicators of the object to be evaluated includes: Obtain the parameters to be confirmed corresponding to the standard operation; wherein, the parameters to be confirmed include at least one of the following: limb movement parameters, tool and material movement parameters that move with the operation of the object to be evaluated, and material distribution on the ground; The two-dimensional keypoint frames are processed by a preset time segment to obtain the operation action index corresponding to the parameter to be confirmed.
[0008] In some embodiments, the step of processing the fused features through a preset hybrid expert network to obtain the global features of the job action includes: In the hybrid expert network, real-time weights are generated for the expert subnetworks through a pre-built gating network; the hybrid expert network includes the gating network and multiple expert subnetworks. The target fusion features are processed by the expert sub-network to obtain expert features; Based on the real-time weights, the expert features are weighted and fused to obtain the global features.
[0009] In some embodiments, determining the action specification information of the object to be evaluated based on the global features includes: The global features are input into a preset multilayer perceptron; the preset multilayer perceptron includes a first mapping head; In the preset multilayer perceptron, the global features are processed by the first mapping head to obtain the normative score.
[0010] In some embodiments, the preset multilayer perceptron further includes a classification head, which includes sequentially connected multiple linear layers and a softmax activation function; The process of determining the action specification information of the object to be evaluated based on the global features includes: The risk type is generated through the second mapping head; then the risk type and the normative score constitute the action normative information.
[0011] Secondly, embodiments of this application provide an apparatus for evaluating the standardization of work procedures, comprising: The acquisition unit is used to acquire a set of images of the object to be evaluated. A sequence unit is used to determine the motion sequence of the limb key points of the object to be evaluated for the acquired image set; wherein, the two-dimensional key point frames in the motion sequence correspond to the work actions of the object to be evaluated; A modal unit is used to extract multimodal features of the task actions of the object to be evaluated based on the motion sequence, and fuse them to obtain target fusion features; the multimodal features include the spatiotemporal features and / or kinematic features of the limb key points; An expert unit is used to process the target fusion features through a preset hybrid expert network to obtain the global features of the operation action; An evaluation unit is used to determine the action specification information of the object to be evaluated based on the global features; wherein the action specification information includes the standardization score of the operation action.
[0012] In some embodiments, the modal unit is specifically used to determine the spatiotemporal and kinematic features of the limb keypoints of the object to be evaluated at the acquisition time based on the positional information of the limb keypoints in the two-dimensional keypoint frame, and to determine the operational action index of the object to be evaluated; the two-dimensional keypoint frame corresponds to the acquisition time, and the operational action index characterizes the action parameters of the object to be evaluated at multiple consecutive acquisition times, and / or the statistical data of the action parameters; the operational action features of the operational action index are determined; then the operational action features, the spatiotemporal features, and the kinematic features constitute the multimodal features; based on an attention mechanism, the multimodal features are fused to obtain the target fusion features.
[0013] In some embodiments, the attention mechanism includes a self-attention mechanism and a cross-modal attention mechanism; the modal unit is further configured to perform feature enhancement on the multimodal features based on the self-attention mechanism to obtain modal enhancement features; the modal enhancement features include task action enhancement features, spatiotemporal enhancement features, and kinematic enhancement features; using the spatiotemporal enhancement features as guiding modal features, a first cross-modal feature between the spatiotemporal enhancement features and the task action enhancement features, a second cross-modal feature between the spatiotemporal enhancement features and the kinematic enhancement features, and a third cross-modal feature between the task action enhancement features and the kinematic enhancement features are determined; the first cross-modal feature, the second cross-modal feature, and the third cross-modal feature are fused to obtain the target fusion feature.
[0014] In some embodiments, the modal unit is further configured to acquire parameters to be confirmed corresponding to standard operations; wherein, the parameters to be confirmed include at least one of the following: limb motion parameters, motion parameters of tools and materials moving with the work actions of the object to be evaluated, and parameters to be confirmed regarding the distribution of materials on the ground; the two-dimensional keypoint frames are processed by a preset time segment to obtain the work action index corresponding to the parameters to be confirmed.
[0015] In some embodiments, the expert unit is specifically used in the hybrid expert network to generate real-time weights for expert subnetworks through a pre-built gating network; the hybrid expert network includes the gating network and multiple expert subnetworks; the target fusion features are processed through the expert subnetworks to obtain expert features; and the expert features are weighted and fused based on the real-time weights to obtain the global features.
[0016] In some embodiments, the evaluation unit is specifically used to input the global features into a preset multilayer perceptron; the preset multilayer perceptron includes a first mapping head; in the preset multilayer perceptron, the global features are processed through the first mapping head to obtain the normalization score.
[0017] In some embodiments, the preset multilayer perceptron further includes a second mapping head, which includes sequentially connected multilayer linear layers and a softmax activation function; the evaluation unit is also used to generate a risk type through the second mapping head; then the risk type and the normative score constitute the action normative information.
[0018] Thirdly, embodiments of this application also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and used to run on the processor, wherein the processor executes the computer program to implement the methods described in the first aspect and any of the embodiments thereof.
[0019] Fourthly, embodiments of this application also provide a computer program product, including a computer program that, when executed by a processor, implements the methods described in the first aspect and any of its embodiments.
[0020] In the method for evaluating the standardization of work operations provided in this application embodiment, the motion sequence of the limb key points of the object to be evaluated in the acquired image is determined, multimodal features corresponding to the limb key points are extracted, and after the multimodal features are fused, a hybrid expert network is used to adaptively select matching expert subnetworks for feature processing of different actions of the object to be evaluated at the same process node or different actions at different process nodes. This effectively enhances the ability to characterize and express complex actions, thereby accurately evaluating the standardization of the work actions of the object to be evaluated through global features.
[0021] Other features and advantages of the invention will be set forth in the following description and will be apparent in part from the description or may be learned by practicing the application. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not intended to limit this disclosure. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0023] Figure 1 This is a flowchart illustrating a method for evaluating work standardization in one embodiment; Figure 2This is a flowchart illustrating a method for determining target fusion features in one embodiment; Figure 3 This is a structural block diagram of a device for evaluating work compliance in one embodiment; Figure 4 This is a diagram of the internal structure of an electronic device in one embodiment. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0025] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the document does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0026] As illustrated herein, unless the context clearly indicates otherwise, the words “a,” “an,” “an,” and / or “the” do not specifically refer to the singular and may also include the plural. Generally speaking, the terms “comprising” and “including” only indicate the inclusion of explicitly identified steps and elements, which do not constitute an exclusive list, and the method or apparatus may also include other steps or elements.
[0027] The definitions used herein, such as the terms “having,” “may have,” “comprising,” or “may include,” indicate the presence of the corresponding function, operation, element, etc., and do not limit the presence of one or more other functions, operations, elements, etc. Furthermore, it should be understood that the terms “comprising” or “having” as used herein indicate the presence of the features, figures, steps, operations, elements, components, or combinations thereof described in the specification, without excluding the presence or addition of one or more other features, figures, steps, operations, elements, components, or combinations thereof.
[0028] In this embodiment of the invention, prefixes such as "first" and "second" are used merely to distinguish different descriptive objects and do not limit the position, order, priority, quantity, or content of the described objects. The use of ordinal numbers and other prefixes to distinguish descriptive objects in this application does not constitute a limitation on the described objects. For statements regarding the described objects, please refer to the claims or the context of the embodiments. The use of such prefixes should not constitute unnecessary limitations. Furthermore, in the description of this embodiment, unless otherwise stated, "multiple" means two or more.
[0029] To address the issue of insufficient accuracy in assessing the standardization of operator movements, this application provides a method for evaluating operational standardization. Please refer to [link / reference needed]. Figure 1 The method includes at least the following implementation steps: Step 101: Obtain the collection of images of the object to be evaluated.
[0030] The objects to be evaluated may include, but are not limited to, operators in the workshop or operators of robots.
[0031] The aforementioned image set can be deployed in different locations within the workshop and is acquired synchronously by multiple pre-calibrated high-definition industrial cameras. Corresponding to the object to be evaluated, each image frame in the image set includes at least the object to be evaluated. In one embodiment, the image frame also includes the work site surrounding the image to be evaluated, used to assess the physical morphology and stacking state of materials during the operation of the object to be evaluated.
[0032] Step 102: For the acquired image set, determine the motion sequence of the limb key points of the object to be evaluated.
[0033] In this process, the two-dimensional keypoint frames in the motion sequence correspond to the operational actions of the object to be evaluated.
[0034] Specifically, in the aforementioned set of acquired images, the image frames are arranged in order of their acquisition time. Correspondingly, the two-dimensional keypoint frames are also sorted by time. This time corresponds to the aforementioned acquisition time.
[0035] Each 2D keypoint frame corresponds one-to-one with an image frame. The 2D keypoint frame can be a 2D human skeleton keypoint extracted through a preset neural network model. For example, the preset neural network model can be selected from one of the following: HRNet (High-Resolution Network), Lite-HRNet (Lightweight High-Resolution Network), Dite-HRNet (Dynamic Lightweight High-Resolution Network), or HigherHRNet (Higher-Resolution Network).
[0036] Step 103: Based on the motion sequence, extract the multimodal features of the operation actions of the object to be evaluated, and fuse them to obtain the target fusion features.
[0037] Among them, multimodal features include spatiotemporal features and / or kinematic features of limb key points.
[0038] In one embodiment, the aforementioned spatiotemporal features can be extracted using a pre-defined ST-GCN (Spatial Temporal Graph Convolutional Network). Specifically, these spatiotemporal features may include the trajectory and angle changes of the joints corresponding to limb keypoints.
[0039] In one embodiment, the aforementioned kinematic features can be obtained by performing first-order and second-order differences on the motion sequence. These kinematic features can be the velocity, acceleration, etc., of the joints corresponding to key limb points. For example, the coordinates of the joints corresponding to the aforementioned key limb points are represented as follows: The inter-joint distance is expressed as follows: The corresponding kinematic characteristics are as follows: Joint speed: .
[0040] Joint amplitude: .
[0041] Joint acceleration: .
[0042] Continuing with the example using joints i, j, and k: Joint angles : ; .
[0043] Area gauge of joint components: .
[0044] In one embodiment, the aforementioned multimodal features further include operational motion features corresponding to standard operations. These operational motion features are obtained by processing motion sequences through time segments of a preset length. The operational motion features corresponding to standard operations include the arm movement features of the object to be evaluated within the preset time segment, the trajectory of the material thrown along with the object's movements, and the distribution features of the material after it lands. The following embodiment illustrates the determination of these operational motion features: First, obtain the parameters to be confirmed corresponding to the standard operation. For example, the parameters to be confirmed for the standard operation can be understood as the parameters to be confirmed in the standard operation notes.
[0045] Among them, the parameters to be confirmed include at least one of the following: limb motion parameters, motion parameters of tools and materials that move with the work actions of the object to be evaluated, and material distribution on the ground.
[0046] The aforementioned limb movement parameters can include, for example, arm movement parameters such as wrist height, and movement parameters such as bending angle. The material movement parameters here can include the material's airborne movement parameters before landing, and the material's distribution parameters after landing. The following uses the "steaming" and "using a shovel" operations as examples to provide corresponding standard operations and parameters to be confirmed; please refer to Tables 1 and 2.
[0047] Table 1
[0048] Table 2
[0049] Then, based on the two-dimensional keypoint frames within the preset time segment, the corresponding work action indicators for the parameter to be confirmed are obtained. That is, based on the position information of the limb key points in the two-dimensional keypoint frames within the time segment, the work action indicators corresponding to the parameter to be confirmed are determined.
[0050] The following example uses multimodal features, including spatiotemporal features, kinematic features, and task action features corresponding to preset time segments, to provide a detailed explanation of the determination of multimodal features and target fusion features. Please refer to [link / reference]. Figure 2 , Step 201: Based on the positional information of limb key points in the two-dimensional key point frame, determine the spatiotemporal characteristics and kinematic characteristics of the limb key points of the object to be evaluated at the time of acquisition, and determine the work action indicators of the object to be evaluated.
[0051] In this context, the two-dimensional keypoint frames correspond to the acquisition times. The operation motion index characterizes the motion parameters of the object to be evaluated at multiple consecutive acquisition times, and / or, these motion parameters correspond to the statistical parameters of the standard operating rules.
[0052] The aforementioned multiple consecutive acquisition times correspond to preset time segments.
[0053] Step 202: Determine the characteristics of the work motion indicators.
[0054] Corresponding to the aforementioned operational action indicators, the operational action characteristics of the object to be evaluated can be determined as follows: First, based on the action parameters in the operational action indicators and the aforementioned statistical parameters, determine the degree of deviation, compliance, or confidence level of the corresponding action parameters relative to the standard operating rules, and encode the degree of deviation, compliance, or confidence level to form a knowledge feature vector. This knowledge feature vector serves as the operational action characteristic.
[0055] The above modal features are composed of the characteristics of the operation, the spatiotemporal characteristics, and the kinematic characteristics.
[0056] Step 203: Based on the attention mechanism, multimodal features are fused to obtain the target fused features.
[0057] The attention mechanisms mentioned above can include self-attention mechanisms and cross-modal attention mechanisms.
[0058] First, based on a self-attention mechanism, feature enhancement can be performed on multimodal features to obtain modal features. These modal enhancement features correspond to the multimodal features. That is, feature enhancement is performed on task action features to obtain task action enhancement features; feature enhancement is performed on spatiotemporal features to obtain spatiotemporal enhancement features; and feature enhancement is performed on kinematic features to obtain kinematic enhancement features. The self-attention module corresponding to this self-attention mechanism includes multiple attention heads, a splicing unit connected to the multiple attention heads, and residual and normalization layers. For example, modal feature X... Input this self-attention module, where T is the time step and D is the feature dimension. In this self-attention module, Q (Query), K (key), and V (Value) vectors are first obtained through linear mapping. Then, based on the pre-trained parameters... To determine attention weights, we can adaptively allocate weights to highlight information from key limb joints within a time step. The expression is as follows: The corresponding output of the i-th attention head is: The aforementioned splicing unit then splices the outputs of multiple attention heads and performs a linear transformation to obtain the multi-head self-attention output: Finally, after processing with residual and normalization layers, the modal enhancement features are obtained: .
[0059] In the embodiments of this application, each pre-trained parameter or projection matrix is obtained by training the corresponding attention module.
[0060] After obtaining modal enhancement features through a self-attention mechanism, a cross-modal attention mechanism can be used, with spatiotemporal enhancement features as guiding modal features, to determine the first cross-modal feature (combining spatiotemporal enhancement features with task motion enhancement features) and the second cross-modal feature (combining spatiotemporal enhancement features with kinematic enhancement features). Finally, the first and second cross-modal features are fused to obtain the target fusion feature.
[0061] Because directly concatenating modal features between different modalities can easily overlook the dependencies between them, it can lead to insufficient understanding of the correlation between modal features across different modalities. Therefore, in this embodiment, spatiotemporal augmentation features reflecting skeletal posture are used as guiding features to align kinematic augmentation features (such as the force characteristics of acceleration) and task motion augmentation features with the posture baseline. This allows for adaptive adjustment of the importance of each modal feature (i.e., attention weights; for example, the attention weight of "wrist acceleration" is determined by combining "skeletal trajectory" in the spatiotemporal augmentation features to determine whether it belongs to a "light" movement). Ultimately, this achieves abstract standard operation, with a closed-loop correlation between action posture (spatiotemporal augmentation features) and force characteristics (kinematic augmentation features), effectively improving the perception of the actual task motion of the object being evaluated.
[0062] Furthermore, spatiotemporal features directly reflect the characteristic information of key points (e.g., bones) of the limbs of the object being evaluated. They can reflect the spatial structure of the aforementioned kinematic features and serve as the temporal expression of operational action features. Therefore, they can be regarded as the basic posture expression of operational actions in the winemaking process. Thus, using spatiotemporal features as a guiding modality can realize the association between multimodal features and action operations. Specifically, spatiotemporal features are represented as... The kinematic characteristics are expressed as The characteristics of the operation are represented as Construct query vectors . Based on kinematic characteristics Construct key vectors . And based on the characteristics of the work actions. Construct value vectors . .
[0063] The output of the i-th cross-modal attention head is represented as follows: ; The first cross-modal feature obtained from multi-head fusion is represented as follows: ;in, ; This is the weight matrix obtained through pre-training. Corresponds to the first cross-modal feature.
[0064] Similarly, to obtain the second cross-modal features, a query vector is constructed. Key vector Value vector as follows: .
[0065] The output of the i-th cross-modal attention head is represented as follows: ; The second cross-modal feature obtained by multi-head fusion is represented as follows: ;in, ; This is the weight matrix obtained through pre-training. Corresponds to the second transmodal feature.
[0066] Similar to the first and second cross-modal features, the third cross-modal feature is also constructed by creating a corresponding query vector. Key vector Value vector The output of the i-th cross-modal attention head is represented as follows: ; The third cross-modal feature obtained by multi-head fusion is represented as follows: ;in, ; This is the weight matrix obtained through pre-training. It corresponds to the third cross-modal feature.
[0067] Finally, the target fusion feature is obtained by fusing the first cross-modal feature, the second cross-modal feature, and the third cross-modal feature. The expression is as follows: .
[0068] The attention heads used to generate the various cross-modal features (first cross-modal feature, second cross-modal feature, and third cross-modal feature) can be jointly trained and independent attention heads. The number of attention heads can be equal. For example, the number of cross-modal attention heads used to generate the first cross-modal feature, the second cross-modal feature, and the third cross-modal feature can all be 2, 3, 4, or 5.
[0069] It should be understood that the spatiotemporal and kinematic features in multimodal features, as well as their corresponding spatiotemporal and kinematic enhancement features, are all frame-level (corresponding to two-dimensional keypoint frames). Spatiotemporal features reflect the topological relationships between limb keypoints and the connections between them, in relation to time. Spatiotemporal enhancement features are similar. Kinematic features reflect the relationship between limb keypoints and time.
[0070] The temporal granularity of the task motion features and task motion enhancement features is at the segment level (corresponding to the aforementioned time segments). In other words, the task motion features and task motion enhancement features do not change frame by frame, but statically reflect the global motion of the object to be evaluated at a low frame rate.
[0071] Thus, effective feature enhancement is achieved through the self-attention mechanism. Furthermore, by combining the cross-modal attention mechanism, the fusion of high-frame-rate dynamic feature sequences (spatiotemporal enhancement features, kinematic enhancement features) with low-frame-rate relatively static operation action enhancement features (i.e., macroscopic process quantification indicators obtained by mapping action segments corresponding to time segments through standard operations, such as scattering dispersion, spatial coverage uniformity, etc.) achieves complementarity between fine-grained space and high frame rate, and global space and low frame rate. This enables feature complementarity and semantic alignment from local fine-grained spatiotemporal information to global overall action attributes.
[0072] In particular, by using spatiotemporal augmentation features as the guiding modality, query vectors can be constructed using high-frame-rate skeletal poses (corresponding to limb keypoints) (i.e., spatiotemporal augmentation features), which are then fused with high-frame-rate kinematic augmentation features to achieve dynamic alignment between "instantaneous skeletal pose" and "instantaneous force exertion state" at the same scale. Furthermore, by matching spatiotemporal augmentation features with low-frame-rate, relatively static task motion features, cross-scale correlations are established between fine-grained local poses and overall macroscopic measurements (such as dispersion, spatial coverage uniformity, etc.). This cross-modal attention mechanism dynamically measures the contribution of instantaneous local poses to macroscopic task motions. Based on this, higher attention scores are generated for key moments with high contribution and for limb keypoints, thereby achieving precise modal alignment between local and global, and between high-frequency and low-frequency features.
[0073] Step 104: The target fusion features are processed by a preset hybrid expert network to obtain the global features of the operation.
[0074] The predefined MoE (Mixture of Experts) comprises multiple expert subnetworks, each extracting a different type of information. The expert set consisting of N expert subnetworks is represented as follows: Additionally, MoE includes pre-built gated networks. This is used to dynamically assign weights to each expert subnetwork.
[0075] Specifically, in a hybrid expert network, real-time weights can be generated for the expert subnetworks using the aforementioned pre-built gating network. These real-time weights can be obtained from the weight matrix pre-trained in the gating network. The specific representation is as follows: ;in, This is the routing weight matrix of the pre-trained gated network. This is the bias of the pre-trained gating network. This is used to map the target fusion features into routing scores that correspond one-to-one with multiple expert subnetworks. The routing weight matrix and biases are jointly trained during the model training phase using normalized score regression loss and risk type classification loss, and remain fixed during the model application phase.
[0076] Accordingly, the real-time weights α generated by the gating network, corresponding to the target fused features, are represented as follows: , where i is the index corresponding to the real-time weights of the expert subnetwork.
[0077] Then, the target fusion features are processed separately through expert subnetworks to obtain expert features. ;in, Let i represent the target fusion feature, and i be the index of the expert subnetwork.
[0078] Finally, based on the aforementioned real-time weights, the expert features are weighted and fused to obtain the global features. . .
[0079] In the aforementioned gating network, the target fusion features are input into the routing weight matrix to obtain the routing scores corresponding to each expert subnetwork. The routing scores are then normalized using the Softmax function to obtain the real-time weights of each expert subnetwork. These real-time weights characterize the degree of matching between the current target fusion features and the action patterns learned by each expert subnetwork. A larger real-time weight indicates a better match between the corresponding expert subnetwork and the current task action, and a larger proportion of its output expert features in the global features; conversely, a smaller real-time weight indicates a smaller contribution of the corresponding expert features to the global features. Therefore, the gating network dynamically soft-screens multiple expert subnetworks based on the current process stage, task action type, and action standardization characteristics of the object to be evaluated, and then weights and fuses the expert features based on the real-time weights to obtain the global features.
[0080] Thus, by introducing MoE, the standard operations and work actions of different stages in the winemaking process, as well as different dimensions of the same stage, are adaptively selected to perform feature processing using matching expert subnetworks. This enhances the ability to characterize and express complex process operations, and improves the precision and discriminability of multimodal feature expression.
[0081] Step 105: Based on global features, determine the action specification information of the object to be evaluated.
[0082] Specifically, global features can be input into a pre-trained MLP (Multi-Layer Perceptron). The MLP employs multiple linear layers for linear transformation, ReLU (Rectified Linear Unit) activation for non-linear activation, and Dropout (Dropout Regularization) layers to suppress overfitting. These multiple linear layers, ReLU activation function, and Dropout can be considered as hidden layers in the MLP.
[0083] The pre-trained MLP includes a first mapping head that may comprise sequentially connected multiple linear layers and a regression output layer. This first mapping head generates a standardization score for the job action through the regression output layer. This standardization score characterizes the degree of standardization of the job action corresponding to the action's standard rules. The higher the standardization score, the more standard the corresponding job action. The corresponding regression loss function can be expressed as follows: ;in, This refers to the batch sample size. For the first Each sample of real expert-annotated scores Predict action quality scores for the model.
[0084] Furthermore, the MLP also includes a second mapping head for generating risk types. The second mapping head includes multiple linear layers and a softmax activation function. This risk type can correspond to the assessment levels in OWAS (Ovako Working Posture Analysis System) and RULA (Rapid Upper Limb Assessment). This second mapping head shares the same motor representation as the first mapping head. .
[0085] This second mapping head can be trained using the levels in OWAS and RULA as preset labels. The corresponding classification loss function is expressed as follows: Where K represents the number of risk types, for example, it can be 3, corresponding to low risk type, medium risk type, and high risk type. To provide the true risk type labels for the training samples, Let be the predicted probability of the k-th risk class output by the second mapping head. Then the loss function of the MLP during the training phase includes: Where λ1 is the regression loss function. The preset weights, where λ² is the classification loss function. The preset weights.
[0086] It should be understood that, although Figure 1 , Figure 2 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order requirement for the execution of these steps; they can be executed in other orders. Furthermore, Figure 1 , Figure 2 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0087] Based on the same inventive concept, such as Figure 3 As shown in the figure, this application provides an apparatus for evaluating the standardization of work, including: a data acquisition unit 301, a sequence unit 302, a modal unit 303, an expert unit 304, and an evaluation unit 305, wherein: Acquisition unit 301 is used to acquire a set of images of the object to be evaluated; Sequence unit 302 is used to determine the motion sequence of the limb key points of the object to be evaluated for the acquired image set; wherein, the two-dimensional key point frames in the motion sequence correspond to the work actions of the object to be evaluated; Modal unit 303 is used to extract multimodal features of the task action of the object to be evaluated based on the motion sequence, and fuse them to obtain target fusion features; the multimodal features include the spatiotemporal features and / or kinematic features of the limb key points; Expert unit 304 is used to process the target fusion features through a preset hybrid expert network to obtain the global features of the operation action; Evaluation unit 305 is used to determine the action specification information of the object to be evaluated based on the global features; wherein the action specification information includes the standardization score of the operation action.
[0088] In some embodiments, the modal unit 303 is specifically used to determine the spatiotemporal and kinematic features of the limb keypoints of the object to be evaluated at the acquisition time based on the position information of the limb keypoints in the two-dimensional keypoint frame, and to determine the work action index of the object to be evaluated; the two-dimensional keypoint frame corresponds to the acquisition time, and the work action index characterizes the action parameters of the object to be evaluated at multiple consecutive acquisition times, and / or the statistical data of the action parameters; determine the work action features of the work action index; then the work action features, the spatiotemporal features and the kinematic features constitute the multimodal features; based on the attention mechanism, the multimodal features are fused to obtain the target fusion features.
[0089] In some embodiments, the attention mechanism includes a self-attention mechanism and a cross-modal attention mechanism; the modal unit 303 is further configured to perform feature enhancement on the multimodal features based on the self-attention mechanism to obtain modal enhancement features; the modal enhancement features include task action enhancement features, spatiotemporal enhancement features, and kinematic enhancement features; using the spatiotemporal enhancement features as guiding modal features, a first cross-modal feature between the spatiotemporal enhancement features and the task action enhancement features, a second cross-modal feature between the spatiotemporal enhancement features and the kinematic enhancement features, and a third cross-modal feature between the task action enhancement features and the kinematic enhancement features are determined; the first cross-modal feature, the second cross-modal feature, and the third cross-modal feature are fused to obtain the target fusion feature.
[0090] In some embodiments, the modal unit 303 is further configured to acquire parameters to be confirmed corresponding to standard operations; wherein, the parameters to be confirmed include at least one of the following: limb motion parameters, motion parameters of tools and materials moving with the work actions of the object to be evaluated, and parameters to be confirmed regarding the distribution of materials on the ground; the two-dimensional keypoint frames are processed by a preset time segment to obtain the work action index corresponding to the parameters to be confirmed.
[0091] In some embodiments, the expert unit 304 is specifically used in the hybrid expert network to generate real-time weights for expert subnetworks through a pre-built gating network; the hybrid expert network includes the gating network and multiple expert subnetworks; the target fusion features are processed through the expert subnetworks to obtain expert features; and the expert features are weighted and fused based on the real-time weights to obtain the global features.
[0092] In some embodiments, the evaluation unit 305 is specifically used to input the global features into a preset multilayer perceptron; the preset multilayer perceptron includes a first mapping head; in the preset multilayer perceptron, the global features are processed through the first mapping head to obtain the normalization score.
[0093] In some embodiments, the preset multilayer perceptron further includes a second mapping head, which includes sequentially connected multilayer linear layers and a softmax activation function; the evaluation unit 305 is further configured to generate a risk type through the second mapping head; then the risk type and the normative score constitute the action normative information.
[0094] Specific limitations regarding the device for assessing work standardization can be found in the limitations of the method for assessing work standardization described above, and will not be repeated here. Each module in the aforementioned device for assessing work standardization can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the electronic device, or stored in the memory of the electronic device in software form, so that the processor can call and execute the operations corresponding to each module.
[0095] Based on the same inventive concept, please refer to Figure 4 This application also provides an electronic device. In one embodiment, the electronic device, as shown in the figure, may include a memory 401, a communication module 403, and one or more processors 402.
[0096] The memory 401 is used to store computer programs executed by the processor 402. The memory 401 may mainly include a program storage area and a data storage area, wherein the program storage area may store the operating system; and the data storage area may store various operation instruction sets, etc.
[0097] Memory 401 may be volatile memory, such as random-access memory (RAM); memory 401 may also be non-volatile memory, such as read-only memory, flash memory, hard disk drive (HDD), or solid-state drive (SSD); or memory 401 may be any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto. Memory 401 may be a combination of the above-mentioned memories.
[0098] Processor 402 may include one or more central processing units (CPUs) or digital processing units, etc. Processor 402 is used to implement the above-described method for evaluating job compliance when calling computer programs stored in memory 401.
[0099] The communication module 403 is used to communicate with terminal equipment, site equipment or other network equipment.
[0100] This application embodiment does not limit the specific connection medium between the memory 401, communication module 403, and processor 402 described above. This application embodiment... Figure 4 The memory 401 and the processor 402 are connected via a bus 404, and the bus 404 is in Figure 4 The diagram uses thick lines to describe the connections between other components; these are for illustrative purposes only and should not be considered limiting. The 404 bus can be divided into address bus, data bus, control bus, etc. For ease of description, Figure 4 It is described using only a thick line, but does not indicate that there is only one bus or one type of bus.
[0101] The memory 401 stores a computer storage medium containing computer-executable instructions. These instructions are used to implement the method for determining the standardization of an evaluation job according to embodiments of this application. The processor 402 executes the method for evaluating the standardization of an evaluation job according to the embodiments described above.
[0102] Those skilled in the art will understand that Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0103] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0104] Based on the same inventive concept, embodiments of this application also provide a computer program product, including a computer program, which, when executed by a processor, implements the method for evaluating the standardization of work described in any of the above claims.
[0105] The program code for executing the computer program product of this application can be written in any combination of one or more programming languages. The program code can be executed entirely on the user device, partially on the user device, as a standalone software package, partially on the user device and partially on a remote device, or entirely on a remote device.
[0106] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0107] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0108] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0109] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of user-operated steps to be executed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0110] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for evaluating the standardization of work procedures, characterized in that, include: Obtain the set of images of the object to be evaluated; For the acquired image set, determine the motion sequence of the limb key points of the object to be evaluated; wherein, the two-dimensional key point frames in the motion sequence correspond to the work actions of the object to be evaluated; Based on the motion sequence, multimodal features of the task actions of the object to be evaluated are extracted and fused to obtain target fusion features; the multimodal features include the spatiotemporal features and / or kinematic features of the limb key points; The target fusion features are processed by a pre-defined hybrid expert network to obtain the global features of the operation action; Based on the global features, the action standard information of the object to be evaluated is determined; wherein, the action standard information includes the standardization score of the work action.
2. The method as described in claim 1, characterized in that, Based on the motion sequence, the multimodal features of the pose of the object to be evaluated are extracted and fused to obtain the target fusion features, including: Based on the positional information of the limb key points in the two-dimensional key point frame, the spatiotemporal and kinematic characteristics of the limb key points of the object to be evaluated at the acquisition time are determined, and the work action index of the object to be evaluated is determined; the two-dimensional key point frame corresponds to the acquisition time, and the work action index characterizes the action parameters of the object to be evaluated at multiple consecutive acquisition times, and / or the statistical data of the action parameters. The operation action characteristics of the operation action index are determined; then the operation action characteristics, the spatiotemporal characteristics, and the kinematic characteristics constitute the multimodal characteristics; Based on the attention mechanism, the multimodal features are fused to obtain the target fused features.
3. The method as described in claim 2, characterized in that, The attention mechanisms include self-attention mechanisms and cross-modal attention mechanisms; The process of fusing the multimodal features based on an attention mechanism to obtain the target fusion feature includes: Based on the self-attention mechanism, feature enhancement is performed on the multimodal features to obtain modality-enhanced features; the modality-enhanced features include task action enhancement features, spatiotemporal enhancement features, and kinematic enhancement features; Using the spatiotemporal enhancement feature as the guiding modal feature, the first cross-modal feature between the spatiotemporal enhancement feature and the operation motion enhancement feature, the second cross-modal feature between the spatiotemporal enhancement feature and the kinematic enhancement feature, and the third cross-modal feature between the operation motion enhancement feature and the kinematic enhancement feature are determined; The target fused feature is obtained by fusing the first cross-modal feature, the second cross-modal feature, and the third cross-modal feature.
4. The method as described in claim 2, characterized in that, Determining the work action indicators of the object to be evaluated includes: Obtain the parameters to be confirmed corresponding to the standard operation; wherein, the parameters to be confirmed include at least one of the following: limb movement parameters, tool and material movement parameters that move with the operation of the object to be evaluated, and material distribution on the ground; The two-dimensional keypoint frames are processed by a preset time segment to obtain the operation action index corresponding to the parameter to be confirmed.
5. The method according to any one of claims 1 to 4, characterized in that, The process of processing the fused features through a pre-defined hybrid expert network to obtain the global features of the job action includes: In the hybrid expert network, real-time weights are generated for the expert subnetworks through a pre-built gating network; the hybrid expert network includes the gating network and multiple expert subnetworks. The target fusion features are processed by the expert sub-network to obtain expert features; Based on the real-time weights, the expert features are weighted and fused to obtain the global features.
6. The method as described in claim 1, characterized in that, The process of determining the action specification information of the object to be evaluated based on the global features includes: The global features are input into a preset multilayer perceptron; the preset multilayer perceptron includes a first mapping head; In the preset multilayer perceptron, the global features are processed by the first mapping head to obtain the normative score.
7. The method as described in claim 6, characterized in that, The preset multilayer perceptron further includes a second mapping head, which includes sequentially connected multilayer linear layers and a softmax activation function. The process of determining the action specification information of the object to be evaluated based on the global features includes: The risk type is generated through the second mapping head; then the risk type and the normative score constitute the action normative information.
8. A device for evaluating the standardization of work procedures, characterized in that, include: The acquisition unit is used to acquire a set of images of the object to be evaluated. A sequence unit is used to determine the motion sequence of the limb key points of the object to be evaluated for the acquired image set; wherein, the two-dimensional key point frames in the motion sequence correspond to the work actions of the object to be evaluated; A modal unit is used to extract multimodal features of the task actions of the object to be evaluated based on the motion sequence, and fuse them to obtain target fusion features; the multimodal features include the spatiotemporal features and / or kinematic features of the limb key points; An expert unit is used to process the target fusion features through a preset hybrid expert network to obtain the global features of the operation action; An evaluation unit is used to determine the action specification information of the object to be evaluated based on the global features; wherein the action specification information includes the standardization score of the operation action.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and for running on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 7.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.
