Multi-channel-based unmarked optical motion capture system and multi-channel-based unmarked optical motion capture method
Through multi-channel visual sensors and algorithms combining graphics and neural networks, the problem of balancing accuracy, efficiency and computational cost in marker-less motion capture technology is solved, and high-performance and low-cost motion capture effects are achieved.
Patent Information
- Application Number
- CN202410730026.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-30
AI Technical Summary
Existing markerless motion capture technology has difficulties in balancing accuracy, efficiency and computational cost. The sampling frame rate is insufficient and the positioning accuracy is limited. It performs poorly especially in the face of occlusion or extreme scenes.
Using a multi-channel visual sensor system, including intensity channel, spatial difference channel and time difference channel, combined with graphics and visual neural network algorithms, visual features are extracted and mapped through encoder and decoder sub-algorithms to achieve high-precision marker-free motion capture .
It improves the sampling frame rate and positioning accuracy, reduces the amount of post-processing calculations, and realizes a high-performance and low-cost markerless motion capture system that can effectively handle high-speed and static objects.
Smart Images

Figure CN118573979A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motion capture, and in particular to a multi-channel based marker-free optical motion capture system and method. Background Art
[0002] Markerless motion capture does not introduce additional physical markers in the scene. It only uses one or more cameras to shoot the target object and the scene in which it is located. Then, a computer vision algorithm is used to process the collected image or video data to identify the visual feature points in the target object as key points for tracking. The markerless motion capture algorithm has a research history of decades. Early researchers mainly pre-processed the image based on graphics knowledge through background subtraction, contour extraction and other methods, and matched it with the preset algorithm model to obtain the key point position. In recent years, with the major breakthroughs in deep learning in computer vision, neural network algorithms such as Convolutional Neural Networks (CNN) have been widely used in markerless motion capture.
[0003] The current research trends in markerless motion capture mainly focus on how to build a neural network structure; and how to obtain large quantities of high-precision video data to improve overall performance; focusing on the versatility of the motion capture system, that is, achieving relatively accurate motion capture even in the face of mutual occlusion or non-standard objects.
[0004] The main problems of existing markerless motion capture are insufficient sampling frame rate and poor real-time effect, which is mainly limited by the sensor transmission bandwidth and the large delay in the algorithm reasoning process (the real-time frame rate usually does not exceed 100fps); the positioning accuracy is limited to the centimeter level, which needs to be further improved compared with the optical marker motion capture results. In addition, in terms of algorithm research, the current CNN-based markerless motion capture algorithm usually only performs key point target detection on a single frame image, lacks research on multi-frame images, resulting in low processing efficiency.
[0005] In order to improve the sampling frame rate and reduce the algorithm calculation pressure, some studies have used event cameras such as DVS (Dynamic Vision Sensor) in markerless motion capture. Its high-speed and sparse event representation can effectively reduce the calculation cost. However, since event cameras usually have insufficient resolution and insufficient data accuracy (±1 bit), their positioning accuracy is poor and they cannot effectively capture static or slow-moving target objects. In addition, the intelligent and generalized capabilities of existing markerless motion capture have not yet been migrated to the event camera markerless motion capture platform. For occlusion, extreme scenes, and the first appearance of actions or targets, the markerless motion capture capabilities of event cameras have not yet been developed and verified.
[0006] In summary, the existing technology has the problem of not being able to balance accuracy, efficiency and computational cost at the same time. Summary of the invention
[0007] The present invention provides a markerless optical motion capture system and method based on multi-channels, which are used to solve the defects of the prior art in balancing accuracy, efficiency and computational cost, and realize high-performance and low-cost markerless motion capture.
[0008] The present invention provides a multi-channel based marker-free optical motion capture system, comprising a collection part and a processing part; The acquisition unit is used to acquire the inherent visual features of the target object and the scene as visual information; the acquisition unit includes at least one visual sensor, each of which includes at least one data path of an intensity path, a spatial difference path, and a temporal difference path; The processing unit is used to process and analyze the visual information according to a pre-constructed markerless motion capture algorithm to obtain a markerless motion capture result; wherein the markerless motion capture algorithm includes an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract visual features in the visual information, and the decoder sub-algorithm is used to map the visual features to a pre-constructed model of the target object to obtain a markerless motion capture result.
[0009] According to a multi-channel markerless optical motion capture system provided by the present invention, the markerless motion capture result includes a shape result and a posture result; wherein the shape result includes the surface features of the target object, and the posture result includes the features of the target object's behavior and action posture.
[0010] According to a multi-channel markerless optical motion capture system provided by the present invention, the markerless motion capture algorithm is one of a markerless motion capture algorithm based on graphics or model segmentation and a markerless motion capture algorithm based on visual neural network.
[0011] According to a multi-channel markerless optical motion capture system provided by the present invention, the markerless motion capture algorithm further includes a preprocessing sub-algorithm, and the preprocessing sub-algorithm is used to preprocess the visual information and update the visual information using the result of the preprocessing; Wherein, the preprocessing includes: reducing or eliminating noise and / or other interfering information in the visual information to increase the prominence of key point information in the visual information; and / or, The data type of the visual information is converted.
[0012] According to a multi-channel markerless optical motion capture system provided by the present invention, the markerless motion capture algorithm further includes a post-processing sub-algorithm, and the post-processing sub-algorithm is used to post-process the markerless motion capture result; wherein the post-processing includes: The markerless motion capture result is adjusted to improve the accuracy and correctness of the markerless motion capture result.
[0013] According to a multi-channel markerless optical motion capture system provided by the present invention, the processing and analyzing the visual information according to a pre-built markerless motion capture algorithm to obtain a markerless motion capture result specifically includes: extracting inherent visual features of the visual information of each channel according to a pre-selected channel processing method based on the encoder sub-algorithm; Based on the decoder sub-algorithm, the inherent visual features are mapped to a pre-built model of the target object according to a pre-selected pathway processing method to obtain a markerless motion capture result; the pathway processing method includes a single pathway processing method, a pathway fusion processing method, and a pathway cross processing method; Among them, the single-pathway processing method includes extracting or mapping features from the visual information of different pathways respectively; the cross-pathway processing method includes introducing visual information from another pathway during processing visual information of one pathway to assist the current pathway in feature extraction or mapping; the pathway fusion processing method includes fusing visual information from all pathways to perform feature extraction or mapping.
[0014] According to a multi-channel markerless optical motion capture system provided by the present invention, the markerless motion capture result includes two-dimensional space coordinates and / or three-dimensional space coordinates; The three-dimensional spatial coordinates are obtained by performing three-dimensional calculation based on the two-dimensional markerless motion capture results, or are directly obtained in an end-to-end manner based on the markerless motion capture algorithm.
[0015] The present invention also provides a multi-channel marker-free optical motion capture method, comprising: Acquire the inherent visual features of the target object and the scene as visual information based on a pre-built acquisition unit; the acquisition unit includes at least one visual sensor, each of the visual sensors includes at least one data path of an intensity path, a spatial difference path and a temporal difference path; Processing and analyzing the visual information according to a pre-built markerless motion capture algorithm based on a pre-built processing unit to obtain a markerless motion capture result; Among them, the markerless motion capture algorithm includes an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract visual features in the visual information, and the decoder sub-algorithm is used to map the visual features to a pre-built model of the target object to obtain a markerless motion capture result.
[0016] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the multi-channel-based marker-free optical motion capture method as described above is implemented.
[0017] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the multi-channel-based markerless optical motion capture method as described in any one of the above is implemented.
[0018] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned multi-channel-based marker-free optical motion capture methods.
[0019] The present invention provides a multi-channel based markerless optical motion capture system and method, the system includes a collection unit and a processing unit; the collection unit is used to collect inherent visual features in the target object and the scene as visual information; the collection unit includes at least one visual sensor, each of the visual sensor includes at least one data channel among an intensity channel, a spatial difference channel and a temporal difference channel; the processing unit is used to process and analyze the visual information according to a pre-constructed markerless motion capture algorithm to obtain a markerless motion capture result; wherein the markerless motion capture algorithm includes an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract visual features in the visual information, and the decoder sub-algorithm is used to map the visual features to a pre-constructed model of the target object to obtain a markerless motion capture result. The present invention utilizes three-channel visual sensor technology to replace the original image sensor technology, and utilizes the characteristics of each channel and the complementary characteristics of multiple channels to carry out targeted algorithm design, so that the system is efficient and robust, and can maintain a certain key point positioning accuracy during high-speed sampling; at the same time, the high-speed spatiotemporal change perception capability of the sensor is utilized to improve the sampling frame rate of the system, and the post-processing calculation amount is reduced through sparse data representation, thereby improving the real-time frame rate. Overall, a high-performance and low-cost markerless motion capture system is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 It is one of the structural schematic diagrams of the multi-channel-based marker-free optical motion capture system provided by the present invention.
[0022] Figure 2 It is a schematic diagram of a usage scenario of the multi-channel markerless optical motion capture system provided by the present invention.
[0023] Figure 3 The present invention provides a schematic diagram of the pixel array structure of a motion capture camera module and a visual sensor in accordance with an embodiment of a multi-channel markerless optical motion capture system.
[0024] Figure 4 It is a flow chart of a channel cross processing method of a multi-channel markerless optical motion capture system provided by the present invention.
[0025] Figure 5 It is a flow chart of a channel fusion processing method of a multi-channel markerless optical motion capture system provided by the present invention.
[0026] Figure 6 This is the second structural schematic diagram of the multi-channel marker-free optical motion capture system provided by the present invention.
[0027] Figure 7 It is a schematic diagram of the structural framework of the motion capture camera equipment of the multi-channel markerless optical motion capture system provided by the present invention.
[0028] Figure 8 It is a schematic flow chart of the multi-channel-based marker-free optical motion capture method provided by the present invention.
[0029] Fig. 9 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] In the prior art, optical-based motion capture includes two categories: optical marker motion capture and markerless motion capture. Setting optical markers or other sensors on the target object may bring higher positioning accuracy and sampling speed by introducing additional key point features, but it also makes the overall motion capture system very complex, costly, and limited in application environment. In addition, the high-precision positioning of the marker points in non-standard rigid body scenes will greatly reduce the actual positioning accuracy due to the soft tissue effect. For example, in human posture recognition, the marker points are set on the skin surface, and muscle deformation makes the marker points and the skeleton have no rigid body association, that is, the marker points cannot accurately represent the human skeleton. According to clinical X-ray test results, the positioning accuracy of optical marker motion capture on the human skeleton is only at the centimeter level.
[0032] In contrast, the markerless motion capture algorithm extracts the original feature information in the scene rather than introducing additional features. In other words, markerless motion capture does not introduce additional markers or devices in the scene. It only uses one or more cameras to record the scene like a normal shoot, and then uses computer vision algorithms to process the collected image or video data to identify the key points in the target object for tracking. The hardware equipment for markerless motion capture is simple, and the data recording is not easily affected by the environment. At the same time, the hardware equipment and software algorithm are decoupled. After the algorithm is optimized and updated, the motion capture data collected can be directly migrated to the new algorithm to obtain higher performance.
[0033] On the sensor side, markerless motion capture currently usually uses 60fps / 120fps RGB cameras or depth cameras, and the overall sampling frame rate is not high. In addition, due to the complexity of the algorithm, the frame rate of real-time reasoning is usually lower than the sampling frame rate of the camera, which leads to a higher sampling frame rate requirement for the camera in markerless motion capture.
[0034] The infrared high-speed camera (i.e. a special CMOS image sensor, CIS) currently used in the field of motion capture has a small dynamic range and slow shooting speed, which cannot meet the requirements. Event Camera, or Event-based Vision Sensor (EVS), can continuously achieve high-speed recording, among which the most representative research result is Dynamic Vision Sensor (DVS). Unlike CIS (CMOS Image Sensor) pixels that record the absolute value of the incident light intensity, each pixel of DVS records the intensity change of the incident light at the phase position, and only when the change exceeds a certain threshold will it output a positive or negative pulse (indicating a decrease in light intensity or an increase in light intensity), thereby greatly reducing the amount of data per frame, reducing data redundancy, and achieving an extremely high frame rate (its inverse is also called time resolution, which can reach 10,000fps). However, a simple DVS only senses the change in light intensity. Although the data redundancy is extremely low, a large amount of color information is lost, and the pixel accuracy is also insufficient (it can only output positive and negative pulses). In addition, due to the complex circuit of DVS pixels, the area of a single pixel is much larger than that of CIS pixels, making it difficult to achieve high spatial resolution. Therefore, it is difficult to achieve universal visual perception only through DVS, and it usually needs to be combined with CIS with high spatial resolution and high image quality. However, the existing solution to combine them is mainly to integrate CIS pixels and DVS pixels in the same pixel, which will further increase the pixel size and reduce the resolution of the pixel array.
[0035] Since the positioning accuracy of motion capture is affected by the resolution of the image sensor and the data accuracy, existing event cameras cannot be applied to high-performance markerless motion capture systems due to problems such as insufficient resolution, insufficient data accuracy (±1 bit), and inability to capture static objects.
[0036] Based on this, the present invention proposes a multi-channel based markerless optical motion capture system and method.
[0037] Combine the following Figure 1-Figure 7 Describe the multi-channel markerless optical motion capture system of the present invention, Figure 1 is one of the structural schematic diagrams of the multi-channel marker-free optical motion capture system provided by the present invention, such as Figure 1 As shown, the system includes a collection unit 110 and a processing unit 120 .
[0038] It is understood that motion capture (MoCap), referred to as motion capture, refers to the process of measuring the motion trajectory or posture of a target object in real three-dimensional space and remodeling it in virtual space. In the specific implementation process, motion capture technology determines the time and space coordinates of key points on the target object. Based on the rigid body assumption (i.e., assuming that the distance between two key points is fixed, such as the elbow and wrist), the target object is modeled through these key points.
[0039] It can be understood that motion capture technology can be mainly divided into two categories according to the principle: optical motion capture and inertial motion capture. The present invention is mainly aimed at markerless motion capture in optical motion capture. In markerless optical motion capture, the key points on the target object are pre-set as virtual markers on the target object according to the characteristics of the target object. For example, the key points of the human elbow and knee are specified as key points in the algorithm. In one embodiment, when recording starts, the key points are determined by designing virtual markers on the target, or by manually calibrating the key points in the system. During the subsequent movement process, the system always tracks these pre-calibrated positions. Furthermore, the key points on the target object can also be automatically extracted by the algorithm as virtual markers. For example, the algorithm is pre-set to automatically extract visual feature points from the behavior. The spatiotemporal coordinates of the key points on the target object are determined by photographing the target object with one or more visual sensors and extracting key points based on visual features.
[0040] In the embodiment of the present invention, the acquisition unit 110 is configured to shoot the target object and the scene. Specifically, the acquisition unit 110 collects the inherent visual features in the target object and the scene as visual information. It is understandable that the obtained shooting result includes the target object and the environment in which it is located. Further, it should be pointed out that the inherent visual features refer to the features that are not artificially introduced and that the target object and the scene itself have.
[0041] The acquisition unit 110 includes at least one visual sensor. The present invention does not limit the number of visual sensors, and the number can be selected according to needs during actual operation. It can be understood that if only one visual sensor is used, two-dimensional positioning of key points can be achieved. Further, three-dimensional positioning can be achieved based on the depth information provided by the depth camera, or by directly using a neural network to predict the depth according to the scene; if multiple visual sensors are used, the visual sensors can be set at different positions around the target object to achieve three-dimensional positioning.
[0042] It should be noted that image sensors are sensors used to obtain visual information in a scene, and are also called visual sensors. This is because the frame-based sampling technology outputs a series of image frames. For image sensors with time differential paths or spatial differential paths, the visual information returned may not necessarily be represented as image frames. In order to avoid ambiguity, the embodiments of the present invention are uniformly described using visual sensors.
[0043] The present invention does not limit the position setting method of multiple visual sensors. In actual operation, they can be set according to needs. In a specific embodiment, 8 groups of visual sensors are selected to form a motion capture camera group. Figure 2 The settings shown are used to perform motion capture on the target object.
[0044] The visual sensor is used to obtain visual information of the target object and the scene, and the visual information includes the inherent visual features of the target object and the scene; the path type of the visual sensor includes at least one of an intensity path, a spatial difference path, and a time difference path. It should be emphasized that when the acquisition unit has multiple visual sensors, the multiple visual sensors can have different data path types, for example, one visual sensor has an intensity path and a time difference path, and another visual sensor has an intensity path, a time difference path, and a spatial difference path at the same time.
[0045] Furthermore, in some embodiments, the acquisition unit 110 also includes an optical module, which is arranged in front of the visual sensor and is used to converge light and image it onto the pixel array surface of the visual sensor. The optical module mainly includes an optical lens, which is used to converge light and image it onto the pixel array surface of the visual sensor. In general, the optical module can directly use a conventional lens, and generally does not require fill light, but uses natural light in the scene. In special cases, white light is usually added to increase the brightness of the scene.
[0046] In some embodiments, the optical module also includes a filter. It should be noted that a single markerless motion capture system does not need to be provided with a filter in the optical module, but when collecting motion capture data, the markerless motion capture system usually records the content in the same scene at the same time as the marker motion capture system, and uses the result of the marker motion capture as the true value to calibrate the markerless motion capture data, or to evaluate the recognition accuracy of the markerless motion capture. In this case, due to the presence of the marker motion capture in the scene, there is infrared light interference, so it is necessary to add a visible light filter to the optical module, that is, to filter out infrared light and ultraviolet light, and only retain visible light, such as Figure 3 (a) As shown. Correspondingly, if the marker motion capture does not use infrared light, the visible light filter is correspondingly set to a filter that uses light.
[0047] Furthermore, in one embodiment, the multi-channel markerless optical motion capture system provided by the present invention is used to form a weak marker motion capture system. In the weak marker motion capture system, it is necessary to design a number of marker points on the target object, and the camera needs to track the characteristics of the marker points and the inherent characteristics of the target object at the same time. Since one part of the channel needs to be used for marker motion capture and the other part of the channel involves markerless motion capture, it is necessary to set a filter for the corresponding light of the marker motion capture on the corresponding channel, such as Figure 3 (b) is shown, and the present invention will not elaborate on this.
[0048] The visual sensor of the embodiment of the present invention is one of the following: a single intensity channel sensor, a single TD channel sensor, a single SD channel sensor, an intensity+TD dual channel sensor, an intensity+SD dual channel sensor, an SD+TD dual channel sensor, and an intensity+TD+SD triple channel sensor.
[0049] It should be emphasized that the three-channel visual sensor technology involved in the multi-channel markerless optical motion capture system mentioned in the present invention emphasizes that the information channel contains multiple channels, and it is not necessary to require the existence of three channels. The three channels can be concentrated on one sensor, that is, directly using a three-channel sensor, and the three channels can also be separated on multiple sensors, that is, combined using the above non-three-channel sensor method.
[0050] It is understandable that if all visual sensors are single intensity path sensors, it is a traditional motion capture solution in the prior art. In the actual implementation process, the embodiment of the present invention does not adopt the setting scheme that all visual sensors are single intensity path sensors, and at least one time or space differential path is set on the information channel.
[0051] It should be noted that the visual sensor with the intensity channel includes a visual sensor that adopts a sampling method similar to CIS, which is based on frame sampling and records the absolute output of all pixels in each frame of the image. It should be emphasized that the pixel information output by the visual sensor with the intensity channel can be either grayscale value or color value.
[0052] The visual sensor with the channel type of temporal difference (TD) outputs the temporal difference value of the corresponding pixel unit; the temporal difference value is the difference and quantization result between the output value of the photosensitive subunit at the current moment and the output value at the previous moment. In other words, the output of the temporal difference is the result of the weighted difference between the intensity signal output of the current pixel position at the current moment and the intensity signal output of the current pixel position at the previous moment.
[0053] The visual sensor with the spatial difference (SD) channel type is characterized by sampling based on the spatial variation of pixels, and the output corresponding to the pixel unit is the spatial difference value, which is the difference and quantization result between the output value of the photosensitive subunit at the current moment and the output value of the target photosensitive subunit at the current moment. In other words, the output of the spatial difference channel is the result of weighted difference between the intensity signal output of the current pixel position at the current moment and the intensity signal output of at least one arbitrary pixel position at the current moment.
[0054] It should be understood that, under the condition that the spatiotemporal differential path (i.e., the time differential path and / or the space differential path) cannot be directly obtained due to hardware limitations, the visual information obtained by the high-speed intensity path can be used only, and the preset simulation algorithm stored in the acquisition unit 110 can be used for simulation. The preset simulation algorithm will be further described in the subsequent embodiments of the present invention. In addition, if two visual sensors use the same path type, such as two three-path sensors, their performance indicators and design forms can be different, so as to achieve complementary advantages.
[0055] Furthermore, the visual sensor is preferably a three-channel visual sensor. It is understandable that for a visual sensor having only two channels, namely, an intensity channel and a time difference channel, the information collection is incomplete from the perspective of visual primitives. For example, when there is a large-scale flash or a drastic change in light intensity in the picture, all TD pixels output events leading to saturation, the DVS channel cannot output valid information, and the CIS channel cannot respond immediately due to frame rate limitations. However, such corner cases are very common in autonomous driving and are crucial to driving safety. Therefore, on the basis of the existing intensity channel + time difference channel, a spatial difference channel is introduced to form a three-channel visual sensor. The spatiotemporal difference channel of the three-channel sensor can work at an extremely high frame rate. The sampling frame rate of a general motion capture camera will not exceed 500fps, and the sampling frame rate of the spatiotemporal difference can exceed 1000fps or even reach 10000fps. Using a three-channel sensor to complete active marker positioning can effectively improve marker blur in high-speed scenes, and greatly increase the maximum number of markers that can be captured at one time in low-speed scenes. The three-channel sensor can greatly improve the visual sensor chip's perception of spatiotemporal dynamic information, and achieve high-precision, high frame rate, high dynamic range, efficient and robust visual representation.
[0056] In some embodiments, the visual sensors are all three-channel visual sensors; accordingly, the channel types of the visual sensors are intensity channel, spatial difference channel and time difference channel.
[0057] Specifically, there are many ways to implement the three-channel visual sensor involved in this embodiment. Preferably, the three channels are integrated in the same camera or the same visual sensor chip, which has the advantage of high integration and completely solves the problem of multi-sensor signals requiring time and space alignment. In addition, a multi-sensor solution with three separate channels can also be used.
[0058] It should be noted that the three-channel sensor, three-channel chip, three-channel image sensor, three-channel vision sensor, etc. mentioned in the present invention all refer to new image sensors that are different from traditional single-intensity channel image sensors.
[0059] The three-channel sensor has scalability in resolution and can achieve high data accuracy. The spatial differential channel can capture the movement of static objects at high speed, which is expected to overcome the defects of existing event cameras in motion capture applications. Its efficient and robust visual representation and multi-channel highly integrated design are expected to simplify the marker motion capture system and improve the camera's robustness to the light environment. The three-channel visual sensor has greatly improved its perception of spatiotemporal dynamic information, achieving high precision, high frame rate, and high dynamic range. It can greatly improve the positioning accuracy and sampling rate of the marker motion capture system, and because the spatiotemporal differential operation is implemented in the visual sensor chip, it alleviates the processing pressure of the back-end equipment.
[0060] Furthermore, the embodiment of the present invention configures the processing unit 120 to process and analyze the visual information according to a pre-constructed markerless motion capture algorithm to obtain a markerless motion capture result.
[0061] It should be noted that, in some embodiments, the markerless motion capture results include shape results and posture results; wherein the shape results include surface features of the target object, and the posture results include features of the target object's behavior and action posture.
[0062] Specifically, taking human body motion capture as an example, the SMPL model is used to represent the unmarked motion capture results. The SMPL model is divided into shape parameters and posture parameters. The former corresponds to the shape result, which expresses the epidermal characteristics of the human body, such as height, weight, and thinness. The latter corresponds to the posture result, which expresses the characteristics of the human body's behavior and posture, or can be understood as a modeling of the human skeleton. The shape result is combined with the posture result to more accurately perform motion capture modeling on the human body target. For other target objects other than the human body, such as human face, human hands, animals, robots, etc., the shape result and posture result can also be combined to model and characterize the motion capture results. This is different from the marker-based optical motion capture technology (marker motion capture). The optical marker point information obtained by marker motion capture can often only be used to construct shape results, while the posture results need to be obtained by other means.
[0063] Furthermore, it is emphasized that in some embodiments, the markerless motion capture algorithm needs to be adapted to the data path type of the visual information.
[0064] In some embodiments, the intensity pathway unlabeled motion capture algorithm is obtained by training a deep neural network using a large number of unlabeled image samples obtained using the intensity pathway; the spatial difference pathway unlabeled motion capture algorithm is obtained by training a deep neural network using a large number of unlabeled image samples obtained using the spatial difference pathway; the temporal difference pathway unlabeled motion capture algorithm is obtained by training a deep neural network using a large number of unlabeled image samples obtained using the temporal difference pathway.
[0065] It should be emphasized that, in some embodiments, the selection of the unmarked motion capture algorithm in the processing unit 120 is related to the acquisition path corresponding to the visual information acquired by the acquisition unit 110. Specifically, the intensity path visual information acquired by the intensity path is processed using the intensity path unmarked motion capture algorithm, the spatial difference path visual information acquired by the spatial difference path is processed using the spatial difference path unmarked motion capture algorithm, and the temporal difference path visual information acquired by the temporal difference path is processed using the temporal difference path unmarked motion capture algorithm. Different unmarked motion capture algorithms are trained or constructed based on a large number of unmarked image samples acquired by different paths. The present invention does not place specific training or construction methods, for example, it can be any one of supervised, unsupervised and reinforcement learning.
[0066] Among them, the training method of supervised learning requires a large amount of calibration data, and there are many ways to obtain data labels, such as using a marked motion capture system to obtain data labels to construct sample data, using manual annotation to obtain data labels to construct sample data, using a large model to obtain data labels to construct sample data, etc. Any method can be used in the actual operation process, and the above examples do not represent a limitation of the present invention.
[0067] In addition, training can also use unsupervised or reinforcement learning methods, allowing the algorithm to extract feature information from the scene and further generate key points. This method avoids a large amount of data labeling and helps the algorithm make better judgments when facing target objects that it has never seen before.
[0068] Furthermore, the data path type of the markerless motion capture algorithm and the visual information may also be incompatible. The data path type of the visual information is converted by a preset simulation algorithm stored in the processing unit 120 to convert it into a data path type that is compatible with the markerless motion capture algorithm in the processing unit 120.
[0069] In some embodiments, the markerless motion capture algorithm is one of a markerless motion capture algorithm based on graphics or model segmentation and a markerless motion capture algorithm based on visual neural network. It should be noted that, in combination with the above description, the present invention does not limit the construction or training method of the markerless motion capture algorithm.
[0070] The unmarked motion capture algorithm includes an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract visual features from the visual information, and the decoder sub-algorithm is used to map the visual features to a pre-built model of the target object to obtain an unmarked motion capture result. In more detail, in a specific embodiment, for an unmarked motion capture algorithm based on a visual neural network, the encoder sub-algorithm corresponds to a convolutional layer, the feature information can be a heat map or other intermediate representation information, and the decoder sub-algorithm corresponds to a fully connected layer.
[0071] Specifically, the function of the processing unit 120 is to integrate the output of the visual sensor in the acquisition unit 110 and perform "necessary processing". The necessary processing here refers to two aspects. On the one hand, the pixel information output by the pixel array is encoded and output according to the interface protocol; on the other hand, the signal is processed and calculated. The processing and calculation tasks include but are not limited to pre-processing, key point detection and tracking, and post-processing. The above processing and calculation tasks are implemented by a pre-built markerless motion capture algorithm.
[0072] In some embodiments, the markerless motion capture algorithm further includes a preprocessing sub-algorithm, the preprocessing sub-algorithm being used to preprocess the visual information and update the visual information using the result of the preprocessing; Wherein, the preprocessing includes: reducing or eliminating noise and / or other interfering information in the visual information to increase the prominence of key point information in the visual information; and / or, The data type of the visual information is converted.
[0073] Specifically, it should be emphasized that preprocessing is not a mandatory step and may or may not be performed. Accordingly, the preprocessing task may be incorporated into the step of performing encoding by the encoder sub-algorithm, which will not be described in detail in this embodiment.
[0074] It is understandable that, in the actual operation process, the moving part of the target object can be mainly observed in the time difference path, in addition, there is a large amount of noise and / or other interference information, and the outline of the target object can be mainly observed in the space difference path, but the outline of the background is also included. In order to facilitate subsequent processing, it is necessary to pre-process the visual information data obtained by the time difference path and the space difference path. The main purpose is to reduce or eliminate the noise and / or other interference information in the visual information to increase the prominence of the key point information in the visual information. The visual information obtained by the intensity path can be selected according to the needs whether to be pre-processed. Afterwards, the visual information is updated using the pre-processed results. In addition, the method used for pre-processing of the present invention is not limited and can be selected according to actual needs.
[0075] In more detail, the preprocessing includes but is not limited to the following types: noise reduction processing, threshold screening processing, secondary difference processing, erosion and dilation processing, reconstruction processing, masking processing and image enlargement.
[0076] It should be emphasized that, in actual operation, one or more of them can be selected for execution, and the order of multiple executions is not fixed and can be adjusted according to actual conditions, and the present invention does not limit this.
[0077] In some embodiments, the main purpose of converting the data type of visual information includes adapting the input requirements of other algorithms in subsequent processing steps. After the visual information is collected, for example, under the condition that the spatiotemporal differential path (i.e., the time differential path and / or the space differential path) cannot be directly obtained due to hardware limitations, only the high-speed intensity path can be used to simulate using a preset simulation algorithm. The specific process is: use a high-speed camera to obtain high-speed intensity path visual information, and at the beginning of the processing unit 120, the visual information is calculated for time difference and space difference to obtain the other two paths. In addition, the original intensity path needs to be frame-drawn and downsampled. If it is originally 600fps, 1 frame is selected for every 10 frames of visual information and downsampled to 60fps, thereby reducing the amount of data. Through this simulation method, the three-path information is obtained and the next step of processing is performed according to the previous embodiment, so that multi-path coordination and efficient motion capture can still be guaranteed.
[0078] Furthermore, key point detection and tracking are achieved through the decoder sub-algorithm and the encoder sub-algorithm, including the extraction and mapping of inherent visual features.
[0079] Furthermore, based on the decoder sub-algorithm and the encoder sub-algorithm, the visual information obtained by each path is processed according to a pre-selected path processing method.
[0080] In some embodiments, the processing and analyzing the visual information according to a pre-built markerless motion capture algorithm to obtain a markerless motion capture result specifically includes: Based on the encoder sub-algorithm, extracting inherent visual features from the visual information of each channel according to a pre-selected channel processing method; Based on the decoder sub-algorithm, the inherent visual features are mapped to a pre-built model of the target object according to a pre-selected pathway processing method to obtain a markerless motion capture result; the pathway processing method includes a single pathway processing method, a pathway fusion processing method, and a pathway cross processing method; Among them, the single-pathway processing method includes extracting or mapping features from the visual information of different pathways respectively; the cross-pathway processing method includes introducing visual information from another pathway during processing visual information of one pathway to assist the current pathway in feature extraction or mapping; the pathway fusion processing method includes fusing visual information from all pathways to perform feature extraction or mapping.
[0081] Specifically, the encoder sub-algorithm is used to extract visual features from visual information. In the specific implementation process, different channel processing methods can be used to extract features from visual information obtained by different data channels. Naturally, the decoder sub-algorithm is used to map visual features to a pre-built model of the target object. In the specific implementation process, different channel processing methods can be used to map features from visual information obtained by different data channels.
[0082] In some embodiments, the obtained markerless motion capture results include two-dimensional space coordinates and / or three-dimensional space coordinates; wherein the three-dimensional space coordinates are obtained by performing three-dimensional calculation based on the two-dimensional markerless motion capture results, or are directly obtained in an end-to-end manner based on the markerless motion capture algorithm.
[0083] That is to say, the direct output of the markerless motion capture algorithm can be the two-dimensional coordinates or the three-dimensional coordinates of the visual feature points (key points) in the model of the target object.
[0084] It is understandable that for markerless motion capture, based on the 2D image returned by a camera, the 2D coordinates of feature points can be extracted, or the 3D coordinates can be directly obtained through the end-to-end network reasoning of the markerless motion capture algorithm, which does not necessarily require multiple cameras. The methods of obtaining 3D coordinates from 2D images can be typically divided into detection-based methods and regression-based methods.
[0085] The detection-based method includes: after obtaining the two-dimensional coordinates, further analyzing the position information of the visual sensor, and finally obtaining the three-dimensional spatial coordinates of the marked point. Specifically, spatial matching is performed according to the two-dimensional coordinates of the key points returned by each sensor to obtain the three-dimensional coordinates of the key points. For example, in one embodiment, a basic triangulation algorithm is used to perform spatial matching according to the two-dimensional coordinates of the key points returned by each visual sensor, including determining the trajectory of the key points according to the principle of continuity, and determining the accurate three-dimensional coordinates of the key points according to the principle of triangulation.
[0086] Regression-based methods include: Further, the markerless motion capture algorithm can also estimate the three-dimensional coordinates based on the two-dimensional coordinates of the key points returned by each camera and the three-dimensional clues in it.
[0087] The above detection-based method and regression-based method are both post-fusion methods. You can also use the pre-fusion method to directly input the visual information of multiple visual sensors into the markerless motion capture algorithm of the end-to-end network to obtain two-dimensional coordinates.
[0088] Furthermore, the 2D coordinates may be obtained first, and then the 3D coordinates may be inferred by training a neural network through prior knowledge such as motion rationality.
[0089] Based on the above embodiments, the visual feature points (key points) mentioned in the above methods are mainly based on the skeleton model, that is, the markerless motion capture results are all posture results. In other embodiments, taking the SMPL model as an example, the markerless motion capture results also include shape results. Similarly, the end-to-end network also supports direct estimation of shape results, for example, the markerless motion capture algorithm directly outputs the shape parameters of SMPL based on the input.
[0090] Furthermore, the channel processing method is mainly aimed at the situation of multiple cameras, including a single channel processing method, a channel fusion processing method and a channel cross processing method.
[0091] That is, the encoder sub-algorithm can process the visual information of multiple cameras and / or multiple channels separately, fused or cross-processed when extracting features. The decoder sub-algorithm can also process the visual information of multiple cameras and / or multiple channels separately, fused or cross-processed when performing feature mapping.
[0092] In a specific embodiment, the encoder sub-algorithm adopts separate processing, and the decoder sub-algorithm adopts fusion processing.
[0093] More specifically, the single-path processing method performs unmarked target detection and key point tracking on a single path among the three paths. For the intensity path, the processing steps include: first inputting the visual information into the intensity path unmarked motion capture algorithm, extracting feature information through the encoder, and then mapping the features to the key point positions of the model of the target object through the decoder to obtain the unmarked motion capture results including the key point coordinates. It should be noted that for CNN, the encoding process corresponds to the convolutional layer, the feature information can be a heat map or other intermediate representation information, and the decoding process corresponds to the fully connected layer.
[0094] In some embodiments, intensity-path markerless motion capture algorithms such as SMPLer-X, DeepLabCut, and Optiflex.
[0095] Specifically, SMPLer-X takes the ViT network with large model-level parameters as its core, introduces almost all existing mainstream unlabeled motion capture data sets for training, and realizes the first high-precision and universal motion capture large model; DeepLabCut realizes the generalization of animal behavior motion capture through transfer learning on the basic CNN network structure; Optiflex extracts optical flow information from the intensity channel to effectively enhance the network's recognition accuracy and other performance.
[0096] For the spatial difference pathway, since the visual information obtained by spatial difference is similar to the result after edge detection, in a specific embodiment, it is first necessary to reduce the noise of the visual information through a preprocessing sub-algorithm. For the spatial difference pathway with high data accuracy, the fastest method is threshold processing to remove the output results in the image with values below the threshold. The result of the threshold processing is then input into the spatial difference pathway unmarked motion capture algorithm to identify the target object and preset key points to obtain the unmarked motion capture result. It should be emphasized that compared with the intensity pathway, sparser data helps to increase processing speed and reduce computational complexity and network complexity.
[0097] For the time difference path, the time difference path is similar to the space difference path, and the visual information obtained is also similar to the result after edge detection, but the difference is that the time difference path shows the change information in time, and usually can only record the moving part. In a specific embodiment, it is first necessary to reduce the noise of the visual information through the preprocessing sub-algorithm, and perform threshold processing to remove the output results with values below the threshold in the image. Then, the result of the threshold processing is input into the time difference path unmarked motion capture algorithm to identify the key points of the target object and the moving part of the target object (recorded as the first key point), and obtain the two-dimensional coordinates of the first key point. For the key points of the non-moving part of the target object (recorded as the second key point), since the time difference path cannot detect it, the default key point position inherits the position at the previous moment by default.
[0098] It can be understood that the advantage of spatiotemporal differentiation (i.e., time differentiation and / or space differentiation) is that the data has already completed time differentiation in the visual sensor, the data is sparse, the amount of data transmitted is small, and thus the frame rate can be increased and the computational pressure of the post-processing module can be reduced.
[0099] The significance of the need for single-path processing is that the system of the present invention may be path-discrete, for example, the time difference and space difference paths come from two different camera devices or there are only one or two paths, in which case separate processing is required.
[0100] Furthermore, in order to highlight the advantages of multi-path complementation, a visual sensor composed of two or more pathways is used to acquire visual information. In this case, the encoder sub-algorithm and the decoder sub-algorithm can select a pathway cross processing mode or a pathway fusion processing mode.
[0101] Specifically, the cross-pathway processing method refers to that some pathways assist other pathways in achieving markerless motion capture, that is, in the process of processing a certain pathway, the information of another pathway is introduced to assist the current pathway in processing data more accurately.
[0102] This embodiment provides a possible solution to the channel cross processing method. It is understandable that this does not represent a limitation on the channel cross processing method. The channel cross processing method can use any channels to assist other channels in achieving markerless motion capture.
[0103] like Figure 4 As shown, in this embodiment, the approximate key point position is pre-identified from the intensity path, and high-precision and high-frame rate positioning is performed based on the spatiotemporal difference path. In other words, the spatial difference path is the main body, the intensity path assists in identifying key points through rich texture and color information, and the spatial difference provides motion trends to track the key point position of the next frame.
[0104] Specifically, intensity visual information is obtained based on the intensity pathway without threshold processing, and the target object and background information are retained. The intensity visual information is input into the intensity pathway markerless motion capture algorithm, and the markers are quickly identified and serialized based on the additional semantic information to determine the number of target objects, occlusion conditions and other information.
[0105] A specific embodiment is given to illustrate the rapid target recognition and serial number determination of the mark based on the additional semantic information of the intensity path, and the judgment of the number of target objects, occlusion conditions and other information: It can be understood that in this embodiment, the encoder sub-algorithm part can be processed separately, that is, the visual information of the intensity path, the time difference path and the space difference path are separately feature extracted, and a number of key point information is obtained through other paths. These key points have extremely high precision in time and space. During the execution of the decoder sub-algorithm, the intensity path can assist other paths to map these key points to the model of the target object. Specifically, the intensity path is used to obtain accurate recognition results of semantic information, and then the two recognition results are matched. The recognition result point of the time and space difference path is closest to the recognition result point of the intensity path and is judged to be the same key point.
[0106] In some embodiments, considering that the frame rate of the intensity path may be much lower than the frame rate of the spatiotemporal differential path, the result of the intensity path recognition alone may have a large error with the key point position between the current moment, and grayscale reconstruction is introduced. Grayscale reconstruction is performed according to the visual information of the intensity path, the visual information of the spatial differential path, and / or the visual information of the temporal differential path to obtain a grayscale reconstruction result. The grayscale reconstruction result is used to replace the visual information of the intensity path and input into the intensity path markerless motion capture algorithm to obtain a two-dimensional coordinate estimate of the key point. It should be noted that the efficient grayscale reconstruction algorithm of this embodiment can be directly based on the visual information of the intensity path superimposed on the spatiotemporal differential visual information, or a neural network method such as UNet or CNN can be used to achieve reconstruction. The marker point target detection algorithm can use a SOTA target detection algorithm such as YOLO, and the present invention does not limit this.
[0107] The two-dimensional coordinates of the key points identified in advance are then estimated and input into the spatial differential path markerless motion capture algorithm for further high-precision positioning. Specifically, the spatial differential image is threshold processed, and the result of the threshold processing is input into the spatial differential path markerless motion capture algorithm, and the target object and the preset key points are identified based on the spatial differential path markerless motion capture algorithm, and the two-dimensional coordinates of the key points are estimated based on the recognition results and the two-dimensional coordinates of the key points.
[0108] The above operations are mainly performed on a single frame of visual information, but the correlation information between frames needs to be obtained through the time difference path. Specifically, the time difference path describes the movement trend of each key point in the current frame of visual information. Based on this, the approximate position of the key point in the next frame can be predicted to achieve the tracking task.
[0109] Furthermore, this embodiment provides a possible solution for the path fusion processing method. It is understandable that this does not represent a limitation on the path fusion processing method. The path fusion processing method can adopt a variety of fusion methods. For example, the following two methods: The first is post-fusion processing, that is, the encoder sub-algorithm adopts a separate processing method to extract features from each channel separately, and then the decoder sub-algorithm adopts a fusion processing method to process the features of each channel separately to obtain the center positioning result of the marker point, and then average the positioning results of each marker or take a weighted average according to the prior confidence to obtain the final marker positioning result, which improves the positioning accuracy compared with the single channel. The second is pre-fusion processing, that is, the encoder sub-algorithm adopts a fusion processing method to reconstruct the original visual information data of the three channels with high performance using algorithms such as neural networks to obtain high-speed and high-precision intensity channel visual information, and then use the single channel processing method corresponding to the intensity channel to extract and map features. This is because different channels are usually complementary primitives. Simply put, some channels provide key point information with high positioning accuracy and low sampling rate, while some channels provide shutdown key point information on the contrary. These channels need to be fused to finally achieve high positioning accuracy and high sampling rate marker motion capture. This method ensures the accuracy of the recognition results.
[0110] like Figure 5 As shown, in this embodiment, the key points are pre-positioned and identified based on the visual information of the intensity path and the visual information of the spatial difference path at the initial time t0, wherein the intensity path provides background information and the spatial difference path provides sparse and low-redundancy data representation. For example, the visual information of the intensity path obtained at the initial time is input into the intensity path unmarked motion capture algorithm, and the feature information of the target object and the preset key points is extracted based on the intensity path unmarked motion capture algorithm, and the feature information is mapped to obtain the two-dimensional coordinate estimation of the key points and determine the sequence number of the key points. The visual information of the spatial difference path obtained at the initial time is threshold processed, and the result of the threshold processing is input into the spatial difference path unmarked motion capture algorithm, and the target object and the preset key points are identified based on the spatial difference path unmarked motion capture algorithm, and the pre-identification result is obtained according to the identification result and the two-dimensional coordinate estimation of the key points.
[0111] At any subsequent time t i(Assuming that the visual information of the intensity path of the next frame has not been obtained at this time), the key points are identified and located again based on the accumulated time difference frame and the spatial difference path at the current moment. For example, the spatial difference visual information obtained at the current moment is input into the spatial difference path unmarked motion capture algorithm, and the target object and the preset key points are identified based on the spatial difference path unmarked motion capture algorithm to obtain the two-dimensional coordinates of the first key point; the visual information sequence of the time difference path obtained at the current moment is input into the time difference path unmarked motion capture algorithm, and the target object and the preset key points are identified based on the time difference path unmarked motion capture algorithm to obtain the two-dimensional coordinates of the second key point; wherein, the time difference visual information sequence is a sequence composed of the time difference visual information obtained between the initial moment and the current moment. The current recognition result is obtained based on the two-dimensional coordinates of the first key point and the two-dimensional coordinates of the second key point.
[0112] Afterwards, the pre-recognition results are used to assist in judging the current recognition results, and the two-dimensional coordinates of the key points can be obtained.
[0113] Furthermore, the motion characteristics of the marker can be obtained through the time difference frame at the current moment (ie, the visual information sequence of the time difference path) to track the marker position at the next moment.
[0114] In some embodiments, the markerless motion capture algorithm further includes a post-processing sub-algorithm, and the post-processing sub-algorithm is used to post-process the markerless motion capture result; Wherein, the post-processing includes: The markerless motion capture result is adjusted to improve the accuracy and correctness of the markerless motion capture result.
[0115] It should be emphasized that post-processing is not a mandatory step and may or may not be performed. Accordingly, the post-processing task may be incorporated into the decoding task performed by the above-mentioned decoder sub-algorithm, and this embodiment will not be described in detail here.
[0116] Specifically, post-processing includes but is not limited to the following types: key point tracking processing, trajectory smoothing processing, spatial matching processing, spatial calibration processing, sub-pixel resolution processing, inspection calibration processing and roundness detection processing. It should be emphasized that in the actual operation process, one or more of them can be selected for execution, and the order of multiple executions is not fixed and can be adjusted according to actual conditions, and the present invention does not limit this.
[0117] In some embodiments, keypoint tracking includes: The optical marker is tracked using a predetermined tracking algorithm to obtain the trajectory of the optical marker.
[0118] Specifically, tracking the optical marker includes: assuming that there are two marker points 1 and 2 in the picture, and two markers are still detected at the next moment, how do these two markers correspond to the marker points at the previous moment.
[0119] In some embodiments, the nearest neighbor method is used to track the optical marker, that is, it is assumed that the marker closest to the marker 1 at the previous moment among all the markers detected at the next moment is the marker 1 at this moment. In other embodiments, the Kalman filter method is used to track the optical marker, and specific examples include DeepSort, ByteTrack, etc., which are all current SOTA tracking algorithms. Inputting the data of the spatiotemporal differential path into the tracking algorithm requires corresponding adjustments to the input structure and parameters of the algorithm, which is not described in detail in the present invention.
[0120] Correspondingly, the existing 3D motion capture algorithm can also be migrated to the three-channel sensing system, focusing on adjusting the input mode of the algorithm, and combining various modules to achieve simultaneous input and complementary processing of multiple channels.
[0121] In addition, it should be noted that the processing unit 120 can be arranged inside the camera module, that is, the processing unit 120 and the acquisition unit 110 together constitute the camera module. The advantage of this method is that the amount of data transmitted to the host computer is reduced to reduce the bandwidth requirement, but the disadvantage is that the computing resources inside the camera are limited, which will increase power consumption and cause delays in data transmission.
[0122] The processing unit 120 can also be set in the subsequent host computer, and its advantage is that the host computer can use high-performance computing chips to complete this task, but the cost is that the data to be transmitted increases. Further, it should be explained that the spatiotemporal differential channel in the three-channel sensor has the characteristics of sparse data and low bandwidth, which can improve the problem of increased data transmission to a limited extent.
[0123] Furthermore, the processing unit 120 can also be split into multiple parts, one part is implemented in the camera module, and the other part is implemented in the subsequent host computer. More specifically, the splitting of the processing unit 120 can be achieved by splitting the markerless motion capture algorithm, that is, setting the sub-algorithms included in the algorithm in different physical locations. In a specific embodiment, the encoder sub-algorithm in the markerless motion capture algorithm is set in the camera module, and the decoder sub-algorithm in the markerless motion capture algorithm is set in the subsequent host computer.
[0124] In more detail, there are many methods for hardware implementation of the processing unit 120, such as FPGA field programmable gate array chip, CPU central processing unit chip, GPU image processor chip, MCU micro control unit chip, ASIC application specific integrated circuit chip, neuromorphic processor, brain-like chip, or directly embedded in the visual sensor in the form of SoC as a sub-module thereof.
[0125] Furthermore, in some embodiments, the encoder sub-algorithm included in the processing unit 120 can be combined with the visual sensor in the acquisition unit 110 as a motion capture camera device. A specific implementation of a usage scenario of the motion capture camera device is as follows: Figure 2 As shown. It can be understood that optical marker motion capture can return the original visual information at a lower frame rate during the transmission process, and only transmit the two-dimensional coordinates of the marker points at high speed to save bandwidth. However, for markerless motion capture, the original visual information needs to be transmitted without reservation in order to select different algorithms for processing later. For high-speed markerless motion capture, the amount of data transmitted will increase significantly. Generally speaking, the post-processing calculation amount of high-speed markerless motion capture is relatively large, so more computing power is required. And due to the decoupling of software and hardware, this computing power is preferably concentrated in the computer rather than the integrated module in the camera device.
[0126] The information obtained by all motion capture camera devices is aggregated to the main control computer through the switch, and the three-dimensional spatial coordinates of the marker points at each moment are determined by the decoder sub-algorithm, such as Figure 6 The switch connects all the motion capture camera devices to control and synchronously trigger all cameras, and collects the output information of the camera devices and uploads it to the computer. If there are a small number of motion capture cameras, the switch can be omitted and all cameras can be directly controlled by the main control computer.
[0127] Furthermore, the motion capture camera device also includes an output interface for outputting the three-dimensional coordinates of the optical marker. There are many types of output interfaces, and the preferred option is an Ethernet interface, which has the advantages of long network cable transmission distance, convenient network protocol control of multiple devices, and support for power supply and data transmission (POE, Power Over Ethernet) with one cable. In addition, the switch can also use a USB interface or other interfaces (such as PCIE, FMC...) to achieve similar functions. At this time, the structural block diagram of the motion capture camera device is as follows Figure 7 shown.
[0128] Afterwards, the target object can be modeled according to the three-dimensional coordinates of the key points to obtain the motion capture result.
[0129] The present invention develops a markerless motion capture algorithm that utilizes the complementary characteristics of pathways, which is expected to achieve an efficient and robust markerless motion capture system with high positioning accuracy and ultra-high sampling rate, and extremely low resources and costs.
[0130] Furthermore, based on the above embodiments, the markerless motion capture of the intensity channel can also be replaced by other tracking technologies such as plane scanning. At this time, the intensity channel gives a contour model of the target, which is combined with the sparse marker point model of the spatiotemporal difference channel to obtain a more complete target model.
[0131] The present invention provides a multi-channel markerless optical motion capture system, which includes a collection unit and a processing unit; the collection unit is used to collect inherent visual features in the target object and the scene as visual information; the collection unit includes at least one visual sensor, each of the visual sensor includes at least one data channel among an intensity channel, a spatial difference channel and a temporal difference channel; the processing unit is used to process and analyze the visual information according to a pre-constructed markerless motion capture algorithm to obtain a markerless motion capture result; wherein the markerless motion capture algorithm includes an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract visual features in the visual information, and the decoder sub-algorithm is used to map the visual features to a pre-constructed model of the target object to obtain a markerless motion capture result. The present invention utilizes three-channel visual sensor technology to replace the original image sensor technology, and utilizes the characteristics of each channel and the complementary characteristics of multiple channels to carry out targeted algorithm design, so that the system is efficient and robust, and can maintain a certain key point positioning accuracy during high-speed sampling; at the same time, the high-speed spatiotemporal change perception capability of the sensor is utilized to improve the sampling frame rate of the system, and the post-processing calculation amount is reduced through sparse data representation, thereby improving the real-time frame rate. Overall, a high-performance and low-cost markerless motion capture system is realized.
[0132] The multi-channel markerless optical motion capture device provided by the present invention is described below. The multi-channel markerless optical motion capture device described below and the multi-channel markerless optical motion capture method described above can refer to each other. Figure 8 is a flow chart of a multi-channel marker-free optical motion capture method provided by the present invention, such as Figure 8 As shown, the method includes: Step 810: Acquire inherent visual features in the target object and the scene as visual information based on a pre-built acquisition unit; the acquisition unit includes at least one visual sensor, each of the visual sensors includes at least one data path of an intensity path, a spatial difference path, and a temporal difference path; Step 820: Processing and analyzing the visual information based on a pre-built processing unit according to a pre-built markerless motion capture algorithm to obtain a markerless motion capture result; Among them, the markerless motion capture algorithm includes an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract visual features in the visual information, and the decoder sub-algorithm is used to map the visual features to a pre-built model of the target object to obtain a markerless motion capture result.
[0133] According to a multi-channel markerless optical motion capture method provided by the present invention, the markerless motion capture result includes a shape result and a posture result; wherein the shape result includes the surface features of the target object, and the posture result includes the features of the target object's behavior and action posture.
[0134] According to a multi-channel markerless optical motion capture method provided by the present invention, the markerless motion capture algorithm is one of a markerless motion capture algorithm based on graphics or model segmentation and a markerless motion capture algorithm based on visual neural network.
[0135] According to a multi-channel markerless optical motion capture method provided by the present invention, the markerless motion capture algorithm further includes a preprocessing sub-algorithm, the preprocessing sub-algorithm is used to preprocess the visual information and update the visual information using the result of the preprocessing; Wherein, the preprocessing includes: reducing or eliminating noise and / or other interfering information in the visual information to increase the prominence of key point information in the visual information; and / or, The data type of the visual information is converted.
[0136] According to a multi-channel markerless optical motion capture method provided by the present invention, the markerless motion capture algorithm further includes a post-processing sub-algorithm, and the post-processing sub-algorithm is used to post-process the markerless motion capture result; wherein the post-processing includes: The markerless motion capture result is adjusted to improve the accuracy and correctness of the markerless motion capture result.
[0137] According to a multi-channel markerless optical motion capture method provided by the present invention, the processing and analyzing the visual information according to a pre-constructed markerless motion capture algorithm to obtain a markerless motion capture result specifically includes: extracting inherent visual features of the visual information of each channel according to a pre-selected channel processing method based on the encoder sub-algorithm; Based on the decoder sub-algorithm, the inherent visual features are mapped to a pre-built model of the target object according to a pre-selected pathway processing method to obtain a markerless motion capture result; the pathway processing method includes a single pathway processing method, a pathway fusion processing method, and a pathway cross processing method; Among them, the single-pathway processing method includes extracting or mapping features from the visual information of different pathways respectively; the cross-pathway processing method includes introducing visual information from another pathway during processing visual information of one pathway to assist the current pathway in feature extraction or mapping; the pathway fusion processing method includes fusing visual information from all pathways to perform feature extraction or mapping.
[0138] According to a multi-channel marker-free optical motion capture method provided by the present invention, the marker-free motion capture result includes two-dimensional space coordinates and / or three-dimensional space coordinates; The three-dimensional spatial coordinates are obtained by performing three-dimensional calculation based on the two-dimensional markerless motion capture results, or are directly obtained in an end-to-end manner based on the markerless motion capture algorithm.
[0139] The present invention provides a multi-channel markerless optical motion capture method, which includes: acquiring inherent visual features in a target object and a scene as visual information based on a pre-constructed acquisition unit; the acquisition unit includes at least one visual sensor, and each of the visual sensors includes at least one data channel among an intensity channel, a spatial difference channel and a temporal difference channel; based on a pre-constructed processing unit, processing and analyzing the visual information according to a pre-constructed markerless motion capture algorithm to obtain a markerless motion capture result; wherein the markerless motion capture algorithm includes an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract visual features in the visual information, and the decoder sub-algorithm is used to map the visual features to a pre-constructed model of the target object to obtain a markerless motion capture result. The present invention utilizes three-channel visual sensor technology to replace the original image sensor technology, and utilizes the characteristics of each channel and the complementary characteristics of multiple channels to carry out targeted algorithm design, so that the system is efficient and robust, and can maintain a certain key point positioning accuracy during high-speed sampling; at the same time, the high-speed spatiotemporal change perception capability of the sensor is utilized to improve the sampling frame rate of the system, and the post-processing calculation amount is reduced through sparse data representation, thereby improving the real-time frame rate. Overall, a high-performance and low-cost markerless motion capture system is realized.
[0140] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute a multi-path based markerless optical motion capture method, the method comprising: acquiring the inherent visual features in the target object and the scene as visual information based on a pre-built acquisition unit; the acquisition unit comprises at least one visual sensor, each of the visual sensors comprises at least one data path of an intensity path, a spatial difference path and a time difference path; processing and analyzing the visual information based on the pre-built processing unit according to the pre-built markerless motion capture algorithm to obtain a markerless motion capture result; wherein the markerless motion capture algorithm comprises an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract the visual features in the visual information, and the decoder sub-algorithm is used to map the visual features to the pre-built model of the target object to obtain the markerless motion capture result.
[0141] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0142] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the multi-channel markerless optical motion capture method provided by the above-mentioned methods, which includes: acquiring inherent visual features in the target object and the scene as visual information based on a pre-built acquisition unit; the acquisition unit includes at least one visual sensor, each of the visual sensor includes at least one data channel among an intensity channel, a spatial difference channel and a time difference channel; based on a pre-built processing unit, processing and analyzing the visual information according to a pre-built markerless motion capture algorithm to obtain a markerless motion capture result; wherein the markerless motion capture algorithm includes an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract visual features in the visual information, and the decoder sub-algorithm is used to map the visual features to a pre-built model of the target object to obtain a markerless motion capture result.
[0143] On the other hand, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to execute the multi-channel markerless optical motion capture method provided by the above methods, the method comprising: obtaining the inherent visual features in the target object and the scene as visual information based on a pre-constructed acquisition unit; the acquisition unit includes at least one visual sensor, each of the visual sensors includes at least one data channel of the intensity channel, the spatial difference channel and the time difference channel; based on the pre-constructed processing unit, the visual information is processed and analyzed according to the pre-constructed markerless motion capture algorithm to obtain the markerless motion capture result; wherein the markerless motion capture algorithm includes an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract the visual features in the visual information, and the decoder sub-algorithm is used to map the visual features to the pre-constructed model of the target object to obtain the markerless motion capture result. The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on at least one network unit. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those skilled in the art may understand and implement the solution without creative work.
[0144] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0145] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A markerless optical motion capture system based on multi-channel, characterized in that: It includes the collection department and the processing department; The acquisition unit is used to acquire the inherent visual features of the target object and the scene as visual information; the acquisition unit includes at least one visual sensor, each of which includes at least one data path of an intensity path, a spatial difference path, and a temporal difference path; The processing unit is used to process and analyze the visual information according to a pre-constructed markerless motion capture algorithm to obtain a markerless motion capture result; wherein the markerless motion capture algorithm includes an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract visual features in the visual information, and the decoder sub-algorithm is used to map the visual features to a pre-constructed model of the target object to obtain a markerless motion capture result.
2. The multi-channel markerless optical motion capture system according to claim 1, characterized in that: The markerless motion capture result includes a shape result and a posture result; wherein the shape result includes the surface features of the target object, and the posture result includes the features of the target object's behavior and action posture.
3. The multi-channel markerless optical motion capture system according to claim 1, characterized in that: The markerless motion capture algorithm is one of a markerless motion capture algorithm based on graphics or model segmentation and a markerless motion capture algorithm based on a visual neural network.
4. The multi-channel markerless optical motion capture system according to claim 1, characterized in that: The markerless motion capture algorithm further includes a preprocessing sub-algorithm, wherein the preprocessing sub-algorithm is used to preprocess the visual information and update the visual information using the result of the preprocessing; Wherein, the preprocessing includes: reducing or eliminating noise and / or other interfering information in the visual information to increase the prominence of key point information in the visual information; and / or, The data type of the visual information is converted.
5. The multi-channel markerless optical motion capture system according to claim 1, characterized in that: The markerless motion capture algorithm further comprises a post-processing sub-algorithm, wherein the post-processing sub-algorithm is used to post-process the markerless motion capture result; Wherein, the post-processing includes: The markerless motion capture result is adjusted to improve the accuracy and correctness of the markerless motion capture result.
6. The multi-channel marker-free optical motion capture system according to claim 1, characterized in that: The step of processing and analyzing the visual information according to a pre-built markerless motion capture algorithm to obtain a markerless motion capture result specifically includes: Based on the encoder sub-algorithm, extracting inherent visual features from the visual information of each channel according to a pre-selected channel processing method; Based on the decoder sub-algorithm, the inherent visual features are mapped to a pre-built model of the target object according to a pre-selected pathway processing method to obtain a markerless motion capture result; the pathway processing method includes a single pathway processing method, a pathway fusion processing method, and a pathway cross processing method; Among them, the single-pathway processing method includes extracting or mapping features from the visual information of different pathways respectively; the cross-pathway processing method includes introducing visual information from another pathway during processing visual information of one pathway to assist the current pathway in feature extraction or mapping; the pathway fusion processing method includes fusing visual information from all pathways to perform feature extraction or mapping.
7. The multi-channel markerless optical motion capture system according to claim 1, characterized in that: The markerless motion capture result includes two-dimensional space coordinates and / or three-dimensional space coordinates; The three-dimensional spatial coordinates are obtained by performing three-dimensional calculation based on the two-dimensional markerless motion capture results, or are directly obtained in an end-to-end manner based on the markerless motion capture algorithm.
8. A markerless optical motion capture method based on multi-channel, characterized in that: include: Acquire inherent visual features in target objects and scenes as visual information based on a pre-built acquisition unit; The acquisition unit includes at least one visual sensor, each of which includes at least one data path among an intensity path, a spatial difference path, and a time difference path; Processing and analyzing the visual information according to a pre-built markerless motion capture algorithm based on a pre-built processing unit to obtain a markerless motion capture result; Among them, the markerless motion capture algorithm includes an encoder sub-algorithm and a decoder sub-algorithm; the encoder sub-algorithm is used to extract visual features in the visual information, and the decoder sub-algorithm is used to map the visual features to a pre-built model of the target object to obtain a markerless motion capture result.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the marker-free optical motion capture method based on multiple channels as described in claim 8 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the multi-channel marker-free optical motion capture method according to claim 8 is implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the multi-channel marker-free optical motion capture method according to claim 8 is implemented.
Citation Information
Cited By
Virtual simulation method based on self-learning
CN118819308A
