Motion analysis device, motion analysis method, and motion analysis program
The motion analysis device addresses the challenge of incorrect trajectory matching by using a multi-period matching process to accurately analyze work content, ensuring precise detection of work time and procedures even during deviations from regular work.
Patent Information
- Application Number
- PCT/JP2023/013122
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-03
AI Technical Summary
Existing motion analysis techniques struggle to accurately match joint trajectories of workers performing non-routine or missing work, leading to incorrect trajectory matching and reduced accuracy in analyzing work time and procedures.
The motion analysis device employs a matching unit that performs three matching processes using trajectories from input video data, including previous, subsequent, and combined periods, to reduce incorrect matching by extracting similar trajectories and calculating their similarity with reference trajectories, ensuring accurate work content identification even during deviations from regular work.
This approach enhances the accuracy of work content analysis by properly matching trajectories, even during non-routine or missed work, thereby improving the reliability of work time and procedure detection.
Smart Images

Figure JP2023013122_03102024_PF_FP_ABST
Abstract
Description
Motion analysis device, motion analysis method, and motion analysis program
[0001] The present disclosure relates to a motion analysis device, a motion analysis method, and a motion analysis program.
[0002] In the industrial field, worker cycle time measurement and work content analysis have traditionally been performed manually. Patent Document 1 proposes a method for automating the measurement of worker cycle time and the analysis of work content in order to reduce the burden of these tasks. In this method, the time series transition of posture information obtained from video is defined as a motion trajectory, and the work content is identified by comparing it with a pre-learned trajectory. This method uses posture information based on data acquired by cameras and sensors, thereby reducing the burden on the worker being analyzed.
[0003] Patent No. 6786015
[0004] In Patent Document 1, in order to analyze the work time and work procedures of a factory line worker, the work time and work procedures are detected by matching the trajectories of joints before and after the analysis target time, including the analysis target time, with the trajectories of joints during registered routine work. However, in actual work, movements different from those during routine work (such as skipping a task or non-routine work) may occur. When movements different from those during routine work occur, the trajectories of the worker's joints differ from the registered trajectories, which may result in incorrect matching of the joint trajectories. However, Patent Document 1 does not disclose a technology to reduce the possibility of incorrectly matching the trajectories of joints. The present disclosure aims to reduce the possibility of incorrectly matching the trajectories of target parts in a technology that matches the trajectories of a target part of a target worker with the trajectories of a target part during routine work.
[0005] The motion analysis device according to the present disclosure includes a matching unit that performs a third matching process to extract, as a third similar trajectory, a trajectory of a target body part of a target worker from a trajectory indicated by reference trajectory information that indicates the trajectory of a body part corresponding to the target body part when the target worker is performing the work that should be performed by the target worker, from a target time that is a time corresponding to a target frame included in an input video showing the target worker performing the work, to a subsequent period that is a period from the target time to a time in the future than the target time, and that is similar to a third target trajectory that is a trajectory derived based on the input video.
[0006] According to the present disclosure, the matching unit performs matching for a period after the target frame. Therefore, according to the present disclosure, even if a movement different from the movement in the routine work occurs in a period before and after the target frame, matching can be performed appropriately as long as the routine work is performed in the latter half of the period before and after the target frame. Therefore, according to the present disclosure, in a technology for matching the trajectory of the target body part of a target worker with the trajectory of the target body part in the routine work, the possibility of erroneously matching the trajectory of the target body part can be reduced.
[0007] FIG. 1 is a diagram showing an example of the configuration of a motion analysis apparatus 100 according to the first embodiment. FIG. 2 is a diagram explaining the processing of the motion analysis apparatus 100 according to the first embodiment. FIG. 3 is a diagram explaining the processing of a matching unit 130 according to the first embodiment. FIG. 4 is a diagram showing an example of the hardware configuration of the motion analysis apparatus 100 according to the first embodiment. A flowchart showing the operation of the motion analysis apparatus 100 according to the first embodiment. FIGS. 1A and 1B are diagrams explaining the effect of the motion analysis apparatus 100 according to the first embodiment, where (a) is a diagram explaining matching in the preceding and following periods, and (b) is a diagram explaining matching in the previous period. A diagram showing an example of the hardware configuration of a motion analysis apparatus 100 according to a variation of the first embodiment. A flowchart showing the operation of the motion analysis apparatus 100 according to the second embodiment. A flowchart showing the operation of the motion analysis apparatus 100 according to the third embodiment.
[0008] In the description of the embodiments and the drawings, the same elements and corresponding elements are given the same reference numerals. The description of elements given the same reference numerals will be omitted or simplified as appropriate. Arrows in the drawings mainly indicate the flow of data or the flow of processing. Furthermore, "unit" may be read as "circuit," "step," "procedure," "process," or "circuitry" as appropriate.
[0009] First Embodiment Hereinafter, the present embodiment will be described in detail with reference to the drawings.
[0010] *** Description of Configuration *** Fig. 1 shows an example configuration of a motion analysis apparatus 100 according to this embodiment. As shown in the figure, motion analysis apparatus 100 includes a skeleton extraction unit 110, a trajectory extraction unit 120, a matching unit 130, and a similarity comparison unit 140. In addition, motion analysis apparatus 100 stores reference trajectory information 190.
[0011] The skeleton extraction unit 110 acquires an input video from an external device, extracts the skeleton of the target worker in each frame included in the acquired input video, and generates skeleton information indicating the skeleton extracted in each frame. In this case, as a specific example, the skeleton extraction unit 110 identifies the joint positions of the target worker in each frame included in the acquired input video and generates information indicating the identified joint positions in each frame as skeletal information. The input video is an image output by a camera and shows the target worker performing work. The image is typically a video. It is assumed that the target worker is performing routine work. Note that the input video may be information output by a 3D (3-Dimensions) sensor and may be information indicating the target worker's movements. Data acquired by a 3D sensor may also be referred to as an image. Information indicating the target worker's posture acquired by the 3D sensor at each time may also be referred to as a frame.
[0012] The trajectory extraction unit 120 extracts three patterns of trajectories for the target body part of the target worker, based on the target frame, from the skeletal information generated by the skeleton extraction unit 110, and generates trajectory information indicating the trajectories of each extracted pattern. The target body part is, for example, a joint or a part of the skeleton. The target frame is a frame selected from frames included in the input video. The three patterns of trajectories for the target body part, based on the target frame, consist of the trajectory of the target body part in a period before and after the target frame, the trajectory of the target body part in a previous period before the target frame, and the trajectory of the target body part in a subsequent period after the target frame. The previous period before the target frame is a continuous period from a time earlier than the target time to a time later than the target time. The previous period before the target frame is a continuous period from a time earlier than the target time to the target time. The subsequent period after the target frame is a continuous period from the target time to a time later than the target time. The target frame corresponds to a frame from which the work content of the target worker is recognized. The target time is a time corresponding to the target frame, and specifically, the time when the target frame is captured by a camera or the time when a sensor observes the posture of the target worker. The start time and end time of the previous and following periods may be determined in any manner. The start time of the previous period may be determined in any manner. The end time of the following period may be determined in any manner. The first half of the trajectory of the target part in the previous and following periods may be defined as the trajectory of the target part in the previous period, and the second half of the trajectory of the target part in the previous and following periods may be defined as the trajectory of the target part in the following period. A trajectory obtained by combining the trajectory of the target part in the previous period and the trajectory of the target part in the following period may be defined as the trajectory of the target part in the previous period. The trajectory of the target part in the previous period is also referred to as a first target trajectory. The trajectory of the target part in the previous period is also referred to as a second target trajectory. The trajectory of the target part in the following period is also referred to as a third target trajectory. The first target trajectory is the trajectory of the target part in the previous period, and is a trajectory derived based on the input video. The second target trajectory is a trajectory of the target part in the before and after period, and is a trajectory derived based on the input video. The third target trajectory is a trajectory of the target part, and is a trajectory derived based on the input video.The trajectory extraction unit 120 extracts a first object trajectory, a second object trajectory, and a third object trajectory from the skeleton information generated by the skeleton extraction unit 110. Note that there may be multiple target parts. When there are multiple target parts, the trajectory extraction unit 120 extracts three patterns of trajectories from the skeleton information for each target part.
[0013] The matching unit 130 performs a first matching process, a second matching process, and a third matching process. The first matching process is a process of extracting a trajectory similar to a first object trajectory as a first similar trajectory from the trajectories indicated by the reference trajectory information 190. The second matching process is a process of extracting a trajectory similar to a second object trajectory from the trajectories indicated by the reference trajectory information 190 as a second similar trajectory. The third matching process is a process of extracting a trajectory similar to a third object trajectory from the trajectories indicated by the reference trajectory information 190 as a third similar trajectory. Specifically, the matching unit 130 matches the trajectories of each pattern indicated by the trajectory information generated by the trajectory extraction unit 120 with the trajectories indicated by the reference trajectory information 190 to find similar sections corresponding to the trajectories of each pattern. At this time, the matching unit 130 calculates the similarity of the trajectories of each pattern corresponding to the similar sections corresponding to the trajectories of each pattern. The matching process is a process of extracting portions of the trajectory indicated by the reference trajectory information 190 that are similar to or correspond to the trajectory of each pattern indicated by the trajectory information. A similar section is a continuous section indicated by the reference trajectory information 190 and corresponds to a certain time range. In a similar section corresponding to the trajectory of the target pattern, the similarity between the trajectory of the target pattern and the trajectory indicated by the reference trajectory information 190 is relatively high. The similarity may be calculated in any manner. Note that, if a task omission or non-routine task occurs during the target period, the similar section corresponding to the target period may be a section corresponding to the work content that the target worker should originally be performing. Furthermore, the matching unit 130 identifies a frame identifier corresponding to a target frame in each similar section based on the reference trajectory information 190. The frame identifier corresponding to the target frame is a frame identifier identified based on the matching result, and is a frame identifier corresponding to the frame corresponding to the target frame among frames corresponding to each time point of the trajectory indicated by the reference trajectory information 190. The frame identifier is an identifier that identifies a frame corresponding to each time point of the trajectory indicated by the reference trajectory information 190, and is, for example, a frame number. The frames corresponding to each time point of the trajectory indicated by the reference trajectory information 190 are, as a specific example, frames that are the source of generation of the trajectory of the target part at each time point.The matching unit 130 may infer the work content that the target worker should perform at the time corresponding to the target frame based on the matching result using a frame corresponding to a time earlier than the time corresponding to the target frame and the reference trajectory information 190 or information indicating the work content that the target worker should perform, estimate the position of the similar section based on the inferred work content, and perform matching taking into account the inferred result.
[0014] The similarity comparison unit 140 outputs information corresponding to the work content corresponding to the estimated work trajectory. The estimated work trajectory is a trajectory corresponding to the highest similarity among the similarity between the first object trajectory and the first similar trajectory, the similarity between the second object trajectory and the second similar trajectory, and the similarity between the third object trajectory and the third similar trajectory, and is a trajectory indicated by the reference trajectory information 190. As a specific example, the similarity comparison unit 140 compares the similarities corresponding to the trajectories of each pattern obtained by the matching unit 130, and outputs the frame identifier specified by the matching unit 130, which is a frame identifier in a similar section corresponding to the trajectory of the pattern with the highest corresponding similarity.
[0015] The reference trajectory information 190 is information indicating the trajectory of a part corresponding to a target part when a worker is performing routine work, and is information indicating a frame identifier corresponding to each time point of the trajectory of the target part. The routine work corresponds to the work that the worker is to perform. Specifically, the part corresponding to the target part is the same part as the target part, or a part equivalent to the target part. The trajectory of the target part indicated by the reference trajectory information 190 may indicate fluctuations in the relative position of the target part with respect to parts other than the target part or the work object, or may indicate the range of the position of the target part at each time point. The information indicating the frame identifier corresponds to information corresponding to the work content corresponding to each time point of the trajectory indicated by the reference trajectory information 190. The reference trajectory information 190 may be time-series data that is skeletal information for multiple cycles acquired in advance. A cycle is a unit indicating one period of work performed cyclically. Furthermore, the reference trajectory information 190 may be time series data in which multiple cycles of skeletal information are aggregated into one cycle by, for example, calculating the average value of multiple cycles of skeletal information, or may be a model in which the trajectory of the target part is machine-learned using multiple cycles of skeletal information.
[0016] FIG. 2 is a diagram illustrating a schematic diagram of the processing of the motion analysis apparatus 100. In the example illustrated in FIG. 2, the skeleton extraction unit 110 extracts target joints as target parts of a target worker from the input video, and then the trajectory extraction unit 120 extracts the trajectories of the target joints. Here, the input trajectory information is trajectory information generated by the trajectory extraction unit 120, and is information indicating the trajectories of the target joints of the target worker. Also, in this example, the reference trajectory information 190 is information indicating the trajectories of the target joints, which are target parts of the worker shown in the reference video. The reference trajectory information 190 is generated by extracting the target joints of the worker shown in the reference video and extracting the trajectories of the extracted target joints. Here, the reference video is the same as the input video. In the reference trajectory information 190 according to this example, the trajectory of the target joint is divided into multiple sections according to the corresponding task content, and each section is assigned a label. In this example, the matching unit 130 matches the trajectory of the target joint indicated by the input trajectory information with the trajectory of the section corresponding to label 2 of the trajectory of the target joint indicated by the reference trajectory information 190. Furthermore, the matching unit 130 specifies the frame identifier corresponding to the target frame and the frame identifier of a frame included in the reference video, based on the joint position corresponding to the target frame and the joint position indicated by the reference trajectory information 190. Furthermore, in this example, the task content corresponding to label 2 has been specified as the task content corresponding to the target frame.
[0017] FIG. 3 is a diagram illustrating the processing of the matching unit 130. In this example, the input trajectory information and the reference trajectory information 190 are each represented by a graph. The input trajectory information in this example is information indicating the trajectory of the target region in a period before and after the target frame. The horizontal axis of the graph indicates each frame included in the input video or the reference video in the order of capture time corresponding to each frame, and the vertical axis of the graph indicates the coordinates of the position of the target region. The circles in the graph indicate the position of the target region in each frame included in the input video or the reference video. The solid lines in each graph are lines drawn by interpolating the position of the target region in each frame. The dashed lines in the graph corresponding to the reference trajectory information 190 indicate the shape of the graph corresponding to the input trajectory information. Note that, although the position of the target region is expressed one-dimensionally in this example, the position of the target region may be expressed two-dimensionally or three-dimensionally. In this example, the matching unit 130 performs matching based on the shape of the graph and the fitting of the coordinates of the target region, as indicated by the dashed line in the graph corresponding to the reference trajectory information 190. Then, the matching unit 130 acquires a frame identifier corresponding to the target frame based on the matching result.
[0018] 4 shows an example of the hardware configuration of motion analysis apparatus 100 according to this embodiment. Motion analysis apparatus 100 is composed of a computer. Motion analysis apparatus 100 may also be composed of multiple computers.
[0019] As shown in the figure, the motion analysis device 100 is a computer that includes hardware such as a processor 11, a storage device 12, a communication device 13, and an input / output interface 14. These pieces of hardware are connected as appropriate via signal lines 19.
[0020] Processor 11 is an integrated circuit (IC) that performs arithmetic processing and controls the hardware of a computer. Specific examples of processor 11 include a central processing unit (CPU), a digital signal processor (DSP), or a graphics processing unit (GPU). Motion analysis device 100 may include multiple processors that replace processor 11. The multiple processors share the role of processor 11.
[0021] The storage device 12 includes, for example, a volatile storage device and a nonvolatile storage device. A specific example of the volatile storage device is a RAM (Random Access Memory). A specific example of the nonvolatile storage device is a ROM (Read Only Memory), a HDD (Hard Disk Drive), or a flash memory.
[0022] The communication device 13 is a receiver and a transmitter, and is specifically a communication chip or a NIC (Network Interface Card).
[0023] The input / output interface 14 is a port to which an input device and an output device are connected. Specific examples of the input / output interface 14 include a USB (Universal Serial Bus) terminal. Specific examples of the input device include a keyboard and a mouse. Specific examples of the output device include a display.
[0024] Each part of the motion analysis device 100 may use the communication device 13 and the input / output interface 14 as appropriate when communicating with other devices, etc.
[0025] Storage device 12 stores a motion analysis program. The motion analysis program is a program that causes a computer to realize the functions of each unit of motion analysis device 100. The motion analysis program is executed by processor 11. The functions of each unit of motion analysis device 100 are realized by software.
[0026] Data used when executing the motion analysis program and data obtained by executing the motion analysis program are stored appropriately in storage device 12. Each unit of motion analysis device 100 uses storage device 12 as appropriate. Note that the terms "data" and "information" may have the same meaning. Storage device 12 may be independent of the computer.
[0027] The motion analysis program may be recorded on a computer-readable non-volatile recording medium. Specific examples of the non-volatile recording medium include an optical disk and a flash memory. The motion analysis program may be provided as a program product.
[0028] ***Description of Operation*** The operating procedure of motion analysis apparatus 100 corresponds to a motion analysis method. Furthermore, the program that realizes the operation of motion analysis apparatus 100 corresponds to a motion analysis program.
[0029] 5 is a flowchart showing an example of the operation of motion analysis apparatus 100. The operation of motion analysis apparatus 100 will be described with reference to FIG.
[0030] (Step S101) An input video is input from the outside to the skeleton extraction unit 110. Here, it is assumed that the input video shows a target worker.
[0031] (Step S102) The skeleton extraction unit 110 extracts the skeleton of the target worker in each frame included in the input video, and generates skeleton information indicating the skeleton extracted in each frame.
[0032] (Step S103) The trajectory extraction unit 120 selects a target frame and extracts three patterns of trajectories for the target body part based on the selected target frame from the skeletal information generated by the skeleton extraction unit 110. Then, the trajectory extraction unit 120 generates trajectory information indicating the trajectory of each extracted pattern.
[0033] (Step S104) The matching unit 130 finds similar sections corresponding to the trajectories of each pattern by matching the trajectories of each pattern indicated by the trajectory information generated by the trajectory extraction unit 120 with the trajectories indicated by the reference trajectory information 190. At this time, the matching unit 130 calculates the similarity of the trajectories of each pattern corresponding to the similar sections corresponding to the trajectories of each pattern. Furthermore, the matching unit 130 identifies frame identifiers corresponding to the target frames in each similar section based on the reference trajectory information 190.
[0034] (Step S105) The similarity comparison unit 140 compares the similarities corresponding to the trajectories of the patterns obtained by the matching unit 130, and outputs the frame identifier corresponding to the trajectory of the pattern with the highest corresponding similarity.
[0035] ***Description of Effect of First Embodiment*** According to the conventional technology, matching is performed in a period before and after the target frame. Here, when a task skip or non-routine task occurs in the period before and after the target frame, in many cases, a trajectory similar to the trajectory indicated by the input trajectory information does not exist in the trajectory indicated by the reference trajectory information 190 in the period before and after the target frame. Therefore, as shown in (a) of FIG. 6, it is not possible to appropriately match the trajectory indicated by the input trajectory information with the trajectory indicated by the reference trajectory information 190. Therefore, according to the conventional technology, it is not possible to identify the frame identifier corresponding to the target frame with a relatively high degree of accuracy, and therefore it is not possible to identify the task corresponding to the target frame with a relatively high degree of accuracy.
[0036] On the other hand, according to the present embodiment, three patterns of trajectories based on the target frame are matched with the trajectory indicated by the reference trajectory information 190. Even if a task omission or non-routine task occurs, at least one of the trajectory in the period immediately before the task omission or non-routine task occurs and the trajectory immediately after the task omission or non-routine task ends is generally considered to be similar to a portion of the trajectory indicated by the reference trajectory information 190. Therefore, according to the present embodiment, even if a task omission or non-routine task occurs, at least one of the three patterns of trajectories can generally be appropriately matched with a portion of the trajectory indicated by the reference trajectory information 190. As a specific example, according to the present embodiment, even if appropriate matching cannot be performed between the preceding and following periods as shown in FIG. 6A, if appropriate matching can be performed between the preceding and following periods as shown in FIG. 6B, the frame identifier corresponding to the target frame can be identified with relatively high accuracy. Here, the preceding period is a period during which the target worker performed routine tasks. That is, according to this embodiment, even if a movement different from the routine work occurs in the latter half of the preceding and following periods, if matching is performed using the trajectory from the previous period, the similarity in the matching result will be high because the trajectory from the latter half of the preceding and following periods will not be used. Similarly, according to this embodiment, even if a movement different from the routine work occurs in the first half of the preceding and following periods, if matching is performed using the trajectory from the subsequent period, the similarity in the matching result will be high. Therefore, according to this embodiment, even if a movement different from the routine work occurs in the first half of the preceding and following periods ... movement corresponding to the target frame can be identified with relatively high accuracy, and the accuracy of the work content being performed by a worker who is supposed to perform routine work can be analyzed with relatively high accuracy.
[0037] ***Other Configurations*** <Variation 1> When performing matching for a target frame, the matching unit 130 according to this variation uses an absolute coordinate system or a relative coordinate system as the coordinate system of the trajectory indicated by the input trajectory information, instead of using a coordinate system whose origin is the coordinate corresponding to the target frame. In particular, the matching unit 130 uses a relative coordinate system or an absolute coordinate system as the coordinate system of the third target trajectory. Furthermore, the matching unit 130 appropriately stores matching results, particularly storing matching results for a subsequent period. When matching results for a period overlapping with the target period have been stored, the matching unit 130 reuses the stored matching results when performing matching for the target period. The target period is typically a period prior to or before or after the target frame. As a specific example, when matching results for a period identical to the previous period based on the target frame have been stored, the matching unit 130 reuses the stored matching results as matching results for the previous period. In this modification, since matching is performed without converting to a trajectory with the target frame as the origin, the matching results for the subsequent period can be reused when performing matching for the previous period and the preceding and following periods. Therefore, in step S103, the trajectory extraction unit 120 may extract only the trajectory for the subsequent period instead of extracting three patterns of trajectories. Furthermore, in step S104, the matching unit 130 may reuse the matching results for the subsequent period corresponding to a time earlier than the time corresponding to the target frame when performing matching for the previous period and the preceding and following periods.
[0038] According to this modification, because the coordinate system of the trajectory indicated by the input trajectory information is an absolute coordinate system or a relative coordinate system, matching results for a subsequent period based on the target frame can be reused for matching in periods other than the subsequent period. Therefore, according to this modification, matching results for a subsequent period based on the target frame can be reused for matching corresponding to a time later than the time corresponding to the target frame. Specifically, matching results for a first subsequent period based on a first target frame can be reused for matching in a second previous period and a second previous-and-following period based on a second target frame. Here, the second target frame is a frame corresponding to a time later than the time when the first target frame was acquired. It is assumed that there is an overlapping period between the first subsequent period and the second previous period, and that there is also an overlapping period between the first subsequent period and the second previous-and-following period.
[0039] 7 shows an example of the hardware configuration of a motion analysis apparatus 100 according to this modification. The motion analysis apparatus 100 includes a processing circuitry 18 instead of the processor 11, or the processor 11 and the storage device 12. The processing circuitry 18 is hardware that realizes at least a portion of the components included in the motion analysis apparatus 100. The processing circuitry 18 may be dedicated hardware, or may be a processor that executes a program stored in the storage device 12.
[0040] When processing circuitry 18 is dedicated hardware, processing circuitry 18 may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a combination thereof. Motion analysis device 100 may include multiple processing circuits that replace processing circuitry 18. The multiple processing circuits share the role of processing circuitry 18.
[0041] In motion analysis device 100, some functions may be realized by dedicated hardware, and the remaining functions may be realized by software or firmware.
[0042] As a specific example, processing circuitry 18 is realized by hardware, software, firmware, or a combination of these. Processor 11, storage device 12, and processing circuitry 18 are collectively referred to as "processing circuitry." In other words, the functions of each functional component of behavior analysis device 100 are realized by the processing circuitry. Behavior analysis devices 100 according to other embodiments may also have a configuration similar to this modification.
[0043] Second Embodiment The following mainly describes the differences from the above-described embodiment with reference to the drawings.
[0044] *** Description of Configuration *** The configuration of the motion analysis apparatus 100 according to this embodiment is the same as the configuration of the motion analysis apparatus 100 according to embodiment 1. The matching unit 130 according to this embodiment performs a first matching process, and if the similarity between the first target trajectory and the first similar trajectory is lower than a first threshold, performs each of the second matching process and the third matching process. The first threshold may be defined in any way. Specifically, when performing matching, the matching unit 130 first performs matching in the previous period. Furthermore, if the similarity in the previous period is sufficiently high, the matching unit 130 does not perform matching in the previous and following periods or in the following period.
[0045] ***Explanation of Operation*** Fig. 8 is a flowchart showing an example of the operation of motion analysis apparatus 100. The operation of motion analysis apparatus 100 will be explained using Fig. 8. Note that in this flowchart, each period is a period based on the target frame.
[0046] (Step S201) The trajectory extraction unit 120 extracts the trajectory of the target body part in the previous period from the skeletal information.
[0047] (Step S202) The matching unit 130 performs matching for the previous period using the trajectory extracted by the trajectory extraction unit 120 and the reference trajectory information 190.
[0048] (Step S203) If the similarity corresponding to the matching result in step S202 is lower than the first threshold, the motion analysis apparatus 100 proceeds to step S204. Otherwise, the motion analysis apparatus 100 ends the processing of this flowchart. Note that the first threshold is preferably set to a relatively high value to prevent erroneous determination.
[0049] (Step S204) The trajectory extraction unit 120 extracts the trajectories of the target part in each of the before-and-after period and the after-period from the skeletal information.
[0050] (Step S205) The matching unit 130 performs matching for each of the preceding and following periods, using the trajectory extracted by the trajectory extraction unit 120 in step S204 and the reference trajectory information 190.
[0051] (Step S206) The similarity comparing unit 140 outputs the frame identifier corresponding to the highest similarity among the similarity corresponding to the previous period, the similarity corresponding to the previous and following periods, and the similarity corresponding to the following period.
[0052] ***Explanation of Effect of Second Embodiment*** As described above, according to the present embodiment, matching is only performed for the previous period when the similarity corresponding to the previous period is sufficiently high, so that the total number of times matching is performed can be reduced. Therefore, according to the present embodiment, the matching process can be sped up.
[0053] Third Embodiment Hereinafter, differences from the above-described embodiments will be mainly described with reference to the drawings.
[0054] *** Description of Configuration *** The configuration of the motion analysis apparatus 100 according to this embodiment is the same as the configuration of the motion analysis apparatus 100 according to the first embodiment. In the second embodiment, matching is first performed for a previous period. Here, if the similarity corresponding to the previous period is low, it is considered that a missed task or an irregular task occurred in the previous period. Therefore, if the target frame is considered to be a frame acquired within the target period, only matching for a subsequent period based on the target frame is performed. The target period is a period during which a missed task or an irregular task occurs in the work of the target worker. Furthermore, the similarity corresponding to a subsequent period based on the target frame at the time when the time corresponding to the target frame leaves the target period is higher than the similarity corresponding to a subsequent period based on the target frame corresponding within the target period. Therefore, if the similarity corresponding to the subsequent period becomes sufficiently high after the target frame enters the target period, the system returns to performing only matching for the previous period. Note that the target frame is advanced in order.
[0055] The matching unit 130 according to this embodiment performs the third matching process if, after the first matching process, the similarity between the first object trajectory and the first similar trajectory is lower than the second threshold. Furthermore, the matching unit 130 performs the first matching process if, after the third matching process, the similarity between the third object trajectory and the third similar trajectory is lower than the third threshold. The second threshold and the third threshold may each be determined in any manner.
[0056] In this embodiment, since there is basically one matching result, the similarity comparison unit 140 according to this embodiment outputs a frame identifier corresponding to the matching result.
[0057] ***Explanation of Operation*** Figure 9 is a flowchart showing an example of the operation of the motion analysis apparatus 100. The operation of the motion analysis apparatus 100 will be described using Figure 9. Note that in this flowchart, each period is based on the target frame. Furthermore, the target frame is advanced in order to a frame corresponding to a future time, and the processing of this flowchart is executed each time the target frame is advanced.
[0058] (Step S301) If the matching target period is the previous period, the motion analysis apparatus 100 proceeds to step S302. Otherwise, the motion analysis apparatus 100 proceeds to step S306.
[0059] (Step S302) This step is the same as step S201.
[0060] (Step S303) This step is the same as step S202.
[0061] (Step S304) If the similarity in the matching result of step S303 is lower than the second threshold, the motion analysis apparatus 100 proceeds to step S305. Otherwise, the motion analysis apparatus 100 ends the processing of this flowchart.
[0062] (Step S305) The motion analysis apparatus 100 changes the matching target period to the subsequent period. Note that if the similarity corresponding to the subsequent period is lower than the similarity corresponding to the previous period, the motion analysis apparatus 100 does not need to change the matching target period to the subsequent period.
[0063] (Step S306) The trajectory extraction unit 120 extracts the trajectory of the target body part in the subsequent period from the skeletal information.
[0064] (Step S307) The matching unit 130 performs matching in the subsequent period.
[0065] (Step S308) If the similarity in the matching result of step S307 is lower than the third threshold, the motion analysis apparatus 100 proceeds to step S309. Otherwise, the motion analysis apparatus 100 ends the processing of this flowchart.
[0066] (Step S309) The motion analysis apparatus 100 changes the matching target period to the previous period. Note that if the similarity corresponding to the previous period is lower than the similarity corresponding to the subsequent period, the motion analysis apparatus 100 does not need to change the matching target period to the previous period.
[0067] ***Explanation of Effects of Embodiment 3*** As described above, according to this embodiment, since matching is not performed in the preceding and following periods, the total number of times matching is performed can be reduced. Therefore, according to this embodiment, the matching process can be speeded up.
[0068] ***Other Embodiments*** The above-described embodiments can be freely combined, or any of the components of each embodiment can be modified, or any of the components can be omitted from each embodiment. Furthermore, the embodiments are not limited to those shown in embodiments 1 to 3, and various modifications are possible as needed. The procedures described using flowcharts, etc., can be modified as appropriate.
[0069] REFERENCE SIGNS LIST 11 processor, 12 storage device, 13 communication device, 14 input / output interface, 18 processing circuit, 19 signal line, 100 motion analysis device, 110 skeleton extraction unit, 120 trajectory extraction unit, 130 matching unit, 140 similarity comparison unit, 190 reference trajectory information
Claims
1. A motion analysis device having a matching unit that performs a third matching process to extract a trajectory of a target body part of a target worker from a trajectory indicated by reference trajectory information indicating the trajectory of the body part corresponding to the target body part when the target worker is performing the work to be performed by the target worker during a subsequent period from a target time, which is a time corresponding to a target frame included in an input video showing the target worker performing work, to a time in the future than the target time, the third target trajectory being a trajectory derived based on the input video, as a third similar trajectory from a trajectory indicated by reference trajectory information indicating the trajectory of the body part corresponding to the target body part when the target worker is performing the work to be performed.
2. The matching unit performs a first matching process to extract, as a first similar trajectory, from a trajectory indicated by the reference trajectory information, a trajectory of the target part in a previous period that is a period from a time earlier than the target time to the target time and similar to a first target trajectory which is a trajectory derived based on the input video; and performs a second matching process to extract, as a second similar trajectory, from a trajectory indicated by the reference trajectory information, a trajectory of the target part in a previous period that is a period from a time earlier than the target time to a time later than the target time and similar to a second target trajectory which is a trajectory derived based on the input video; the reference trajectory information includes information corresponding to task content corresponding to each time point of the trajectory indicated by the reference trajectory information; and the motion analysis device further performs the similarity comparing unit that outputs information corresponding to a work content corresponding to an estimated work trajectory, which is a trajectory indicated by the reference trajectory information, that corresponds to the highest similarity among the similarity between the first object trajectory and the first similar trajectory, the similarity between the second object trajectory and the second similar trajectory, and the similarity between the third object trajectory and the third similar trajectory.
3. The motion analysis device according to claim 2, further comprising: a skeleton extraction unit that extracts the skeleton of the target worker in each frame included in the input video and generates skeleton information indicating the skeleton extracted in each frame; and a trajectory extraction unit that extracts each of the first object trajectory, the second object trajectory, and the third object trajectory from the generated skeletal information.
4. A motion analysis device as described in claim 2 or 3, wherein the matching unit performs the first matching process, and when the similarity between the first target trajectory and the first similar trajectory is lower than a first threshold, performs each of the second matching process and the third matching process.
5. The motion analysis device of claim 2 or 3, wherein the matching unit performs the third matching process when the similarity between the first target trajectory and the first similar trajectory is lower than a second threshold value when the first matching process is performed, and performs the first matching process when the similarity between the third target trajectory and the third similar trajectory is lower than a third threshold value when the third matching process is performed.
6. A motion analysis device according to any one of claims 1 to 5, wherein the matching unit uses a relative coordinate system or an absolute coordinate system as the coordinate system of the third object trajectory.
7. A motion analysis method in which a computer performs a third matching process to extract, as a third similar trajectory, a trajectory of a target body part of a target worker from a trajectory indicated by reference trajectory information indicating the trajectory of a body part corresponding to the target body part when the target worker is performing the work to be performed by the target worker during a subsequent period from a target time, which is a time corresponding to a target frame included in an input video showing the target worker performing a task, to a time in the future than the target time, and which is a trajectory derived based on the input video.
8. A motion analysis program that causes a motion analysis device, which is a computer, to execute a third matching process in which a trajectory of a target body part of a target worker in a subsequent period that is a period from a target time, which is a time corresponding to a target frame included in an input video showing a target worker performing a task, to a time in the future than the target time, which is a trajectory similar to a third target trajectory, which is a trajectory derived based on the input video, is extracted as a third similar trajectory from a trajectory indicated by reference trajectory information that indicates the trajectory of a body part corresponding to the target body part when the target worker is performing the task that should be performed by the target worker.
Citation Information
Patent Citations
Moving pattern specification device, moving pattern specification method, moving pattern specification program, and recording medium that recorded this
JP2008108008A
Cited By
Periodic work recognition program, method, and device
WO2026083587A1
