Visual tracking method, device, system, equipment and medium for target object
Automatically tracking athletes by collecting brightness change data through event cameras solves the problems of low visual tracking accuracy and high cost in the existing technology, enables efficient and accurate athlete video recording, and improves training efficiency.
Patent Information
- Application Number
- CN202310431209.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-20
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-04-20
AI Technical Summary
The existing technology has the problems of low accuracy, high cost, high equipment computing power requirements and recognition delay when visual tracking athletes in training scenes. Especially when the background is complex and high-speed movement occurs, the triggering timing error is large, which affects the training efficiency.
Event cameras are used to collect brightness change data, determine the movement information of the target object, and automatically obtain video data based on the movement information to generate data to be played that describes the target movement, realizing automatic tracking and video recording, and reducing dependence on deep networks.
It improves the accuracy of visual tracking and video data, reduces labor costs, reduces the demand for computing resources, and enhances training efficiency.
Smart Images

Figure CN116703968B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence, specifically to technical fields such as computer vision, image processing and deep learning, and in particular to a method, device, system, equipment and medium for visual tracking of a target object. Background Art
[0002] With the development of electronic technology, computer vision technology has been widely used in more and more scenarios. For example, in the training scenario of athletes, video acquisition equipment can be used to track athletes to record the actions performed by athletes during training, facilitate action review, and improve the execution accuracy of actions. Summary of the invention
[0003] The present disclosure aims to provide a method, device, system, equipment and medium for visual tracking of a target object, which is beneficial to improving visual tracking accuracy and reducing tracking costs.
[0004] According to a first aspect of the present disclosure, a visual tracking method for a target object is provided, comprising: determining a target device corresponding to a moving target object based on first event data collected by an event camera; determining motion information of the target object based on second event data corresponding to an area where the target device is located and collected by the event camera; in response to determining that the motion of the target object satisfies a visual tracking condition based on the motion information, acquiring video data collected for the target object; and generating to-be-played data describing a target motion performed by the target object based on the video data, the target motion corresponding to a device type of the target device.
[0005] According to a second aspect of the present disclosure, there is provided a visual tracking device for a target object, comprising: an apparatus determination module for determining a target apparatus corresponding to a moving target object based on first event data acquired by an event camera; a motion information determination module for determining motion information of the target object based on second event data acquired by the event camera and corresponding to an area where the target apparatus is located; a data acquisition module for acquiring video data acquired for the target object in response to determining that the motion of the target object satisfies a visual tracking condition based on the motion information; and a data generation module for generating to-be-played data describing a target motion performed by the target object based on the video data, the target motion corresponding to an apparatus type of the target apparatus.
[0006] According to a third aspect of the present disclosure, a visual tracking system for a target object is provided, comprising: a video acquisition device; an event camera, arranged at a peripheral position of the video acquisition device; and a processing device, communicatively connected to the video acquisition device and the event camera to obtain data acquired by the video acquisition device and the event camera; wherein the processing device is configured to: execute the visual tracking method for a target object provided in the first aspect of the present disclosure.
[0007] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the visual tracking method for a target object provided by the present disclosure.
[0008] According to a fifth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the visual tracking method for a target object provided by the present disclosure.
[0009] According to a sixth aspect of the present disclosure, a computer program product is provided, comprising a computer program / instruction, wherein the computer program / instruction is stored on at least one of a readable storage medium and an electronic device, and wherein the computer program / instruction, when executed by a processor, implements the visual tracking method for a target object provided by the present disclosure.
[0010] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0012] Figure 1 is a schematic diagram of an application scenario of a method, device, and system for visual tracking of a target object according to an embodiment of the present disclosure;
[0013] Figure 2 is a flow chart of a method for visual tracking of a target object according to an embodiment of the present disclosure;
[0014] Figure 3 is a schematic diagram of the principle of determining a target device according to an embodiment of the present disclosure;
[0015] Figure 4 is a schematic diagram of the principle of determining motion information of a target object according to event data according to an embodiment of the present disclosure;
[0016] Figure 5 is a schematic diagram of the principle of obtaining video data collected for a target object according to an embodiment of the present disclosure;
[0017] Figure 6 is a schematic diagram of the principle of determining bounding box information for a target object according to an embodiment of the present disclosure;
[0018] Figure 7 is a schematic diagram of the principle of generating data to be played according to an embodiment of the present disclosure;
[0019] Figure 8 is a schematic diagram of the principle of determining a first evaluation value for target motion according to an embodiment of the present disclosure;
[0020] Fig. 9 is a schematic diagram of the principle of determining a second evaluation value for target motion according to an embodiment of the present disclosure;
[0021] Fig.10 is a structural block diagram of a visual tracking device for a target object according to an embodiment of the present disclosure;
[0022] Fig.11 is a schematic structural diagram of a video tracking system for a target object according to a first embodiment of the present disclosure;
[0023] Fig.12 is a structural schematic diagram of a video tracking system for a target object according to a second embodiment of the present disclosure; and
[0024] Fig.13 is a schematic block diagram of an example electronic device for implementing the video tracking method for a target object according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0026] In diving training or rock climbing training, it is usually necessary to continuously adjust and optimize the details of the athletes' movements. In addition to relying on the on-the-spot guidance of the coach, the athletes can also have a clearer perception of the movements they are performing by visually tracking the athletes' movements and providing instant feedback of the tracking results to the athletes and coaches. For example, when performing visual tracking, a fixed camera can be used for panoramic time-lapse shooting, or a camera stand can be used to achieve tracking and recording of sports videos through manual movement.
[0027] In the scene of panoramic time-lapse shooting with a fixed camera, the athletes are usually small in the picture because of the need to take into account the whole picture, which makes it difficult to identify and review the detailed movements. When using a camera stand to track and record by manual movement, it usually requires two highly skilled and coordinated personnel to work together, which has high labor costs and is not conducive to improving training efficiency.
[0028] In visual tracking, the timing of video recording is usually controlled manually. Alternatively, deep networks such as target detection algorithms and posture recognition algorithms can be used to identify athletes in real-time captured images, and the timing of video recording can be determined based on the recognition results. The manual control method has the problems of high labor costs and low training efficiency. The method of using deep networks to identify athletes has the problem of high computing power requirements for equipment and delayed recognition results. Furthermore, when determining the recording trigger timing of actions with complex backgrounds and high-speed movements, the selection error of the trigger timing is large, and false triggering is prone to occur.
[0029] In order to solve the above problems, the present disclosure provides a method, device, system, equipment and medium for visual tracking of a target object. Figure 1 The application scenarios of the methods, systems and devices provided by the present disclosure are described.
[0030] Figure 1 It is a schematic diagram of an application scenario of a method, system, and device for visual tracking of a target object according to an embodiment of the present disclosure.
[0031] like Figure 1 As shown, taking the diving training scenario as an example, the application scenario 100 may include multiple predetermined diving surfaces 111, 112, 113, a swimming pool 120, and a target object 130. The multiple predetermined diving surfaces 111, 112, 113 may have the same or different heights, and the number of the multiple predetermined diving surfaces 111, 112, 113 may be any number greater than 1, which is not limited in the present disclosure.
[0032] In the application scenario 100 , the target object 130 may be an athlete, and the athlete may jump from a predetermined diving surface 112 into a swimming pool 120 to complete a diving exercise.
[0033] In the application scenario 100, a visual tracking system may also be included, and the visual tracking system may include at least a video acquisition device 141 and a processing device 142. The video acquisition device 141 is used to acquire video data of the target object 130 during the diving process. The video acquisition device 141 may be connected to the processing device 142 in communication, so that the processing device 142 may acquire the video data acquired by the video acquisition device 141 and process the video data. The video acquisition device 141 may be, for example, various types of cameras, and the processing device 142 may be, for example, various electronic devices with processing functions such as portable computers, desktop computers, or servers.
[0034] In one embodiment, the application scene 100 may also be provided with an event camera 143 for observing the "motion" in the scene, more specifically, for observing the change in brightness in the scene. When the brightness value at the spatial position corresponding to a pixel within the detection range changes, the event camera 143 will return a vector (x i ,y i , t i , p i ). Among them, (x i ,y i ) represents the position of the pixel, t i Indicates the timestamp of the brightness value change, p i Represents a polarity value, representing whether the brightness value changes from low to high or from high to low. The vectors collected by the event camera 143 within a predetermined period of time can form a set of event data. The event camera 143 can, for example, be connected to the processing device 142 for communication via a network. The processing device 142 can also be used to detect the target object 130 and track the movement of the target object 130 based on the event data collected by the event camera 143. The processing device 142 can, for example, use the timing when the movement of the target object 130 meets the visual tracking condition as the trigger timing of the video acquisition device 141 to start acquiring video data collected for the target object 130.
[0035] It can be understood that the visual tracking method for the target object provided by the present disclosure can be executed by, for example, the processing device 142 in the visual tracking system, and the visual tracking apparatus for the target object provided by the present disclosure can be set in the processing device 142.
[0036] It should be understood that Figure 1 The number and type of the predetermined diving surface, video acquisition device, and processing device are only illustrative. According to the implementation requirements, there can be any number and type of predetermined diving surface, video acquisition device, and processing device.
[0037] The following will be combined Figure 2 to Figure 9 The visual tracking method for a target object provided by the present disclosure is described in detail.
[0038] Figure 2 FIG. 1 is a flow chart of a method for visually tracking a target object according to an embodiment of the present disclosure. Figure 2 As shown, the method 200 of this embodiment may include operations S210 to S240.
[0039] In operation S210 , a target device corresponding to a moving target object is determined according to first event data collected by an event camera.
[0040] In this embodiment, the detection range of the event camera may include multiple predetermined devices. The detection period of the event camera may be, for example, at the μm level. In this embodiment, the vectors returned by the event camera within a predetermined period (e.g., 1 ms) may be summarized into image data of size H×W. Wherein, H is the resolution of the event camera in the height direction, and W is the resolution of the event camera in the width direction. The features of each pixel in the image data may be represented by a vector sequence, and the vectors in the vector sequence are the vectors for each pixel returned by the event camera. In this embodiment, the image data may be used as event data collected by the event camera.
[0041] In this embodiment, the event data collected by the event camera can be obtained in real time. In this embodiment, the pixels whose brightness values have changed can be first determined based on the event data. The pixels whose brightness values have changed can be understood as pixels corresponding to the position of the moving target object. Then, in this embodiment, the target device corresponding to the moving target object among multiple predetermined devices can be determined based on the positional relationship between the pixels whose brightness values have changed and the pixels corresponding to the multiple predetermined devices. It can be understood that the pixels corresponding to the predetermined device can be determined based on the distance of the predetermined device from the event camera and the spatial range that the event camera can collect.
[0042] For example, in a diving scene, if multiple equipment includes diving surfaces at heights of 3m, 5m, 7m, and 10m from the swimming pool, and among the pixels whose brightness values change, the distance between the pixel located at the bottom in the height direction and the pixel corresponding to the predetermined diving surface at a height of 5m is the smallest, then the predetermined diving surface at a height of 5m can be used as the target diving surface. For example, in a rock climbing competition, multiple equipment can include, for example, a first equipment consisting of multiple first rock points located in the left area of the rock climbing wall and a second equipment consisting of multiple second rock points located in the right area. If the pixel whose brightness value changes is located in the pixel area corresponding to the second equipment, the second equipment can be determined as the target equipment.
[0043] In operation S220, motion information of the target object is determined based on second event data corresponding to the area where the target device is located and collected by the event camera.
[0044] In this embodiment, after the event camera captures pixels with changed brightness values and determines the target device based on the event data, the event data captured by the event camera can be acquired in real time, and the second event data corresponding to the area where the target device is located in the acquired event data can be analyzed. Among them, the area where the target device is located can be an area that can distinguish the target device from other predetermined devices. This embodiment can determine the pixels with changed brightness values in the second event data acquired in each predetermined period by analyzing the second event data, thereby locating the position of the target object in each predetermined period. This embodiment can determine the motion information of the target object based on the change in the position of the target object in different predetermined periods. The motion information may include, for example, motion rate, motion direction, motion trend, etc., which is not limited in the present disclosure.
[0045] It can be understood that the second event data is: event data of a pixel area corresponding to the area where the target device is located in the event data collected after the event camera collects the first event data.
[0046] In operation S230 , in response to determining, according to the motion information, that the motion of the target object satisfies a visual tracking condition, video data collected for the target object is acquired.
[0047] According to an embodiment of the present disclosure, the visual tracking condition can be set according to actual needs. For example, in diving, what needs to be focused on is the tumbling action performed by the athlete during the falling process after leaving the diving platform, so the visual tracking condition can be set to a movement trend of vertical downward. In one embodiment, the visual tracking condition can also include, for example, that the movement rate in the vertical direction reaches a predetermined speed threshold. In rock climbing, what needs to be focused on is all the actions of the athlete during the rock climbing process, so the visual tracking condition can be set to that the movement speed of any of the athlete's limbs is not 0.
[0048] The operation S230 may compare the motion information with the visual tracking condition. If the motion trend in the motion information is vertically downward and the visual tracking condition is met, the processing device may start to acquire the video data acquired by the video acquisition device. The processing device may use the acquired video data as the video data acquired for the target object. It is understandable that the acquisition range of the video acquisition device includes multiple predetermined instruments and the surrounding areas of the multiple predetermined instruments.
[0049] In operation S240, to-be-played data describing a target motion performed by a target object is generated according to the video data.
[0050] According to an embodiment of the present disclosure, data that can be recognized by a video playback device can be generated as data to be played by format conversion or encoding of video data collected by a video acquisition device. The target sport corresponds to the equipment type of the target equipment. For example, if the target equipment is composed of rock points on a rock climbing wall, the target sport is rock climbing; if the target equipment is a diving surface, the target sport is diving. It is understandable that the above-mentioned types of target sports are only used as examples to facilitate understanding of the present disclosure, and the present disclosure does not limit this.
[0051] In the disclosed embodiments, by locating the target device where the target object is located based on the event data collected by the event camera, the influence of complex background colors, numerous objects, etc. on the positioning accuracy of the target device can be avoided. By determining the motion information of the target object based on the event data of the area where the target device is located, the target object can be tracked based on the event data. Compared with the prior art, automatic tracking of the target object can be achieved, and the tracking technology does not need to rely on a large amount of labeled data to be realized, nor does it need to rely on a deep network with complex calculations and delayed recognition. In this way, the accuracy of the determined visual tracking trigger timing can be improved, and the accuracy and effectiveness of the acquired video data can be improved.
[0052] Figure 3 It is a schematic diagram of the principle of determining a target device according to an embodiment of the present disclosure.
[0053] According to an embodiment of the present disclosure, the number of events corresponding to the area where each device is located can also be determined by counting event data, and the target device can be determined based on the number of events. Among them, one event number can correspond to a pixel whose brightness value changes in the event data. Subsequently, the target device among multiple predetermined devices is determined based on the determined number of events corresponding to the area where each device is located. In this way, the device where the target object is located can be determined more accurately. This is because when different devices are at different distances from the event camera, if the target object appears at one of the devices, the pixels corresponding to the target object may include nearby pixels corresponding to pixels of other devices. In this case, the device where the target object is located cannot be accurately determined. By determining the number of events in the areas where different devices are located, the position of the target object relative to different devices can be better distinguished, thereby improving the accuracy of the determined target device.
[0054] For example, taking the diving training scenario as an example, Figure 3As shown, in embodiment 300, when determining the target equipment, event sub-data corresponding to each of the plurality of predetermined diving surfaces can be divided from the first event data according to the positions of the plurality of predetermined diving surfaces relative to the event camera. For example, the first event data can be image data 310 of size H×W, and sub-images 311 to 313 corresponding to the plurality of predetermined diving surfaces can be divided from the image data according to the positions of the plurality of predetermined diving surfaces 301 to 303 relative to the event camera. For example, sub-image 311 corresponds to diving surface 301 with a height of 5 m, sub-image 312 corresponds to diving surface 302 with a height of 7 m, and sub-image 313 corresponds to diving surface 303 with a height of 10 m. It can be understood that if the distance between the diving surface and the event camera in the horizontal direction is large, the size of the sub-image corresponding to the diving surface in the height direction will be small. If the diving surface is higher, the position of the sub-image corresponding to the diving surface in the image data 310 is located close to the top of the image data 310 in the height direction.
[0055] Then, the embodiment can count the number of pixels whose pixel values change in the sub-image corresponding to each diving surface, and use the number of pixels as the first event number for the area where each diving surface is located. For multiple predetermined diving surfaces, multiple first event numbers can be obtained.
[0056] For example, the diving surface for which the first event quantity with the largest value is targeted may be used as the target diving surface.
[0057] For example, the diving surface targeted by the first event number with a value greater than a predetermined threshold and the largest value can be used as the target device. In this embodiment, if the values of multiple first event numbers are all less than the predetermined threshold, it can be determined that the target object does not appear at multiple predetermined devices, and the event data collected by the event camera is continuously acquired and analyzed. By setting a predetermined threshold, the accuracy of the determined target device can be improved, and the influence of interference from external factors on the determination of the target device can be avoided.
[0058] Figure 4 It is a schematic diagram of the principle of determining the motion information of the target object according to the event data according to an embodiment of the present disclosure.
[0059] According to the embodiments of the present disclosure, when determining the motion information of the target object, for example, the pixel area where the second event data is located can be divided into multiple sub-areas. Then, according to the changes in the brightness values in each sub-area, the target object is tracked according to the sub-areas where the target object is located in different acquisition cycles, thereby determining the motion information of the target object. In this way, it is possible to avoid, to a certain extent, the situation where the motion information of the target object cannot be accurately determined due to the unstable motion state of the target object and the up and down reciprocating motion, thereby improving the accuracy of the determined motion information.
[0060] For example, Figure 4 As shown, in embodiment 400, the pixel area 410 where the second event data is located can be divided into multiple sub-areas, for example, sub-areas 411 to 417 can be obtained. It is understandable that, considering that in diving, the visual tracking condition usually only focuses on the movement of the target object in the vertical direction, the pixel area 410 can be divided into multiple sub-areas in the height direction. According to actual needs, the sub-areas can also be divided in the width direction, which is not limited in the present disclosure.
[0061] After the division results in a plurality of sub-regions 411 to 417, the embodiment may monitor the event data of each sub-region in the subsequently collected event data, and determine the second event quantity for each sub-region based on the event data of each sub-region. Specifically, the number of pixels whose pixel values have changed in the event data in each sub-region, that is, the number of pixels whose polarity values are 1 or -1 in the vector sequence representing the feature, may be counted, and the counted number may be used as the second event quantity for each sub-region.
[0062] For example, assuming that the width of each sub-region is w and the height is h, the number of second events for each sub-region can be calculated using the following formula (1).
[0063]
[0064] Where m represents any time, and (m+1) represents the time corresponding to 1ms after time m. Positive Indicates the number of pixels with polarity value 1, E Positive Indicates the number of pixels with a pixel value of -1. (i, j) indicates the position of the pixel in each sub-region. P(i, j) indicates the pixel with the pixel position (i, j) in each sub-region.
[0065] In one embodiment, the sub-region where the second event number is greater than the first event number threshold may be used as the sub-region where the target object is located. This embodiment may determine the motion information of the target object according to the position of the sub-region where the target object is located in different acquisition cycles.
[0066] In one embodiment, after detecting that the second event number of a predetermined area in a plurality of sub-areas is greater than the first event number threshold, the event data in each sub-area collected in each subsequent collection cycle can be tracked and counted to determine the change information of the event data in each sub-area collected subsequently over time. Among them, the predetermined area can be, for example, an area set according to actual needs. For example, in a diving scene, due to different rules of different diving competitions, the height of the target object bouncing on the diving surface is also different. This embodiment can pre-set the predetermined area according to the actual competition rules. To ensure that the predetermined area is a sub-area where the target object appears earlier in the falling process. In a rock climbing scene, the predetermined area can be any sub-area of the multiple sub-areas obtained by division. This embodiment determines the timing of tracking and counting event data by setting the predetermined area and the first event number threshold, which can further improve the accuracy of the determined motion information and avoid the influence of obstacles on the determination of motion information.
[0067] For example, the change of the polarity value of the event data corresponding to each pixel in the event data in each sub-region over time can be counted in each acquisition cycle, so as to obtain the change information of the event data in each sub-region over time. Subsequently, the embodiment can determine the motion information of the target object according to the obtained change information. For example, for each acquisition cycle, the sub-region in which the number of pixels whose polarity value is 1 in the multiple sub-regions obtained by division is greater than the first event number threshold can be used as the sub-region corresponding to the spatial region entered by the target object, and the sub-region in which the number of pixels whose polarity value is -1 in the pixels is greater than the first event number threshold can be used as the sub-region corresponding to the spatial region left by the target object. Subsequently, according to the change of the position of the sub-region corresponding to the spatial region entered (or left) by the target object in multiple acquisition cycles arranged over time, the motion trend of the target object and the motion rate of the target object in the vertical direction are determined, so as to obtain the motion information.
[0068] In one embodiment, depth data may also be collected for the target object, and the first event number threshold may be determined based on the depth data. For example, the first event number threshold may be negatively correlated with the value of the depth data. That is, if the depth value for the target object in the collected depth data is large, a smaller first event number threshold may be set. For example, in this embodiment, a depth camera may be set in the visual tracking system to collect depth data. In this embodiment, the depth data collected when there is a target object at the target device and the depth data collected when there is no target object at the target device may be used to determine the depth data for the target object. In this way, a smaller first event number threshold may be set for a target object that is farther from the event camera, and a larger first event number threshold may be set for a target object that is closer to the event camera, which can make up for the lack of detection accuracy caused by the target object being farther away, and improve the accuracy of the determined visual tracking trigger timing.
[0069] Figure 5 It is a schematic diagram of the principle of obtaining video data collected for a target object according to an embodiment of the present disclosure.
[0070] According to an embodiment of the present disclosure, in the process of collecting video data for a target object, for example, the target object can be continuously tracked based on the event data collected by the event camera, and the collection angle of the video collection device can be adjusted according to the position of the target object, so that the target object is in the center position of the collected video frame, without the need for the video collection device to collect panoramic images, which is beneficial to improving the clarity of the target object in the collected video frame, thereby facilitating clearer identification of technical action details.
[0071] For example, Figure 5 As shown, in response to determining that the motion of the target object meets the visual tracking condition according to the motion information, the embodiment 500 can first determine the predicted position information 520 of the target object according to the event data 510 that has been collected by the event camera. For example, the embodiment can cluster the pixels with a polarity value of 1 in the event data collected in each acquisition cycle, and use the cluster center as the position of the target object in each acquisition cycle. In this way, the position of the target object in each historical acquisition cycle can be determined based on the collected event data 510, so as to infer the movement speed of the target object. This embodiment can predict the position of the target object in the current acquisition cycle and in the subsequent acquisition cycle based on the movement speed of the target object in the previous acquisition cycle.
[0072] After the predicted position information 520 is determined, the embodiment can determine the rotation parameter 530 of the mechanical arm 542 equipped with the video acquisition device 541 according to the predicted position information 520. For example, the rotation parameter 530 of the mechanical arm 542 can be determined according to the linear relationship between the spatial position and the visual center of the video acquisition device 541, so as to make the position of the target object be located at the visual center of the video acquisition device 541 as much as possible.
[0073] After determining the rotation parameter 530, the embodiment can control the mechanical arm to rotate according to the rotation parameter 530 via the processing device, while keeping the video acquisition device in a data acquisition state. In this way, in the video data 550 acquired by the video acquisition device, the target object is located at the center of the video frame.
[0074] It can be understood that the steps of determining the predicted position information and rotation parameters can be performed in real time to adjust the rotation of the robotic arm in real time, so as to realize the tracking of the target object by the video acquisition device, so that the target object is located at the center position of each video frame in the acquired video data.
[0075] In one embodiment, the robotic arm can rotate around two or more axes. For example, the robotic arm can rotate around a vertical axis to change the yaw angle of the video capture device. The robotic arm can also rotate around an axis extending from the robotic arm to the water surface in the horizontal direction to change the pitch angle of the video capture device. It is understood that the directions in which the robotic arm can rotate are only used as examples to facilitate understanding of the present disclosure, and the present disclosure does not limit this.
[0076] By using the principle of obtaining video data in the embodiment of the present disclosure, it is possible to record tracking videos of moving target objects without human intervention. Since the predicted position information is determined based on event data and the event camera has a high acquisition frequency, it is possible to improve the accuracy of the determined predicted position information, improve the control accuracy of the robotic arm, and improve the accuracy of video data acquisition for high-speed moving target objects.
[0077] In one embodiment, the position of the target object in each historical acquisition cycle can also be determined by determining the bounding box of the target object based on the event data. In this way, the predicted position information of the target object can be determined based on multiple bounding boxes for the target object in multiple historical acquisition cycles. For example, pixels with a polarity value of 1 can be selected from the event data collected in each acquisition cycle, and the circumscribed rectangular frame of a predetermined proportion of pixels arranged compactly among the pixels with a polarity value of 1 is used as the bounding box of the target object in each acquisition cycle. For example, each pixel in the compactly arranged pixels can be adjacent to at least one of the other pixels.
[0078] Figure 6It is a schematic diagram of the principle of determining bounding box information for a target object according to an embodiment of the present disclosure.
[0079] In one embodiment, when determining the bounding box of the target object, the event data collected in each collection cycle can be first divided into multiple pixel blocks. Then, the pixel blocks in the multiple pixel blocks that are in an activated state are determined. The bounding box is determined based on the pixel blocks in the activated state. Specifically, the event data is divided into pixel blocks of a predetermined size, and the activation state of the pixel blocks is determined based on the event data in the pixel blocks, and the bounding box is determined only based on the pixel blocks in the activated state. In this way, the influence of some interfering events on the determination of the bounding box can be eliminated, which is conducive to improving the accuracy of the determined bounding box information.
[0080] For example, Figure 6 As shown, in this embodiment, the event data 600 collected in each collection cycle can be divided into a plurality of pixel blocks of a predetermined size a×b. Wherein, a is a value less than H, and H is an integer multiple of a, and b is a value less than W, and W is an integer multiple of b. For example, the values of a and b can both be 2, and the number of pixel blocks obtained by division is H / 2*W / 2, which is not limited in the present disclosure.
[0081] Subsequently, the embodiment can determine the activation state of each pixel block according to the event data in each pixel block. For example, if among the multiple event data in the pixel block, the number of event data with polarity values of 1 or -1 is greater than or equal to the second event number threshold, that is, the number of events indicated by the event data in the pixel block is greater than or equal to the second event number threshold, then the activation state of the pixel block can be determined to be the activated state; otherwise, the activation state of the pixel block is determined to be the unactivated state. For example, Figure 6 As shown, the pixels with solid circles are pixels whose polarity values in the event data are 1 or -1. For example, it can be determined through statistics that the pixel blocks in the activated state include pixel blocks 601 to 606.
[0082] In this embodiment, for example, the circumscribed rectangular frame of the pixel block 601 to the pixel block 606 can be used as the bounding box of the target object, and the pixel position of the bounding box is used as the bounding box information for the target object. The pixel position of the bounding box can include, for example, the position of the pixel where the center point of the bounding box is located, and the width and height of the pixels occupied by the bounding box.
[0083] In one embodiment, the pixel blocks in the activated state can also be clustered to obtain the cluster center. Subsequently, the predetermined range 610 is delineated according to the predetermined radius with the cluster center as the center. In this embodiment, the pixel blocks in the activated state that are located in the predetermined range can be used as target pixel blocks. For example, the pixel blocks located in the predetermined range can be understood as the pixel blocks whose area of the predetermined proportion of the area occupied by the pixel blocks is enclosed in the predetermined range. For example, among the pixel blocks 601 to 606 in the activated state, the target pixel blocks can include pixel blocks 601 to 605. Subsequently, the bounding box information of the target object can be determined according to the circumscribed rectangular frame 620 of the target pixel blocks. In this way, the pixel blocks in the activated state can be further screened by the cluster center, and the accuracy of the determined bounding box information can be further improved.
[0084] For example, the bounding rectangle 620 of the target pixel block can be used as the bounding box of the target object, and accordingly, the pixel position of the bounding rectangle 620 is used as the bounding box information for the target object. The pixel position of the bounding rectangle 620 can include, for example, the position of the pixel where the center point of the bounding rectangle 620 is located, and the width and height of the pixels occupied by the bounding rectangle 620.
[0085] For example, after obtaining the bounding rectangular frame 620 of the target pixel block, the embodiment can also expand the bounding rectangular frame 620 according to a preset size, and use the expanded rectangular frame 630 as the bounding box of the target object. The preset size can be selected according to actual needs, and the present disclosure does not limit this. By expanding the bounding rectangular frame 620, it is possible to avoid the situation where the bounding box cannot completely cover the target object due to erroneous elimination during the elimination process, thereby improving the accuracy of the determined bounding box information.
[0086] For example, after obtaining the bounding box information for the target object in multiple historical acquisition cycles, the moving speed of the target object can be determined based on the difference between the bounding box information in two adjacent historical acquisition cycles and the time interval between the two adjacent historical acquisition cycles. Based on a similar approach, the moving speed of the target object in each historical acquisition cycle can be determined. Based on the moving speed of the latest acquisition cycle, the position information of the target object in the next acquisition cycle can be predicted.
[0087] For example, after obtaining a plurality of bounding box information, the plurality of bounding box information may be smoothed in the order of the plurality of instance acquisition cycles, and specifically, the center point positions of the bounding boxes included in the plurality of bounding box information may be smoothed. Subsequently, the motion speed of the target object is determined based on the plurality of center point positions after smoothing. Finally, the predicted position information of the target object is determined based on the motion speed. By smoothing, the accuracy of the determined motion speed and predicted position information may be improved.
[0088] Figure 7 It is a schematic diagram of the principle of generating data to be played according to an embodiment of the present disclosure.
[0089] In the related art, the technical solution for automatic video encoding based on computer vision usually uses CPU for encoding. For a video with a length of 3s to 5s, it usually takes a long time from the end of recording to the end of encoding and then to video playback, and it is impossible to achieve timely playback of the recorded video.
[0090] In the embodiment of the present disclosure, in order to speed up the generation efficiency of the data to be played, the video data can be encoded or format converted in real time during the process of acquiring the video data. Furthermore, the embodiment of the present disclosure can use a graphics processing unit (GPU) for encoding to further speed up the encoding efficiency.
[0091] In one embodiment, the acquired video data may be encoded in a parallel encoding manner, so as to further improve the video encoding efficiency and the video playback timeliness. For parallel encoding, for example, the video data acquired by the video acquisition device may be segmented. The segmentation point may be a video frame corresponding to the triggering time of the visual tracking condition. Figure 7 As shown, in this embodiment 700, after determining that the movement of the target object satisfies the visual tracking condition through the aforementioned operation S230, operation S710 and operation S720 may be performed in parallel.
[0092] In operation S710, the video data collected before the movement of the target object meets the visual tracking condition is encoded, that is, the previous video stream is encoded. For example, only the video stream collected in the previous predetermined period (the length of the predetermined period is, for example, 5s) can be encoded.
[0093] In operation S720, the video data collected in real time is encoded, that is, the video stream collected in real time after the visual tracking condition is met is encoded. By performing operations S710 and S720 in parallel, the video data obtained in real time and the video data collected before the movement of the target object meets the visual tracking condition can be encoded in parallel.
[0094] This embodiment can save the data obtained by parallel encoding to obtain the data to be played that describes the target motion performed by the target object. Since the saved data is obtained based on the video data before the motion of the target object meets the visual tracking condition and the video data after the motion of the target object meets the visual tracking condition, the obtained data to be played is the complete video data 701 for the target object. It can be understood that the parallel encoding process can be performed by a GPU, for example, to further improve the encoding efficiency.
[0095] After obtaining the data to be played, for example, the data to be played can be sent to the playback device through a communication device (such as a switch, a router), and the playback device can play the video data after decoding the data to be played. This embodiment can improve the timeliness of the playback of the video data by improving the coding efficiency. It is understandable that the playback device can also use a GPU to perform decoding, for example, to further improve the timeliness of the playback of the video data.
[0096] Figure 8 It is a schematic diagram of the principle of determining a first evaluation value for target motion according to an embodiment of the present disclosure.
[0097] In actual scenarios, a large amount of data to be played is generated every day. If the large amount of data to be played is directly stored, it is not conducive to the subsequent processing of the large amount of data to be played, for example, it is not conducive to the later positioning of the data to be played, and it is not conducive to the detailed evaluation of the target movement described by the playback data.
[0098] In one embodiment, after obtaining the data to be played, for example, the target object in the data to be played can be first identified to obtain the identity information of the target object. The identity information and the data to be played are then stored in association. Among them, for example, a pedestrian re-identification algorithm (Re-Identification, abbreviated as Re-ID) or a face recognition algorithm can be used to identify the target object in the data to be played, and the present disclosure does not limit this. The identified identity information can be, for example, ID information that uniquely represents the target object, and the present disclosure does not limit this. In this way, it is convenient to filter out the data to be played that describes the target motion of the object of interest from the large amount of stored data to be played based on the identity information, and decode and play the filtered data to be played.
[0099] In one embodiment, after obtaining the data to be played, for example, the target object in the data to be played can be subjected to posture recognition to obtain the action information of the target motion described by the data to be played. When storing the data to be played, the action information and the data to be played are stored in association. In this way, it is convenient to filter out the data of the action of interest from a large amount of stored data to be played based on the action information for playback.
[0100] For example, the data to be played includes multiple video frames, and this embodiment can use a posture recognition model to perform posture recognition on the target object in each video frame. The posture recognition model can include, for example, a key point recognition model, and this embodiment can use the key point information obtained by recognition as the action information for each video frame. The action information for multiple video frames is arranged in the order in which the video frames are collected, for example, the action information of a diving action described by the data to be played can be obtained.
[0101] For example, Figure 8 As shown, when the embodiment 800 performs gesture recognition on the target object, for example, the gesture recognition can be performed on the target object in the video frame 811 in the data to be played 810, and the three-dimensional key point information 821 of the target object in the video frame 811 can be obtained. Subsequently, the gesture information 831 of the target object in the video frame 811 is determined according to the three-dimensional key point information 821. Based on this, the three-dimensional key point information and gesture information of the target object in each video frame in the video data to be played can be obtained. Finally, the action information 840 of the target motion performed by the target object is determined according to the gesture information of the target object in multiple video frames. For example, for video frames 812-813, the gesture information 832-833 of the target object of each video frame 812-813 can be determined according to the three-dimensional key point information 822-823 of the target object of each video frame 812-813. Subsequently, the action information 840 can be obtained according to the gesture information 831, the gesture information 832 and the state information 833.
[0102] Among them, for example, a target detection algorithm can be used to first detect the bounding box of the target object from each video frame. Then, based on the bounding box, human skeleton key point detection is performed for a single target object to obtain the three-dimensional key point information of the target object. Alternatively, a lightweight 3D human pose estimation network (Lightweight 3D Human Pose Estimation Network Training Using Teacher-Student Learning, MovNect) or a 2D-3D human pose recognition algorithm of knowledge distillation can be used to detect the three-dimensional key point information of the target object. The three-dimensional key points detected can include, for example, 24 key points. Taking the target object as a human body as an example, the 24 key points can be used to describe the positions of the following human body parts: the center point of the chin, the center point of the neck, the center point of the left and right shoulders, the center point of the left and right elbows, the center point of the left and right wrists, the palm of the left and right palms, the center point of the left and right chests, the four key points of the spine, the center point of the left and right hips, the center point of the left and right knees, the center point of the left and right ankles, and the center point of the left and right soles. It can be understood that the number of three-dimensional key points detected is different depending on the algorithm used.
[0103] After obtaining the three-dimensional key point information, the embodiment can calculate the eigenvector of the skeleton of the target object in the three-dimensional space as a whole, so as to obtain the positive direction of the target object in the space. For example, in the scene of diving training, the direction of the target object can be determined according to the angle between the space vector of the center point of the sole and the center point of the ankle and the normal direction of the swimming pool. The direction of the target object can also be determined according to the angle between the space vector of the center point of the chin and the center point of the neck and the normal direction of the swimming pool. For example, it is also possible to determine whether the target object is in an inverted state according to the relative position of the four key points of the spine. It is also possible to determine the posture information of the target object arm (for example, it can be represented by the angle between the first space vector and the second space vector) according to the first space vector between the center point of the shoulder and the center point of the elbow, and the second space vector between the center point of the elbow and the center point of the wrist. Similarly, it is possible to determine the posture information of the target object leg (for example, it can be represented by the angle between the third space vector and the fourth space vector) according to the third space vector between the center point of the hip and the center point of the knee, and the fourth space vector between the center point of the knee and the center point of the ankle. The posture information of the back of the target object can also be determined based on the angles between the three space vectors formed by connecting the adjacent key points of the four key points of the spine. It is understandable that according to actual needs, two or more of the multiple posture information mentioned above can be determined, and this disclosure does not limit this.
[0104] After obtaining the posture information of the target object in each video frame, the embodiment can determine the rotation angle, rotation direction, etc. of the target object according to the difference in the posture information of the target object in two adjacent video frames, and use the rotation angle, rotation direction, etc. as action information. Alternatively, the embodiment can compare the posture information of the target object in multiple video frames with the posture information of a predetermined special action to determine whether the action performed by the target object in multiple video frames includes a special action. If it does, the included special action is used as action information. For example, taking a diving training scene as an example, the special action can be a knee-bending action, a knee-holding action, a straight-leg action, etc. For example, if the angle between the third space vector and the fourth space vector gradually decreases for a plurality of consecutive video frames in a plurality of video frames, it can be determined that the action performed by the target object includes a knee-bending action. If the distance between the elbow key point and the knee key point gradually decreases for a plurality of consecutive video frames in a plurality of video frames, it can be determined that the action performed by the target object includes a knee-holding action. Through the above-mentioned similar principles, the embodiment can determine a plurality of actions included in the target motion performed by the target object, and use the action names or action codes of the plurality of actions as action information.
[0105] In one embodiment, the action information may be composed of an action code sequence, for example. Taking a diving training scene as an example, the action code sequence may include an action code indicating the orientation of the target object, an action code indicating the rotation direction of the target object, an action code indicating the number of half turns of the target object in the air, an action code indicating whether the target object performs a horizontal rolling action, etc. It is understandable that the arrangement order of the above-mentioned multiple action codes may be preset according to actual needs, and the present disclosure does not limit this.
[0106] It is understandable that the above-mentioned method of determining posture information and action information is only used as an example to facilitate understanding of the present disclosure, and the present disclosure does not limit this. For example, in one embodiment, by comparing the difference in posture information of the target object in two adjacent video frames, the determined action information can reflect the real-time rotation angle and real-time rotation angular velocity of each key point in multiple three-dimensional key points.
[0107] This embodiment can realize quantitative analysis of the action of the target object through the recognition and determination of the above-mentioned action information, and facilitate detailed evaluation of the target movement performed by the target object.
[0108] According to an embodiment of the present disclosure, after obtaining the action information of the target motion described by the data to be played, the embodiment 800 can also compare the determined action information 840 with the predetermined standard action information 850, and determine the first evaluation value 870 for the target motion according to the similarity 860 between the two action information. For example, the action information 840 and the predetermined standard action information 850 can be vectorized, and then the similarity between the two action information can be determined according to the distance between the two vectors obtained by the vectorization. For example, if the distance between the two vectors is smaller, the similarity is greater, and the value of the first evaluation value is higher. For example, the action information 840 can include the action code and the attribute information of the action described above, and the attribute information of the action can include the posture information of the arm, the posture information of the leg and / or the posture information of the back of the target object described above. This embodiment can determine the evaluation value of a certain action according to the similarity between the attribute information of the certain action in the action information 840 and the attribute information of the certain action in the predetermined standard action information. Then, for multiple actions included in the target motion, the evaluation values of multiple actions can be obtained. This embodiment may use the evaluation value vector composed of the evaluation values of multiple actions as the first evaluation value of the target motion. Alternatively, this embodiment may use the weighted sum or average value of the evaluation values of multiple actions as the first evaluation value of the target motion.
[0109] The first evaluation value obtained in this embodiment can also reflect the completion degree of the target movement to a certain extent, and reflect the standard degree of action execution in the target movement. In this way, it can provide a reference for manual analysis of the target movement of the target object to a certain extent, which is conducive to improving the efficiency of manual analysis.
[0110] Fig. 9 It is a schematic diagram of the principle of determining the second evaluation value for the target motion according to an embodiment of the present disclosure.
[0111] In one embodiment, in a diving training scenario, for example, characteristic parameters of the splash generated when the target object enters the water during the target motion can also be determined based on the data to be played. Subsequently, a second evaluation value for the diving motion is determined based on the characteristic parameters. The determination of the second evaluation value can evaluate the completion quality of the diving motion from the perspective of the splash, which can improve the degree of automated analysis, provide reference information for manual analysis of the diving motion, and help improve the efficiency of manual analysis.
[0112] For example, Fig. 9As shown, when determining the second evaluation value, the embodiment 900 can first determine the location information 920 of the splash generated by the target object entering the water according to the data to be played 910. For example, a target detection model can be used to perform target detection on each video frame in the data to be played 910, detect and obtain the bounding box of the splash, and use the location information of the bounding box as the location information of the splash. Among them, the target detection model can, for example, use a single-stage target detection framework or a two-stage target detection framework, which is not limited in the present disclosure.
[0113] After obtaining the location information 920 of the splash, the embodiment can crop the video frame in the to-be-played data 910 according to the location information of the splash to obtain a cropped video frame 930. Subsequently, the characteristic parameter 940 of the splash generated by the target object entering the water is determined according to the cropped video frame 930. By cropping the video frame, the accuracy of the determined characteristic parameter can be improved.
[0114] For example, a deep network model such as a high-resolution network (High-Resolution Net) can be used to process the cropped video frame 930, and the deep network model outputs the depth information of the splash and / or the bursting degree information of the splash. In this embodiment, the depth information and / or the bursting degree information of the splash can be used as the feature parameter 940 of the splash. It can be understood that the deep network model can be a network model pre-trained using diving video frames marked with feature parameters, and the present disclosure does not limit this.
[0115] After obtaining the characteristic parameter 940 of the splash, the embodiment can determine the second evaluation value 950 for the diving motion according to the mapping relationship between the characteristic parameter and the evaluation value. The mapping relationship can be, for example, a simple linear relationship or a more complex nonlinear relationship, which can be set according to actual needs. In one embodiment, the characteristic parameter can also be used as the input of the convolution layer, and the features output by the convolution layer can be processed by the embedding layer to obtain the second evaluation value. For example, the convolution layer can be a convolution layer using a residual connection to reduce the complexity of the model and prevent overfitting.
[0116] In one embodiment, in a diving training scenario, the first evaluation value may be determined by using the embodiment 800 described above, and the second evaluation value may be determined by using the embodiment 900. Subsequently, the embodiment may determine the total evaluation value of the target object performing the diving exercise according to the weighted sum of the first evaluation value and the second evaluation value. The weights used in the weighting may be set according to actual needs. For example, different weights may be used for weighting according to different competition rules, and this is not limited in the present disclosure.
[0117] Based on the visual tracking method for a target object provided by the present disclosure, the present disclosure also provides a visual tracking device for a target object. Fig.10 The device is described in detail.
[0118] Fig.10 It is a structural block diagram of a visual tracking device for a target object according to an embodiment of the present disclosure.
[0119] like Fig.10 As shown, the visual tracking device 1000 for a target object in this embodiment may include a device determination module 1010 , a motion information determination module 1020 , a data acquisition module 1030 and a data generation module 1040 .
[0120] The device determination module 1010 is used to determine the target device corresponding to the moving target object according to the first event data collected by the event camera. In one embodiment, the device determination module 1010 can be used to perform the operation S210 described above, which will not be repeated here.
[0121] The motion information determination module 1020 is used to determine the motion information of the target object according to the second event data corresponding to the area where the target device is located collected by the event camera. In one embodiment, the motion information determination module 1020 can be used to perform the operation S220 described above, which will not be repeated here.
[0122] The data acquisition module 1030 is used to acquire video data collected for the target object in response to determining that the motion of the target object meets the visual tracking condition according to the motion information. In one embodiment, the data acquisition module 1030 can be used to perform the operation S230 described above, which will not be repeated here.
[0123] The data generation module 1040 is used to generate the to-be-played data describing the target motion performed by the target object according to the video data, and the target motion corresponds to the device type of the target device. In one embodiment, the data generation module 1040 can be used to perform the operation S240 described above, which will not be described in detail here.
[0124] According to an embodiment of the present disclosure, the above-mentioned instrument determination module 1010 may include: a first quantity determination submodule, which is used to determine the first event quantity for the area where each instrument is located according to the event subdata corresponding to the area where each instrument in the multiple predetermined instruments is located in the first event data; and an instrument determination submodule, which is used to determine the target instrument among the multiple predetermined instruments according to the multiple first event quantities for the areas where the multiple predetermined instruments are located.
[0125] According to an embodiment of the present disclosure, the above-mentioned motion information determination module 1020 may include: a second quantity determination submodule, for determining the second event quantity for each subregion according to the event data in each subregion for a plurality of subregions included in the pixel region where the second event data is located; a change information determination submodule, for determining the change information of the event data in each subregion collected subsequently over time in response to the second event quantity for a predetermined region among the plurality of subregions being greater than a first event quantity threshold; and a motion information determination submodule, for determining the motion information of the target object according to the change information.
[0126] According to an embodiment of the present disclosure, the above-mentioned visual tracking device 1000 for the target object may also include: a threshold determination module, used to determine a first event quantity threshold based on the depth data collected for the target object, wherein the first event quantity threshold is negatively correlated with the value of the depth data.
[0127] According to an embodiment of the present disclosure, the above-mentioned data acquisition module 1030 may include: a position prediction submodule, for determining, in response to determining that the movement of the target object satisfies the visual tracking condition based on the motion information, the predicted position information for the target object based on the event data already collected by the event camera; a rotation parameter determination submodule, for determining the rotation parameters of the robotic arm equipped with the video acquisition device based on the predicted position information; and a data acquisition submodule, for acquiring video data collected by the video acquisition device during the rotation of the robotic arm under the rotation parameters.
[0128] According to an embodiment of the present disclosure, the above-mentioned position prediction submodule may include: a bounding box determination unit, used to determine the bounding box information for the target object in each historical collection period based on the data collected in each historical collection period in the collected event data; and a position prediction unit, used to determine the predicted position information for the target object based on multiple bounding box information for the target object in multiple historical collection periods.
[0129] According to an embodiment of the present disclosure, the above-mentioned bounding box determination unit includes: a division subunit, used to divide the event data collected in each historical collection cycle into multiple pixel blocks according to a predetermined size; a state determination subunit, used to determine the activation state of each pixel block according to the event data in each pixel block; the activation state includes an activated state and an unactivated state; and a bounding box determination subunit, used to determine the bounding box information for the target object according to the pixel block in the activated state.
[0130] According to an embodiment of the present disclosure, the above-mentioned bounding box determination subunit is specifically used to: cluster the pixel blocks in the activated state to obtain the cluster center; determine the target pixel blocks in the activated state that are located within a predetermined range centered on the cluster center; and determine the bounding box information for the target object based on the circumscribed rectangular frame of the target pixel block.
[0131] According to an embodiment of the present disclosure, the above-mentioned state determination subunit is specifically used to: in response to the number of events indicated by the event data in each pixel block being greater than or equal to a second event number threshold, determine that each pixel block is in an activated state; and in response to the number of events indicated by the event data in each pixel block being less than the second event number threshold, determine that each pixel block is in an unactivated state.
[0132] According to an embodiment of the present disclosure, the above-mentioned position prediction unit may include: a speed determination subunit, used to smooth multiple bounding box information in the order of multiple historical acquisition cycles to determine the movement speed of the target object; and a position determination subunit, used to determine the predicted position information for the target object based on the movement speed.
[0133] According to an embodiment of the present disclosure, the above-mentioned data generation module 1040 is specifically used to: in response to determining that the movement of the target object meets the visual tracking condition based on the motion information, parallelly encode the video data acquired in real time and the video data collected before the movement of the target object meets the visual tracking condition, and obtain the to-be-played data describing the target motion performed by the target object.
[0134] According to an embodiment of the present disclosure, the above-mentioned video tracking device 1000 for the target object may also include: an action recognition module, used to perform posture recognition on the target object in the data to be played, and obtain action information of the target movement described by the data to be played; and a storage module, used to store the action information and the data to be played in association.
[0135] According to an embodiment of the present disclosure, the above-mentioned action recognition module includes: a key point recognition submodule, which is used to perform posture recognition on the target object in each video frame in the data to be played, and obtain three-dimensional key point information of the target object in each video frame; a posture determination submodule, which is used to determine the posture information of the target object in each video frame according to the three-dimensional key point information; and an action determination submodule, which is used to determine the action information according to the posture information of the target object in multiple video frames.
[0136] According to an embodiment of the present disclosure, the above-mentioned video tracking device 1000 for a target object may further include: a first evaluation module, configured to determine a first evaluation value for the target motion according to the similarity between the motion information and the predetermined standard motion information.
[0137] According to an embodiment of the present disclosure, the above-mentioned target motion includes diving motion; the above-mentioned video tracking device 1000 for the target object may also include: a splash feature determination module, used to determine the characteristic parameters of the splash generated by the target object entering the water according to the data to be played; and a second evaluation module, used to determine a second evaluation value for the target motion according to the characteristic parameters.
[0138] According to an embodiment of the present disclosure, the above-mentioned water splash feature determination module may include: a water splash position determination sub-module, used to determine the position information of the water splash generated by the target object entering the water according to the data to be played; a cropping sub-module, used to crop the video frames in the data to be played according to the position information of the water splash to obtain the cropped video frames; and a feature determination sub-module, used to determine the feature parameters of the water splash generated by the target object entering the water according to the cropped video frames.
[0139] According to an embodiment of the present disclosure, the above-mentioned video tracking device 1000 for a target object may further include: an identity recognition module for identifying the target object in the data to be played to obtain identity information of the target object; and a storage module for storing the identity information in association with the data to be played.
[0140] In order to facilitate the implementation of the visual tracking method for the target object described above, the present disclosure also provides a visual tracking system for the target object. Fig.11 The system is described in detail.
[0141] Fig.11 It is a structural schematic diagram of a video tracking system for a target object according to the first embodiment of the present disclosure.
[0142] like Fig.11 As shown, the video tracking system 1100 of this embodiment may include a video acquisition device 1110, an event camera 1120, and a processing device 1130. The video tracking system 1100 may also include a cabinet, in which the processing device 1130 is disposed, and the video acquisition device 1110 and the event camera 1120 are fixed to the upper surface of the cabinet. In a diving scene, the cabinet may be disposed by the swimming pool, for example. In a rock climbing warehouse, the cabinet may be disposed directly opposite the rock climbing wall, for example.
[0143] In one embodiment, the video acquisition device 1110 is used to collect video data within the visual range. The event camera 1120 can be set at any position around the video acquisition device 1110. The event camera 1120 observes the "motion" in the scene, and is more specifically used to observe the change in brightness in the scene. The working principle of the event camera 1120 is similar to the working principle of the event camera described above, and will not be repeated here.
[0144] The processing device 1130 can be, for example, a portable computer, a desktop computer, a server, etc. The processing device 1130 is connected in communication with the video acquisition device 1110 to obtain the video data acquired by the video acquisition device 1110, and to generate the data to be played according to the video data. The processing device 1130 can also be connected in communication with the event camera 1120 to obtain the event data acquired by the event camera 1120, and determine the target device where the target object is located and the motion information of the target object according to the event data.
[0145] In one embodiment, if Fig.11 As shown, the video tracking system 1100 for a target object may further include a mechanical arm 1140. The mechanical arm 1140 may be fixed to the upper surface of the cabinet, and the video acquisition device 1110 may be mounted on the mechanical arm 1140.
[0146] In this embodiment, the mechanical arm 1140 may be, for example, the mechanical arm described above that can rotate around two or more axes. The video acquisition device 1110 may be disposed on the mechanical arm 1140 and, driven by the rotation of the mechanical arm 1140, change the yaw angle and / or pitch angle, etc.
[0147] In one embodiment, the processing device 1130 may also be communicatively connected to the robotic arm 1140, for example, to control the rotation of the robotic arm according to the predicted position information of the target object.
[0148] In one embodiment, the processing device 1130 may be specifically used to execute the visual tracking method for the target object described above, which will not be described in detail herein.
[0149] Fig.12 4 is a schematic diagram of the structure of a video tracking system for a target object according to the second embodiment of the present disclosure.
[0150] In one embodiment, if Fig.12 As shown, the visual tracking system 1200 for the target object may include a depth camera 1250 in addition to the mechanical arm 1240, the video acquisition device 1210, the event camera 1220 and the processing device 1230. The depth camera 1250 may be similar to the event camera 1220 and be disposed at any position around the mechanical arm. Alternatively, the depth camera 1250 may be similar to the video acquisition device and fixed to the mechanical arm 1240 so as to rotate driven by the mechanical arm. In this embodiment, the processing device 1230 may also be connected to the depth camera 1250 in communication to obtain the depth data collected by the depth camera 1250, and determine the first event quantity threshold described above based on the depth data, which will not be described in detail here.
[0151] In one embodiment, the visual tracking system for the target object may also include a playback device. Fig.12 As shown, the playback device 1260 can be connected to the processing device 1230 via a wired communication link. The playback device 1260 can be set in a peripheral area of the processing device, or can be set in a different physical space from the processing device. For example, the playback device 1260 can be set in a lounge set in a competition venue, while the processing device is set next to a swimming pool set in a competition scene, or in an area directly opposite a rock climbing wall.
[0152] For example, the playback device 1260 may be provided with a video decoder and a player. The processing device 1230 may, for example, send the encoded data to be played to the playback device 1260 via a network, and the video decoder of the playback device may decode the received data to be played to obtain video data. In this way, the player can play the decoded video data. In one embodiment, the video decoder may, for example, use a GPU to improve decoding efficiency. Accordingly, the processing device 1230 may, for example, utilize a GPU to encode the video data using the parallel encoding method described above. In this way, after the video is recorded, the time required from encoding to decoding and playing can be greatly reduced, and the timeliness of video playback can be improved.
[0153] In one embodiment, the visual tracking system for the target object may further include a console, which may be provided with a plurality of control buttons, and the console may be connected to the processing device 1230. The console may, for example, send a first control signal to the processing device 1230 in response to the operation of the first control button among the plurality of control buttons. Then the processing device 1230 may control the rotation of the mechanical arm 1240 according to the first control signal after receiving the first control signal. For example, the console may be arranged in the same physical space as the playback device 1260. In this way, when the coach and the like watch the video data played by the playback device 1260, the remote control of the mechanical arm may be realized by operating the control buttons on the console according to the situation of the collected video data. In this way, it is convenient to change the position of the video acquisition device tracking and shooting in real time according to actual needs, so that the video data collected by the video acquisition device 1210 carried on the mechanical arm can be more in line with actual needs, and the collection accuracy of the video data can be improved.
[0154] For example, when the console sends the first control signal to the processing device, it can be sent via an IO to TCP module, etc., so that the sent first control signal is a signal in a predetermined format that can be recognized and processed by the processing device 1230.
[0155] For example, by operating the control buttons in the console, the robot arm can be placed in an automatic tracking mode so that the visual tracking system can automatically track the target object. For example, by operating the control buttons in the console, the processing device can be remotely restarted so that when the processing device fails, the processing device can be restarted and restored to a normal working state.
[0156] In one embodiment, the console may also be connected to the playback device 1260 for communication. The console may also send a second control signal to the playback device 1260 in response to the operation of a second control button among the plurality of control buttons, so as to adjust the video data played by the playback device via the second control signal. For example, the playback device 1260 may adjust the video data played by the playback device after receiving the second control signal. Specifically, for example, the playback speed of the video data may be adjusted, and / or the video data played may be switched. It is understandable that, for different adjustment methods, the second control button corresponding to the operation is a different button.
[0157] By setting the second control button, when the coach or the like watches the video data played by the playback device 1260, the playback device can be controlled by operating the control button on the console according to the situation of the played video data. In this way, the video data played by the playback device can be adjusted in real time according to actual needs, so that the video data played by the playback device can be more in line with actual needs.
[0158] In one embodiment, the visual tracking system for the target object may also be provided with a remote control device, which may be communicatively connected with the processing device. For example, the remote control device may include a remote control signal sending module and a portable remote control, and a plurality of buttons may be provided on the remote control. In response to the operation of the first button among the plurality of buttons, the remote control may, for example, generate a third control signal, and send the third control signal to the processing device via the remote control signal sending module. Accordingly, a remote control signal receiving module may be provided in the processing device, for example. After receiving the third control signal, the processing device may control the rotation of the robotic arm according to the third control signal. The control signal generated by the remote control may, for example, be an infrared signal, etc., which is not limited in the present disclosure.
[0159] The disclosed embodiment of the present invention, through the provision of a remote control device, can be carried by users such as coaches at a sports site, and remotely control the robotic arm through the remote control device carried with them, so that the video data collected by the video acquisition device carried on the robotic arm can better meet actual needs, thereby improving the flexibility of remote control of the robotic arm.
[0160] In one embodiment, the remote control device may also be connected to the playback device in communication, and through a similar principle, the remote control device may also send a fourth control signal to the playback device in response to the operation of a second button among the multiple buttons, so as to adjust the video data played by the playback device through the remote control device.
[0161] It can be understood that the control of the playback device and the processing device via the remote control device is similar to the control of the playback device and the processing device via the console described above. The only difference is that the remote control device is a portable device, while the console is usually set in the same physical space as the playback device, etc.
[0162] The disclosed embodiment can realize remote control of the robot arm or playback device by setting a control console or remote control device. In this way, in actual scenarios, the video acquisition device carried by the robot arm can be controlled according to actual needs to perform video monitoring on different target objects. Compared with the technical solution of using algorithms to identify specific target objects and monitor specific target objects, the accuracy of monitoring can be improved without the need for computing power support.
[0163] It should be noted that the collection, storage, use, processing, transmission, provision, disclosure and application of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate public order and good morals. In the technical solution of this disclosure, the user's authorization or consent is obtained before obtaining or collecting user personal information.
[0164] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0165] Fig.13 A schematic block diagram of an example electronic device 1300 that can be used to implement a visual tracking method for a target object of an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0166] like Fig.13As shown, the device 1300 includes a computing unit 1301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1302 or a computer program loaded from a storage unit 1308 into a random access memory (RAM) 1303. In the RAM 1303, various programs and data required for the operation of the device 1300 can also be stored. The computing unit 1301, the ROM 1302, and the RAM 1303 are connected to each other via a bus 1304. An input / output (I / O) interface 1305 is also connected to the bus 1304.
[0167] A number of components in the device 1300 are connected to the I / O interface 1305, including: an input unit 1306, such as a keyboard, a mouse, etc.; an output unit 1307, such as various types of displays, speakers, etc.; a storage unit 1308, such as a disk, an optical disk, etc.; and a communication unit 1309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1309 allows the device 1300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0168] The computing unit 1301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1301 performs the various methods and processes described above, such as a visual tracking method for a target object. For example, in some embodiments, the visual tracking method for a target object may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1308. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1300 via the ROM 1302 and / or the communication unit 1309. When the computer program is loaded into the RAM 1303 and executed by the computing unit 1301, one or more steps of the visual tracking method for the target object described above may be performed. Alternatively, in other embodiments, the computing unit 1301 may be configured to execute a visual tracking method for a target object in any other appropriate manner (eg, by means of firmware).
[0169] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0170] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0171] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0172] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0173] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0174] A computer system may include a client and a server. The client and the server are generally far away from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. Among them, the server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server can also be a server of a distributed system, or a server combined with a blockchain.
[0175] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0176] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A visual tracking method for a target object, comprising: Determining a target device corresponding to the moving target object according to first event data collected by the event camera; Determining motion information of the target object according to second event data corresponding to the area where the target device is located and collected by the event camera; In response to determining, according to the motion information, that the motion of the target object satisfies a visual tracking condition, acquiring video data collected for the target object; as well as generating, based on the video data, data to be played that describes a target motion performed by the target object, wherein the target motion corresponds to an apparatus type of the target apparatus; The event data collected by the event camera after the first event data is collected includes the second event data; the visual tracking condition includes that the movement rate of the target limb of the target object in the vertical direction reaches a predetermined rate threshold; the determining the movement information of the target object according to the second event data corresponding to the area where the target device is located collected by the event camera includes: For a plurality of sub-regions included in the pixel region where the second event data is located, determining the number of second events for each sub-region according to the event data in each sub-region; In response to a second event quantity for a predetermined area among the plurality of sub-areas being greater than a first event quantity threshold, determining information on changes in event data collected subsequently within each of the sub-areas over time; and determining motion information of the target object according to the change information; The video data is collected by a video collection device, and the collection angle of the video collection device is determined based on the predicted position information of the target object, and the predicted position information of the target object is determined by the following steps: Determining, based on the data collected in each historical collection period in the event data collected by the event camera, the bounding box information for the target object in each historical collection period; and The predicted position information for the target object is determined according to a plurality of bounding box information for the target object in a plurality of historical acquisition cycles.
2. The method according to claim 1, wherein: The step of determining the target device corresponding to the moving target object according to the first event data collected by the event camera comprises: Determining the first event quantity for the area where each of the plurality of predetermined devices is located according to the event sub-data corresponding to the area where each of the plurality of predetermined devices is located in the first event data; and The target device among the plurality of predetermined devices is determined according to a plurality of first event quantities for the areas where the plurality of predetermined devices are located.
3. The method according to claim 1, further comprising: Determining the first event quantity threshold according to the depth data collected for the target object, The first event quantity threshold is negatively correlated with the value of the depth data.
4. The method according to claim 1, wherein: In response to determining, according to the motion information, that the motion of the target object satisfies the visual tracking condition, acquiring the video data collected for the target object comprises: In response to determining, according to the motion information, that the motion of the target object satisfies a visual tracking condition, determining predicted position information for the target object according to event data collected by the event camera; Determining the rotation parameters of the robotic arm equipped with the video acquisition device according to the predicted position information; and The video data collected by the video acquisition device during the rotation of the robotic arm under the rotation parameters is obtained.
5. The method according to claim 1, wherein: The determining, based on the data collected in each historical collection period in the collected event data, that the bounding box information for the target object in each historical collection period includes the event data collected in each historical collection period: Dividing the event data collected in each historical collection period into a plurality of pixel blocks according to a predetermined size; Determining the activation state of each pixel block according to the event data in each pixel block; The activation state includes an activated state and an unactivated state; as well as The bounding box information for the target object is determined according to the pixel blocks in the activated state.
6. The method according to claim 5, wherein: The determining, according to the pixel block in the activated state, the bounding box information for the target object comprises: Clustering the pixel blocks in the activated state to obtain cluster centers; Determine a target pixel block located within a predetermined range centered on the cluster center among the pixel blocks in the activated state; and According to the circumscribed rectangular frame of the target pixel block, bounding box information for the target object is determined.
7. The method according to claim 5, wherein: Determining the activation state of each pixel block according to the data in each pixel block includes: In response to the number of events indicated by the event data in each pixel block being greater than or equal to a second event number threshold, determining that each pixel block is in an activated state; and In response to the event quantity indicated by the event data in each pixel block being less than the second event quantity threshold, each pixel block is determined to be in an inactive state.
8. The method according to claim 1, wherein: The determining, based on the bounding box information of the target object in multiple historical acquisition cycles, the predicted position information of the target object comprises: Smoothing the plurality of bounding box information in the order of the plurality of historical acquisition cycles to determine the motion speed of the target object; and According to the movement speed, predicted position information for the target object is determined.
9. The method according to claim 1, wherein generating the to-be-played data describing the target motion of the target object according to the video data comprises: In response to determining that the movement of the target object satisfies the visual tracking condition based on the motion information, the video data acquired in real time and the video data acquired before the movement of the target object satisfies the visual tracking condition are encoded in parallel to obtain data to be played that describes the target movement of the target object.
10. The method according to claim 1, further comprising: Performing posture recognition on the target object in the data to be played to obtain action information of the target motion described by the data to be played; as well as The action information and the data to be played are stored in association with each other.
11. The method according to claim 10, wherein: The performing of posture recognition on the target object in the data to be played to obtain the action information of the target motion described by the data to be played includes: For each video frame in the data to be played, performing posture recognition on a target object in each video frame to obtain three-dimensional key point information of the target object in each video frame; Determining the posture information of the target object in each video frame according to the three-dimensional key point information; and The action information is determined according to the posture information of the target object in the multiple video frames.
12. The method according to claim 10, further comprising: A first evaluation value for the target motion is determined according to a similarity between the motion information and predetermined standard motion information.
13. The method according to claim 1 or 12, wherein: The target sport includes diving; and the method further includes: Determining characteristic parameters of a splash generated by the target object entering the water according to the data to be played; and A second evaluation value for the object motion is determined based on the characteristic parameter.
14. The method according to claim 13, wherein: Determining the characteristic parameters of the splash generated by the target object entering the water according to the data to be played includes: Determining, according to the data to be played, position information of a splash generated by the target object entering the water; Crop the video frames in the to-be-played data according to the position information of the splash to obtain cropped video frames; and According to the cropped video frame, characteristic parameters of the splash generated by the target object entering the water are determined.
15. The method according to claim 1, further comprising: Performing identity recognition on a target object in the data to be played to obtain identity information of the target object; as well as The identity information and the data to be played are stored in association with each other.
16. A visual tracking device for a target object, comprising: An equipment determination module, used to determine a target equipment corresponding to a moving target object according to first event data collected by the event camera; a motion information determination module, configured to determine the motion information of the target object according to the second event data corresponding to the area where the target device is located and collected by the event camera; A data acquisition module, configured to acquire video data collected for the target object in response to determining, according to the motion information, that the motion of the target object satisfies a visual tracking condition; as well as a data generation module, configured to generate, based on the video data, data to be played describing a target motion performed by the target object, wherein the target motion corresponds to a device type of the target device; The event data collected by the event camera after collecting the first event data includes the second event data; the visual tracking condition includes that the movement speed of the target limb of the target object in the vertical direction reaches a predetermined speed threshold; and the motion information determination module includes: A second quantity determination submodule, configured to determine, for each of a plurality of sub-regions included in the pixel region where the second event data is located, the second event quantity for each of the sub-regions according to the event data in each sub-region; a change information determination submodule, configured to determine change information over time of event data subsequently collected in each of the sub-regions in response to a second event quantity for a predetermined region of the plurality of sub-regions being greater than a first event quantity threshold; and A motion information determination submodule, used to determine the motion information of the target object according to the change information; The video data is collected by a video acquisition device, and the acquisition angle of the video acquisition device is determined based on the predicted position information of the target object; the predicted position information of the target object is determined by a position prediction submodule included in the data acquisition module; the position prediction submodule includes: a bounding box determining unit, configured to determine bounding box information for the target object in each historical collection period according to data collected in each historical collection period in the event data collected by the event camera; and The position prediction unit is used to determine the predicted position information for the target object according to multiple bounding box information for the target object in multiple historical collection cycles.
17. A video tracking system for a target object, comprising: Video acquisition equipment; An event camera is arranged at a peripheral position of the video acquisition device; as well as a processing device, connected in communication with the video acquisition device and the event camera to obtain data acquired by the video acquisition device and the event camera; Wherein, the processing device is configured to: execute the visual tracking method for the target object according to any one of claims 1-15.
18. The system of claim 17, further comprising: A mechanical arm, on which the video acquisition device is mounted; Wherein, the control device is also connected to the mechanical arm to control the rotation of the mechanical arm.
19. The system of claim 18, further comprising: A depth camera is mounted on the robotic arm. The control device is also connected to the depth camera for communication so as to obtain the depth data collected by the depth camera.
20. The system of claim 18, further comprising: A playback device, provided with a video decoder, the playback device being communicatively connected with the processing device; The processing device is further configured to: send the data to be played to the playing device; and the playing device is configured to: decode the data to be played using the video decoder to play the decoded video data.
21. The system of claim 20, further comprising: A control console is provided with a plurality of control buttons, the control console is communicatively connected with the processing device, and is arranged in the same physical space as the playback device; The console is configured to: in response to an operation on a first control button among the plurality of control buttons, send a first control signal to the processing device; and The processing device is further configured to: in response to receiving the first control signal, control the rotation of the robot arm according to the first control signal.
22. The system of claim 21, wherein: The console is also in communication connection with the playback device; the console is also configured to: in response to an operation on a second control button among the plurality of control buttons, send a second control signal to the playback device; The playback device is further configured to: in response to receiving the second control signal, adjust the video data played by the playback device, Wherein, adjusting the video data played by the playback device includes at least one of the following: adjusting the playback speed; switching the played video data.
23. The system of claim 20, further comprising: a remote control device, the remote control device being communicatively connected to the processing device; The remote control device is configured to: in response to an operation on a first button among a plurality of buttons provided on the remote control device, send a third control signal to the processing device; and The processing device is further configured to: in response to receiving the third control signal, control the rotation of the robot arm according to the third control signal.
24. The system of claim 23, wherein: The remote control device is also connected to the playback device in communication; the remote control device is further configured to: in response to an operation on a second button among the plurality of buttons, send a fourth control signal to the playback device; The playback device is further configured to: in response to receiving the fourth control signal, adjust the video data played by the playback device, Wherein, adjusting the video data played by the playback device includes at least one of the following: adjusting the playback speed; switching the played video data.
25. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the method according to any one of claims 1 to 15.
26. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 15.
27. A computer program product, comprising a computer program / instruction, wherein the computer program / instruction is stored on at least one of a readable storage medium and an electronic device, and when the computer program / instruction is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.
