WO2022120533A1 - Motion trajectory display system and method, and storage medium - Google Patents

Motion trajectory display system and method, and storage medium Download PDF

Info

Publication number
WO2022120533A1
WO2022120533A1 PCT/CN2020/134334 CN2020134334W WO2022120533A1 WO 2022120533 A1 WO2022120533 A1 WO 2022120533A1 CN 2020134334 W CN2020134334 W CN 2020134334W WO 2022120533 A1 WO2022120533 A1 WO 2022120533A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
image
images
sports field
posture
Prior art date
Application number
PCT/CN2020/134334
Other languages
French (fr)
Chinese (zh)
Inventor
侯弘毅
陈旭
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/134334 priority Critical patent/WO2022120533A1/en
Publication of WO2022120533A1 publication Critical patent/WO2022120533A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/292Multi-camera tracking

Definitions

  • the present application relates to the technical field of live broadcasting, and in particular, to a system, method and storage medium for displaying motion trajectories.
  • the Robomaser Mecha Master Competition is a large-scale event that integrates technology, education, and mass entertainment, and AR live broadcast is an indispensable part of it.
  • it is necessary to render the trajectory special effects of the projectile launched by the robot in real time during the live broadcast, so as to make up for the shortcomings of the inconspicuous ballistic trajectory in the live broadcast screen.
  • vicon, nokov, etc. require a large number of cameras (for example, vikon requires at least 24 cameras), and the cost is high; the motion compensation system for reflective processing of objects to be captured on the market is very expensive, and the market cannot reflect objects to be captured.
  • the processing motion compensation system cannot well adapt to the needs of trajectory special effects.
  • the present application provides a system, method and storage medium for displaying a motion trajectory.
  • the present application provides a system for displaying motion trajectories, the system comprising:
  • a plurality of positioning camera devices each of which is arranged on the sports field in a different first posture, for synchronously photographing a target and obtaining a first image, the first image carrying a camera to obtain the first image.
  • the target moves on the sports field;
  • a live broadcast channel machine including an augmented reality lens
  • the live broadcast channel machine is used to shoot the target in a second attitude and obtain a second image for live broadcast, the second image carries the second image obtained by shooting the second shooting time;
  • a first server configured to determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first postures corresponding to the plurality of first images; According to the second posture corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, generate the image of the target on the second image
  • the AR picture of the motion track, the AR picture is used for displaying on the user's display device.
  • the present application provides a method for displaying a motion trajectory, the method comprising:
  • a plurality of positioning camera devices are used to simultaneously capture a target and obtain a plurality of corresponding first images.
  • the first images carry the first shooting time when the first image is captured, and the plurality of positioning camera devices use different first images.
  • a gesture is arranged on the sports field on which the target moves;
  • the target is photographed in a second attitude by a live broadcast channel machine to obtain a second image for live broadcast, the second image carries the second shooting time when the second image is obtained by shooting, and the live broadcast channel machine includes Augmented reality lenses;
  • the AR picture is used for displaying on the user's display device.
  • the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor enables the processor to display the above-mentioned motion trajectory method.
  • Embodiments of the present application provide a system, method, and storage medium for displaying motion trajectories.
  • a plurality of positioning camera devices arranged on a sports field in different first postures synchronously photograph a target moving on the sports field to obtain a plurality of corresponding The first image of the shooting time;
  • the live broadcast channel machine including the augmented reality lens shoots the target in the second posture to obtain the second image for live broadcast and carrying the second shooting time;
  • the first server is based on the multiple first images and multiple The first posture corresponding to the first image is used to determine the three-dimensional position of the target on the sports field at each first shooting time, and the movement trajectory of the target on the second image is generated in combination with the second posture corresponding to the second image and the second image.
  • the AR picture is used for displaying on the user's display device. Due to the multiple different first images obtained by synchronously photographing the moving target on the sports field through a plurality of positioning camera devices with different positions and different attitudes, the three-dimensional positions of the target on the sports field at different times can be recovered, which makes more than two positioning cameras
  • the device can cover the common moving path of the target on the sports field by adjusting the arrangement angle and arrangement method to meet the requirements of determining the three-dimensional position of the target on the sports field, so it does not need too many positioning camera devices. This way, it can save costs.
  • the second image for the live broadcast can be obtained by shooting the target in the second attitude through the live broadcast channel machine including the augmented reality lens, and the AR picture of the movement trajectory of the target on the second image can be generated in real time during the live broadcast, which can further be used for rendering.
  • Provide technical support for the picture of the motion track enhance the live broadcast effect, and improve the observability of the game.
  • it can also render the picture of the motion trajectory, which can enhance the live broadcast effect and improve the observability of the game.
  • FIG. 1 is a schematic structural diagram of an embodiment of a display system for a motion trajectory of the present application
  • FIG. 2 is a schematic structural diagram of another embodiment of the display system of the motion trajectory of the present application.
  • FIG. 3 is a schematic structural diagram of another embodiment of the display system of the motion trajectory of the present application.
  • FIG. 4 is a schematic structural diagram of another embodiment of the display system of the motion trajectory of the present application.
  • FIG. 5 is a schematic diagram of the competition field of an embodiment of the display system of the motion trajectory of the present application in the Robomaster competition application scenario;
  • FIG. 6 is a schematic diagram of an embodiment of a display system applying the motion trajectory of the present application in the competition venue of FIG. 5;
  • Fig. 7 is the display effect diagram of Fig. 6;
  • FIG. 8 is a schematic flowchart of an embodiment of a method for displaying a motion trajectory of the present application.
  • Positioning camera device 20. Live broadcast channel machine; 30. First server; 31. Positioning server; 32. AR rendering server; 40. Detection server; 50. Clock synchronization protocol clock module; 60. Tracking PTZ; 70 , Director station.
  • the AR live broadcast of the Robomaser Mecha Master Competition is an integral part of it.
  • it is necessary to render the trajectory special effects of the projectile launched by the robot in real time during the live broadcast, so as to make up for the shortcomings of the inconspicuous ballistic trajectory in the live broadcast screen.
  • the solutions adopted are vicon, nokov, etc., but vicon and nokov require a large number of cameras (for example, vikon requires at least 24 cameras), and the cost is high; motion compensation for reflective processing of objects to be captured on the market
  • the system is very expensive, and the motion compensation system that cannot perform reflection processing cannot well meet the needs of trajectory special effects.
  • Embodiments of the present application provide a system, method, and storage medium for displaying motion trajectories.
  • a plurality of positioning camera devices arranged on a sports field in different first postures synchronously photograph a target moving on the sports field to obtain a plurality of corresponding The first image of the shooting time;
  • the live broadcast channel machine including the augmented reality lens shoots the target in the second posture to obtain the second image for live broadcast and carrying the second shooting time;
  • the first server is based on the multiple first images and multiple The first posture corresponding to the first image is used to determine the three-dimensional position of the target on the sports field at each first shooting time, and the movement trajectory of the target on the second image is generated in combination with the second posture corresponding to the second image and the second image.
  • the AR picture is used for displaying on the user's display device. Due to the multiple different first images obtained by synchronously photographing the moving target on the sports field through a plurality of positioning camera devices with different positions and different attitudes, the three-dimensional positions of the target on the sports field at different times can be recovered, which makes more than two positioning cameras
  • the device can cover the common moving path of the target on the sports field by adjusting the arrangement angle and arrangement method to meet the requirements of determining the three-dimensional position of the target on the sports field, so it does not need too many positioning camera devices. This way, it can save costs.
  • the second image for the live broadcast can be obtained by shooting the target in the second posture through the live broadcast channel machine including the augmented reality lens, and the AR picture of the movement trajectory of the target on the second image can be generated in real time during the live broadcast, and further follow-up can also be used. Render the picture of the motion track, which can enhance the live broadcast effect and improve the observability of the game.
  • FIG. 1 is a schematic structural diagram of an embodiment of a motion trajectory display system of the present application.
  • the display system 100 includes a plurality of positioning camera devices 10 , a live broadcast channel machine 20 and a first server 30 .
  • Each of the plurality of positioning camera devices 10 is arranged on the sports field in a different first posture, and is used for synchronously photographing a target and obtaining a first image.
  • the first image carries the first image obtained by shooting.
  • the target is moving on the sports field.
  • the live broadcast channel machine 20 includes an augmented reality lens, and the live broadcast channel machine 20 is used to shoot the target in a second attitude and obtain a second image for live broadcast, the second image carries the second image obtained by shooting. The second capture time of the image.
  • the first server 30 is configured to determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first gestures corresponding to the plurality of first images; According to the second posture corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, generate the image of the target on the second image.
  • the AR picture of the motion track, the AR picture is used for displaying on the user's display device.
  • the motion trajectory display system of this embodiment can be used in a sports venue to live broadcast the moving target to the user and provide technical support for visually displaying the motion trajectory of the target.
  • the sports field is square, and a plurality of the positioning camera devices 10 can be evenly arranged around the diagonal line of the sports field. In this way, a plurality of the positioning camera devices 10 can be made to cover the common moving path of the target on the sports field as much as possible, so as to meet the requirement of determining the three-dimensional position of the target on the sports field.
  • the targets include spherical targets.
  • the sports field includes a Robomaser game field.
  • the target includes a golf ball.
  • a plurality of positioning camera devices 10 are respectively arranged on the sports field in different first postures, and the objects moving on the sports field are synchronously photographed to obtain the first image. Since the first image carries the corresponding first shooting time, Through two or more first images of the same first shooting time, the three-dimensional position of the target on the sports field at the first shooting time can be obtained, and then the target can be obtained at multiple consecutive and different first shooting times. , The three-dimensional position on the sports field, that is, the three-dimensional position of the target on the sports field at different times, at these positions from the user's viewing angle, the movement trajectory of the target moving on the sports field can be obtained.
  • This embodiment uses the multi-eye positioning technology.
  • the multi-eye positioning technology is based on the principle of different coordinates of 2D images projected by objects in 3D space on multiple camera devices with different positions and different attitudes. By calibrating the camera device attitude and obtaining A technique for recovering the 3D position of an object from the position of the object in the 2D image of different cameras.
  • the simplest is the binocular positioning technology, which only needs two cameras to recover the 3D position of the object. Therefore, in this embodiment, two or more positioning camera devices 10 can meet the requirements of determining the three-dimensional position of the target on the sports field by adjusting the arrangement angle and arrangement to cover the common moving path of the target on the sports field. There are many positioning camera devices 10, in this way, the cost can be saved.
  • the live broadcast channel machine 20 shoots the target in the second attitude and obtains the second image for live broadcast. Since the second image is used for live broadcast for the user to watch, the second image when the live broadcast channel machine captures the second image. Gesture can be thought of as a user perspective.
  • the live broadcast channel machine 20 includes an augmented reality lens (AR, Augmented Reality)
  • the AR lens has a built-in rotary encoder in the traditional lens, and can obtain the real-time focal length and focus of the current lens in real time, so it can display the real-time movement trajectory in the live broadcast. screen, enhance the live broadcast effect, and improve the observability of the game.
  • the second image carries the second shooting time at which the second image is obtained. Therefore, the target can be projected on the projection plane corresponding to the user's perspective, and the multiple three-dimensional positions of the target at the second shooting time and before the second shooting time can be projected.
  • the projection position of the projection plane corresponding to the user's perspective is fused with the second image to generate an AR picture of the movement track of the target on the second image.
  • multiple positioning camera devices arranged on the sports field in different first postures synchronously shoot a target moving on the sports field to obtain a plurality of corresponding first images with the first shooting time; live channels including augmented reality lenses
  • the camera captures the target in the second posture to obtain a second image for live broadcast and carries the second shooting time;
  • the first server determines each first image according to the first postures corresponding to the plurality of first images and the plurality of first images
  • the three-dimensional position of the target on the sports field at the time of shooting is combined with the second posture corresponding to the second image and the second image to generate an AR picture of the movement trajectory of the target on the second image, and the AR picture is used for displaying on the user's display device. Show on.
  • the three-dimensional positions of the target on the sports field at different times can be recovered, which makes more than two positioning cameras
  • the device can cover the common moving path of the target on the sports field by adjusting the arrangement angle and arrangement method to meet the requirements of determining the three-dimensional position of the target on the sports field, so it does not need too many positioning camera devices. This way, it can save costs.
  • the second image for the live broadcast can be obtained by shooting the target in the second posture through the live broadcast channel machine including the augmented reality lens, and the AR picture of the movement trajectory of the target on the second image can be generated in real time during the live broadcast, and further follow-up can also be used. Render the picture of the motion track, which can enhance the live broadcast effect and improve the observability of the game.
  • the first server 30 is divided into two different servers, and the functions of the first server 30 are implemented by the two different servers. That is, the first server 30 includes: a positioning server 31 and an AR rendering server 32, as shown in FIG. 2 .
  • the positioning server 31 is configured to determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first gestures corresponding to the plurality of first images.
  • the AR rendering server 32 is configured to generate, according to the second pose corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, the The AR picture of the motion trajectory on the second image is used for displaying on the user's display device.
  • the positioning server 31 is connected to the positioning camera device 10, obtains a plurality of the first images captured by the positioning camera device 10 and the first postures corresponding to the first images, and then determines each The three-dimensional position of the target on the sports field at the first shooting time.
  • the AR rendering server 32 is connected to the positioning server 31, and is connected to the live broadcast channel machine 20, and the positioning server 31 sends the determined three-dimensional position of the target on the sports field at each of the first shooting times to The AR rendering server 32, the AR rendering server 32 also obtains the second image and the second posture corresponding to the second image from the live broadcast channel machine 20, and then according to the second posture corresponding to the second image, each of the first The three-dimensional position of the target on the sports field and the second image at a shooting time generate an AR picture of the movement track of the target on the second image.
  • the AR rendering server 32 is further configured to determine the current projection plane according to the second posture corresponding to the second image obtained by the live broadcast channel machine 20; according to the current projection plane and each each of the three-dimensional positions of the target on the sports field at the first shooting time, and determine each projection position of each of the three-dimensional positions on the current projection plane; The two images are fused and rendered to generate an AR picture of the movement track of the target on the second image.
  • a server is also added to detect the approximate position of the target in the first image in advance, so as to facilitate the subsequent rapid determination of the three-dimensional position of the target.
  • the system 100 further includes: the detection server 40 , as shown in FIG. 3 .
  • the detection server 40 is configured to detect the first image, and extract the candidate location regions of the target in the first image; at this time, the positioning server 31 is also configured to locate a plurality of first locations according to the target.
  • the three-dimensional position of the target on the sports field at each of the first shooting times is determined from the plurality of candidate position regions in the image and the first postures corresponding to the plurality of the first images.
  • the detection server 40 is connected to the positioning camera device 10, acquires the first image captured by the positioning camera device 10, detects the first image, and extracts the candidate position area of the target in the first image . Since the approximate position of the target in the first image is pre-detected by the detection server 40, the positioning server 31 determines the position of the target according to the plurality of candidate position regions in the plurality of first images and the plurality of first images. The corresponding first posture is to determine the three-dimensional position of the target on the sports field at each of the first shooting times. On the one hand, the speed at which the positioning server 31 determines the three-dimensional position of the target on the sports field can be improved, and the subsequent time can be reduced. On the other hand, interference caused by non-targets can be effectively eliminated in advance, thereby further improving the determination speed of the positioning server 31 and reducing the time delay.
  • the detection server 40 makes the approximate position of the target in the first image more detailed. That is, the detection server 40 is further configured to detect the first image, and extract the center position of the target in the candidate position area in the first image; at this time, the positioning server is also configured to According to the plurality of center positions of the candidate position regions in the plurality of first images and the first postures corresponding to the plurality of first images, it is determined that the target is on the sports field at each of the first shooting times three-dimensional position.
  • a plurality of detection servers 40 may be arranged correspondingly to ensure the detection speed. That is, a plurality of the positioning camera devices 10 are divided into groups, the number of the detection servers 40 is equal to the number of groups, and each of the detection servers 40 detects the first images of the positioning camera devices 10 of the corresponding group.
  • the number of the detection servers 40 is two or more.
  • one detection server 40 can detect the first images of the three positioning camera devices 10 correspondingly.
  • the number of the positioning camera 10 is six
  • the number of the detection servers 40 is two
  • each of the detection servers 40 detects three of the The first image of the camera 10 is positioned.
  • 6 ordinary industrial cameras can be used, and by adjusting the arrangement angle and arrangement method to cover the lob shot path commonly used in sports field competitions, the track display of golf balls can be completed.
  • the system 100 further includes: a clock synchronization protocol clock module 50 .
  • the clock synchronization protocol clock module 50 is used to control a plurality of the positioning camera devices to complete time synchronization through the network clock synchronization protocol PTP timing. In this way, it is possible to ensure that a plurality of the positioning camera devices are photographed synchronously as much as possible, thereby increasing the accuracy of the positioning target.
  • the clock synchronization protocol clock module 50 may be integrated into the detection server 40 .
  • the system 100 further includes: a tracking pan/tilt 60 .
  • the tracking pan/tilt 60 is used to track and acquire the second posture of the live channel machine 20 and the time corresponding to the acquisition of the second posture, and send the second posture and the time corresponding to the acquisition to the second posture. the first server 30 .
  • the tracking pan/tilt 60 is installed with a high-precision rotary encoder on the two rotating shafts of the conventional general channel pan/tilt, which can obtain the rotation angles of the two axes of the pan/tilt Yaw and Pich at the same time, and the rotation resolution of the pan/tilt is different. Affected by outside temperature and attitude. Through the readings of the tracking platform 60, the posture of the camera mounted on it relative to the ground can be obtained.
  • the posture of the live broadcast channel machine 20 can be obtained by not only using the tracking pan/tilt 60, but also by setting markers outside the live broadcast channel machine 20 and using an external camera to solve the channel machine using monocular PnP. How to get the attitude.
  • the system 100 further includes: a director station 70 .
  • the director station 70 is used to display the AR picture in real time.
  • Figure 5 shows the Robomaster2020 competition venue, in which the center on the left and the center on the right are the base robots of both sides, and the areas on the four corners are the selected lob shooting locations commonly used in the competition.
  • the hero robot one of the participating robots
  • the projectile is a green glowing golf ball.
  • the system of the embodiment of the present application is used to realize the broadcast solution of AR track display.
  • positioning camera devices such as positioning cameras
  • a golf ball image candidate region in the first image captured by the positioning camera is extracted.
  • Each detection server completes time synchronization through network PTP timing, and sends the location of the golf ball image in the currently processed first image to the positioning server.
  • the positioning server summarizes the positions of all golf ball images sent by the detection server, and completes the 3D position recovery of the golf ball in combination with the first posture of the corresponding positioning camera.
  • the positioning server time stamps the 3D position information of the golf ball and sends it to the AR rendering server.
  • the AR rendering server directly receives the second image carrying the time code from the live channel machine, tracks the second posture of the gimbal carrying the time code, and the 3D position information of the golf ball from the positioning server, and completes the information alignment through the time code.
  • the projection transformation of the 3D coordinates of the golf ball on the 2D coordinates of the live broadcast channel machine is completed according to the second posture fed back by the tracking gimbal, and the rendering of the golf ball trajectory is completed.
  • the display effect after fusion rendering is shown in Fig. 7, the effect is that the live channel machine collects the second image, and fuses the trajectory of the golf ball on the second image and superimposes it.
  • the trajectory line from right to left is the trajectory effect of the golf ball. It can be seen that the trajectory of the golf ball has not changed compared with the position of the field as the camera shakes, and the flight trajectory of the golf ball can be clearly seen.
  • the detection equipment of golf balls is based on the basic principle of multi-eye ranging.
  • the workflow of each detection server includes: collecting first images obtained by different positioning cameras, performing frame difference algorithm to obtain moving objects in the positioning cameras; performing morphological filtering and screening on the first images to obtain candidates that may be golf balls Region; fit the center point of the region and send it with timestamp encoding.
  • the positioning server receives the candidate regions of the golf ball sent from different detection servers, and completes the matching and exclusion of the candidate regions of the golf ball on each image in combination with the first posture of each positioning camera. Location information, fetched and timestamped and sent to the AR rendering server.
  • the AR rendering server completes the rendering of the live image by aligning the second image, the second posture corresponding to the second image, and the 3D position of the golf ball, and outputs the result to the director station to complete the rendering output.
  • FIG. 8 is a schematic flowchart of an embodiment of a method for displaying a motion trajectory of the present application. Any of the above systems can implement the method of this embodiment.
  • Any of the above systems can implement the method of this embodiment.
  • the method includes: step S101, step S102 and step S103.
  • Step S101 synchronously photographing a target through a plurality of positioning camera devices to obtain a plurality of corresponding first images, the first images carry the first shooting time of the first image obtained by shooting, and the plurality of positioning camera devices are in the form of The different first poses are arranged on the playing field on which the target moves.
  • Step S102 The target is photographed in a second attitude by the live broadcast channel machine and a second image for live broadcast is obtained, the second image carries the second shooting time when the second image is obtained by shooting, and the live broadcast information is obtained.
  • the Dao machine includes augmented reality footage.
  • step S101 and step S102 have no sequence relationship.
  • Step S103 Determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first postures corresponding to the plurality of first images; The second pose corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, generate the motion trajectory of the target on the second image.
  • AR picture the AR picture is used for displaying on the user's display device.
  • the method further includes: detecting the first image, and extracting candidate position regions of the target in the first image; Corresponding to the first posture, determining the three-dimensional position of the target on the sports field at each of the first shooting times includes: according to a plurality of candidate position areas of the target in the plurality of first images and The first poses corresponding to the plurality of first images determine the three-dimensional position of the target on the sports field at each of the first shooting times.
  • the detecting the first image and extracting the candidate position area of the target in the first image includes: detecting the first image, and extracting the target in the first image the center position of the candidate position area; determining each of the first positions according to the plurality of candidate position areas of the target in the plurality of first images and the corresponding first poses of the plurality of first images
  • the three-dimensional position of the target on the sports field at the shooting time includes: according to the plurality of center positions of the candidate position regions of the target in the plurality of first images and the first images corresponding to the plurality of first images. a gesture, determining the three-dimensional position of the target on the sports field at each of the first shooting times.
  • the generating the The AR picture of the motion trajectory on the two images includes: determining the current projection plane according to the second posture corresponding to the second image; The three-dimensional position on the sports field, determine each projection position of each of the three-dimensional positions on the current projection plane; fuse and render each of the projected positions and the second image to generate the target on the first The AR screen of the motion trajectory on the two images.
  • the method further includes: controlling the multiple positioning camera devices to complete the time synchronization through the network clock synchronization protocol PTP timing.
  • the method further includes: tracking and acquiring the second posture of the live broadcast channel machine and acquiring the time corresponding to the second posture by using the tracking pan/tilt.
  • the method further includes: displaying the AR picture in real time through a broadcasting station.
  • the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor enables the processor to display the motion trajectory described in any one of the above method.
  • the relevant content please refer to the above-mentioned relevant content section, which will not be repeated here.
  • the computer-readable storage medium may be an internal storage unit, such as a hard disk or a memory, of the relevant components in the above-mentioned motion trajectory display system.
  • the computer-readable storage medium may also be an external storage device, such as an equipped plug-in hard disk, smart memory card, secure digital card, flash memory card, and the like.

Abstract

A motion trajectory display system and method, and a storage medium. The system (100) comprises multiple positioning camera devices (10), a livestreaming channel camera (20) and a first server (30). The positioning camera devices (10) are arranged on a sports field at different first postures and synchronously photograph a target to obtain first images; the livestreaming channel camera (20) comprises an augmented reality lens, and photographs the target at a second posture to obtain a second image; the first server (30) determines a three-dimensional position of the target on the sports field according to the multiple first images and corresponding first postures; and an AR picture of the motion trajectory of the target on the second image is generated according to the second posture, the three-dimensional position of the target on the sports field and the second image, and is displayed on a display device of a user.

Description

运动轨迹的展示系统、方法及存储介质Display system, method and storage medium for motion trajectory 技术领域technical field
本申请涉及直播技术领域,尤其涉及一种运动轨迹的展示系统、方法及存储介质。The present application relates to the technical field of live broadcasting, and in particular, to a system, method and storage medium for displaying motion trajectories.
背景技术Background technique
Robomaser机甲大师对抗赛是一场集科技、教育、大众娱乐于一体的大型赛事,AR直播是其中一个不可或缺的环节。为了提高直播的可观性与娱乐性,需要在直播过程中实时渲染机器人发射弹丸的轨迹特效,由此来弥补直播画面中弹道轨迹不明显的缺点。The Robomaser Mecha Master Competition is a large-scale event that integrates technology, education, and mass entertainment, and AR live broadcast is an indispensable part of it. In order to improve the observability and entertainment of the live broadcast, it is necessary to render the trajectory special effects of the projectile launched by the robot in real time during the live broadcast, so as to make up for the shortcomings of the inconspicuous ballistic trajectory in the live broadcast screen.
上述直播采用的多目定位技术商用的解决方案有vicon、nokov等,其定位精度能够达到亚毫米级别。但是vicon、nokov所需相机数量较多(例如:vikon需要至少24个相机),成本较高;市面上对待捕捉的物体进行反光处理的动补系统十分昂贵,市面上不能对待捕捉的物体进行反光处理的动补系统不能很好的适应轨迹特效的需求。The commercial solutions of the multi-objective positioning technology used in the above-mentioned live broadcasts include vicon, nokov, etc., and the positioning accuracy can reach the sub-millimeter level. However, vicon and nokov require a large number of cameras (for example, vikon requires at least 24 cameras), and the cost is high; the motion compensation system for reflective processing of objects to be captured on the market is very expensive, and the market cannot reflect objects to be captured. The processing motion compensation system cannot well adapt to the needs of trajectory special effects.
发明内容SUMMARY OF THE INVENTION
基于此,本申请提供一种运动轨迹的展示系统、方法及存储介质。Based on this, the present application provides a system, method and storage medium for displaying a motion trajectory.
第一方面,本申请提供一种运动轨迹的展示系统,所述系统包括:In a first aspect, the present application provides a system for displaying motion trajectories, the system comprising:
多个定位摄像装置,每个所述定位摄像装置以不同的第一姿态布置在运动场地上,用于同步拍摄目标并得到第一图像,所述第一图像携带有拍摄得到所述第一图像的第一拍摄时间,所述目标在所述运动场地上移动;A plurality of positioning camera devices, each of which is arranged on the sports field in a different first posture, for synchronously photographing a target and obtaining a first image, the first image carrying a camera to obtain the first image. At the first shooting time, the target moves on the sports field;
直播讯道机,包括增强现实镜头,所述直播讯道机用于以第二姿态拍摄所述目标并得到用于直播的第二图像,所述第二图像携带有拍摄得到所述第二图像的第二拍摄时间;A live broadcast channel machine, including an augmented reality lens, the live broadcast channel machine is used to shoot the target in a second attitude and obtain a second image for live broadcast, the second image carries the second image obtained by shooting the second shooting time;
第一服务器,用于根据多个所述第一图像和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置;根据所述第二图像对应的第二姿态、每个所述第一拍摄时间所述目标在所述运动场地上的三维位置以及所述第二图像,生成所述目标在所述第二图像上的运动轨迹的AR画面,所述AR画面用于在用户的显示装置上展示。a first server, configured to determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first postures corresponding to the plurality of first images; According to the second posture corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, generate the image of the target on the second image The AR picture of the motion track, the AR picture is used for displaying on the user's display device.
第二方面,本申请提供一种运动轨迹的展示方法,所述方法包括:In a second aspect, the present application provides a method for displaying a motion trajectory, the method comprising:
通过多个定位摄像装置同步拍摄目标并得到对应的多个第一图像,所述第一图像携带有拍摄得到所述第一图像的第一拍摄时间,多个所述定位摄像装置以不同的第一姿态布置在运动场地上,所述目标在所述运动场地上移动;A plurality of positioning camera devices are used to simultaneously capture a target and obtain a plurality of corresponding first images. The first images carry the first shooting time when the first image is captured, and the plurality of positioning camera devices use different first images. A gesture is arranged on the sports field on which the target moves;
通过直播讯道机以第二姿态拍摄所述目标并得到用于直播的第二图像,所述第二图像携带有拍摄得到所述第二图像的第二拍摄时间,所述直播讯道机包括增强现实镜头;The target is photographed in a second attitude by a live broadcast channel machine to obtain a second image for live broadcast, the second image carries the second shooting time when the second image is obtained by shooting, and the live broadcast channel machine includes Augmented reality lenses;
根据多个所述第一图像和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置;根据所述第二图像对应的第二姿态、每个所述第一拍摄时间所述目标在所述运动场地上的三维位置以及所述第二图像,生成所述目标在所述第二图像上的运动轨迹的AR画面,所述AR画面用于在用户的显示装置上展示。Determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first postures corresponding to the plurality of first images; according to the second images The corresponding second posture, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, to generate an AR picture of the movement track of the target on the second image, The AR picture is used for displaying on the user's display device.
第三方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上所述的运动轨迹的展示方法。In a third aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor enables the processor to display the above-mentioned motion trajectory method.
本申请实施例提供了一种运动轨迹的展示系统、方法及存储介质,以不同第一姿态布置在运动场地上的多个定位摄像装置同步拍摄在运动场地上移动的目标得到对应的多个携带第一拍摄时间的第一图像;包括增强现实镜头的直播讯道机以第二姿态拍摄目标得到用于直播的、携带第二拍摄时间的第二图像;第一服务器根据多个第一图像和多个第一图像相对应的第一姿态,确定每个第一拍摄时间目标在运动场地上的三维位置,在结合第二图像对应的第二姿态以及第二图像,生成目标在第二图像上的运动轨迹的AR画面,所述AR画面用于在用户的显示装置上展示。由于通过多个不同位置不同姿态的定位摄像装置同 步拍摄运动场地上移动的目标得到的多个不同的第一图像,能够恢复出不同时间目标在运动场地上的三维位置,这使得两个以上的定位摄像装置能够通过调整布置角度与布置方式覆盖运动场地上目标常用的移动路径即可满足确定目标在运动场地上的三维位置的要求,因此可以不需要太多的定位摄像装置,通过这种方式,能够节省成本;同时通过包括增强现实镜头的直播讯道机以第二姿态拍摄目标得到用于直播的第二图像,能够在直播中实时生成目标在第二图像上的运动轨迹的AR画面,进一步能够为渲染运动轨迹的画面、增强直播效果、提高比赛的可观性提供技术支持。后续还能够进行渲染运动轨迹的画面,能够增强直播效果,提高比赛的可观性。Embodiments of the present application provide a system, method, and storage medium for displaying motion trajectories. A plurality of positioning camera devices arranged on a sports field in different first postures synchronously photograph a target moving on the sports field to obtain a plurality of corresponding The first image of the shooting time; the live broadcast channel machine including the augmented reality lens shoots the target in the second posture to obtain the second image for live broadcast and carrying the second shooting time; the first server is based on the multiple first images and multiple The first posture corresponding to the first image is used to determine the three-dimensional position of the target on the sports field at each first shooting time, and the movement trajectory of the target on the second image is generated in combination with the second posture corresponding to the second image and the second image. The AR picture is used for displaying on the user's display device. Due to the multiple different first images obtained by synchronously photographing the moving target on the sports field through a plurality of positioning camera devices with different positions and different attitudes, the three-dimensional positions of the target on the sports field at different times can be recovered, which makes more than two positioning cameras The device can cover the common moving path of the target on the sports field by adjusting the arrangement angle and arrangement method to meet the requirements of determining the three-dimensional position of the target on the sports field, so it does not need too many positioning camera devices. This way, it can save costs. At the same time, the second image for the live broadcast can be obtained by shooting the target in the second attitude through the live broadcast channel machine including the augmented reality lens, and the AR picture of the movement trajectory of the target on the second image can be generated in real time during the live broadcast, which can further be used for rendering. Provide technical support for the picture of the motion track, enhance the live broadcast effect, and improve the observability of the game. In the follow-up, it can also render the picture of the motion trajectory, which can enhance the live broadcast effect and improve the observability of the game.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.
附图说明Description of drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1是本申请运动轨迹的展示系统一实施例的结构示意图;1 is a schematic structural diagram of an embodiment of a display system for a motion trajectory of the present application;
图2是本申请运动轨迹的展示系统另一实施例的结构示意图;2 is a schematic structural diagram of another embodiment of the display system of the motion trajectory of the present application;
图3是本申请运动轨迹的展示系统又一实施例的结构示意图;3 is a schematic structural diagram of another embodiment of the display system of the motion trajectory of the present application;
图4是本申请运动轨迹的展示系统又一实施例的结构示意图;4 is a schematic structural diagram of another embodiment of the display system of the motion trajectory of the present application;
图5是本申请运动轨迹的展示系统在Robomaster比赛应用场景中一实施例的比赛场地示意图;FIG. 5 is a schematic diagram of the competition field of an embodiment of the display system of the motion trajectory of the present application in the Robomaster competition application scenario;
图6是图5的比赛场地中应用本申请运动轨迹的展示系统一实施例的示意图;6 is a schematic diagram of an embodiment of a display system applying the motion trajectory of the present application in the competition venue of FIG. 5;
图7是图6的展示效果图;Fig. 7 is the display effect diagram of Fig. 6;
图8是本申请运动轨迹的展示方法一实施例的流程示意图。FIG. 8 is a schematic flowchart of an embodiment of a method for displaying a motion trajectory of the present application.
主要元件及符号说明:Description of main components and symbols:
100、运动轨迹的展示系统;100. Display system of motion trajectory;
10、定位摄像装置;20、直播讯道机;30、第一服务器;31、定位服务器;32、AR渲染服务器;40、检测服务器;50、时钟同步协议时钟模块;60、跟踪云台;70、导播台。10. Positioning camera device; 20. Live broadcast channel machine; 30. First server; 31. Positioning server; 32. AR rendering server; 40. Detection server; 50. Clock synchronization protocol clock module; 60. Tracking PTZ; 70 , Director station.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are for illustration only, and do not necessarily include all contents and operations/steps, nor do they have to be performed in the order described. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to the actual situation.
Robomaser机甲大师对抗赛的AR直播是其中一个不可或缺的环节。为了提高直播的可观性与娱乐性,需要在直播过程中实时渲染机器人发射弹丸的轨迹特效,由此来弥补直播画面中弹道轨迹不明显的缺点。为此,采用的解决方案有vicon、nokov等,但是vicon、nokov所需相机数量较多(例如:vikon需要至少24个相机),成本较高;市面上对待捕捉的物体进行反光处理的动补系统十分昂贵,而不能进行反光处理的动补系统不能很好的适应轨迹特效的需求。The AR live broadcast of the Robomaser Mecha Master Competition is an integral part of it. In order to improve the observability and entertainment of the live broadcast, it is necessary to render the trajectory special effects of the projectile launched by the robot in real time during the live broadcast, so as to make up for the shortcomings of the inconspicuous ballistic trajectory in the live broadcast screen. To this end, the solutions adopted are vicon, nokov, etc., but vicon and nokov require a large number of cameras (for example, vikon requires at least 24 cameras), and the cost is high; motion compensation for reflective processing of objects to be captured on the market The system is very expensive, and the motion compensation system that cannot perform reflection processing cannot well meet the needs of trajectory special effects.
本申请实施例提供了一种运动轨迹的展示系统、方法及存储介质,以不同第一姿态布置在运动场地上的多个定位摄像装置同步拍摄在运动场地上移动的目标得到对应的多个携带第一拍摄时间的第一图像;包括增强现实镜头的直播讯道机以第二姿态拍摄目标得到用于直播的、携带第二拍摄时间的第二图像;第一服务器根据多个第一图像和多个第一图像相对应的第一姿态,确定每个第一拍摄时间目标在运动场地上的三维位置,在结合第二图像对应的第二姿态以及第二图像,生成目标在第二图像上的运动轨迹的AR画面,所述AR画面用于在用户的显示装置上展示。由于通过多个不同位置不同姿态的定位摄像装置同步拍摄运动场地上移动的目标得到的多个不同的第一图像,能够恢复出不同时 间目标在运动场地上的三维位置,这使得两个以上的定位摄像装置能够通过调整布置角度与布置方式覆盖运动场地上目标常用的移动路径即可满足确定目标在运动场地上的三维位置的要求,因此可以不需要太多的定位摄像装置,通过这种方式,能够节省成本;同时通过包括增强现实镜头的直播讯道机以第二姿态拍摄目标得到用于直播的第二图像,能够在直播中实时生成目标在第二图像上的运动轨迹的AR画面,进一步后续还能够渲染运动轨迹的画面,从而能够增强直播效果,提高比赛的可观性。Embodiments of the present application provide a system, method, and storage medium for displaying motion trajectories. A plurality of positioning camera devices arranged on a sports field in different first postures synchronously photograph a target moving on the sports field to obtain a plurality of corresponding The first image of the shooting time; the live broadcast channel machine including the augmented reality lens shoots the target in the second posture to obtain the second image for live broadcast and carrying the second shooting time; the first server is based on the multiple first images and multiple The first posture corresponding to the first image is used to determine the three-dimensional position of the target on the sports field at each first shooting time, and the movement trajectory of the target on the second image is generated in combination with the second posture corresponding to the second image and the second image. The AR picture is used for displaying on the user's display device. Due to the multiple different first images obtained by synchronously photographing the moving target on the sports field through a plurality of positioning camera devices with different positions and different attitudes, the three-dimensional positions of the target on the sports field at different times can be recovered, which makes more than two positioning cameras The device can cover the common moving path of the target on the sports field by adjusting the arrangement angle and arrangement method to meet the requirements of determining the three-dimensional position of the target on the sports field, so it does not need too many positioning camera devices. This way, it can save costs. At the same time, the second image for the live broadcast can be obtained by shooting the target in the second posture through the live broadcast channel machine including the augmented reality lens, and the AR picture of the movement trajectory of the target on the second image can be generated in real time during the live broadcast, and further follow-up can also be used. Render the picture of the motion track, which can enhance the live broadcast effect and improve the observability of the game.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
参见图1,图1是本申请运动轨迹的展示系统一实施例的结构示意图,所述展示系统100包括:多个定位摄像装置10、直播讯道机20以及第一服务器30。Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of an embodiment of a motion trajectory display system of the present application. The display system 100 includes a plurality of positioning camera devices 10 , a live broadcast channel machine 20 and a first server 30 .
多个定位摄像装置10中每个所述定位摄像装置10以不同的第一姿态布置在运动场地上,用于同步拍摄目标并得到第一图像,所述第一图像携带有拍摄得到所述第一图像的第一拍摄时间,所述目标在所述运动场地上移动。Each of the plurality of positioning camera devices 10 is arranged on the sports field in a different first posture, and is used for synchronously photographing a target and obtaining a first image. The first image carries the first image obtained by shooting. At the first capture time of the image, the target is moving on the sports field.
直播讯道机20包括增强现实镜头,所述直播讯道机20用于以第二姿态拍摄所述目标并得到用于直播的第二图像,所述第二图像携带有拍摄得到所述第二图像的第二拍摄时间。The live broadcast channel machine 20 includes an augmented reality lens, and the live broadcast channel machine 20 is used to shoot the target in a second attitude and obtain a second image for live broadcast, the second image carries the second image obtained by shooting. The second capture time of the image.
第一服务器30用于根据多个所述第一图像和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置;根据所述第二图像对应的第二姿态、每个所述第一拍摄时间所述目标在所述运动场地上的三维位置以及所述第二图像,生成所述目标在所述第二图像上的运动轨迹的AR画面,所述AR画面用于在用户的显示装置上展示。The first server 30 is configured to determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first gestures corresponding to the plurality of first images; According to the second posture corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, generate the image of the target on the second image The AR picture of the motion track, the AR picture is used for displaying on the user's display device.
本实施例的运动轨迹的展示系统可以用于运动场地向用户直播移动的目标及为形象展示目标的运动轨迹提供技术支持。The motion trajectory display system of this embodiment can be used in a sports venue to live broadcast the moving target to the user and provide technical support for visually displaying the motion trajectory of the target.
在通常情况下,所述运动场地为方形,多个所述定位摄像装置10可以均匀布置在所述运动场地的对角线的周边。通过这种方式,能够使多个所述定位摄像装置10尽可能覆盖运动场地上目标常用的移动路径,从而满足确定目标在运动场地上的三维位置的要求。Under normal circumstances, the sports field is square, and a plurality of the positioning camera devices 10 can be evenly arranged around the diagonal line of the sports field. In this way, a plurality of the positioning camera devices 10 can be made to cover the common moving path of the target on the sports field as much as possible, so as to meet the requirement of determining the three-dimensional position of the target on the sports field.
通常情况下,所述目标包括球形目标。在一应用场景中,所述运动场地包括Robomaser机甲大师的比赛场地。所述目标包括高尔夫球。Typically, the targets include spherical targets. In an application scenario, the sports field includes a Robomaser game field. The target includes a golf ball.
本实施例中,通过多个定位摄像装置10分别以不同的第一姿态布置在运动场地上,同步拍摄运动场地上移动的目标并得到第一图像,由于第一图像携带有对应的第一拍摄时间,通过两个以上的同一个第一拍摄时间的第一图像,即可得到目标在该第一拍摄时间、在运动场地上的三维位置,进而可以得到目标在多个连贯的、不同的第一拍摄时间、在运动场地上的三维位置,即目标在不同时间目标在运动场地上的三维位置,在这些位置从用户观看的视角连贯起来,可以得到运动场地上移动的目标的运动轨迹。In this embodiment, a plurality of positioning camera devices 10 are respectively arranged on the sports field in different first postures, and the objects moving on the sports field are synchronously photographed to obtain the first image. Since the first image carries the corresponding first shooting time, Through two or more first images of the same first shooting time, the three-dimensional position of the target on the sports field at the first shooting time can be obtained, and then the target can be obtained at multiple consecutive and different first shooting times. , The three-dimensional position on the sports field, that is, the three-dimensional position of the target on the sports field at different times, at these positions from the user's viewing angle, the movement trajectory of the target moving on the sports field can be obtained.
本实施例用到了多目定位技术,多目定位技术是一种依靠3D空间的物体在多个不同位置不同姿态的摄像装置上投影出的2D图像坐标不同的原理,通过标定摄像装置姿态与获取物体在不同摄像装置的2D图像位置来恢复物体的3D位置的技术。最简单的就是双目定位技术,只需要两个摄像装置即可恢复物体的3D位置。因此,本实施例中,两个以上的定位摄像装置10能够通过调整布置角度与布置方式覆盖运动场地上目标常用的移动路径即可满足确定目标在运动场地上的三维位置的要求,因此可以不需要太多的定位摄像装置10,通过这种方式,能够节省成本。This embodiment uses the multi-eye positioning technology. The multi-eye positioning technology is based on the principle of different coordinates of 2D images projected by objects in 3D space on multiple camera devices with different positions and different attitudes. By calibrating the camera device attitude and obtaining A technique for recovering the 3D position of an object from the position of the object in the 2D image of different cameras. The simplest is the binocular positioning technology, which only needs two cameras to recover the 3D position of the object. Therefore, in this embodiment, two or more positioning camera devices 10 can meet the requirements of determining the three-dimensional position of the target on the sports field by adjusting the arrangement angle and arrangement to cover the common moving path of the target on the sports field. There are many positioning camera devices 10, in this way, the cost can be saved.
所述直播讯道机20以第二姿态拍摄所述目标并得到用于直播的第二图像,由于第二图像用于直播,供用户观看,因此直播讯道机拍摄第二图像时的第二姿态可以认为是用户视角。The live broadcast channel machine 20 shoots the target in the second attitude and obtains the second image for live broadcast. Since the second image is used for live broadcast for the user to watch, the second image when the live broadcast channel machine captures the second image. Gesture can be thought of as a user perspective.
由于直播讯道机20包括增强现实镜头(AR,Augmented Reality),AR镜头在传统的镜头内置了旋转编码器,能够实时获取当前镜头的实时焦距与焦点,因此能够在直播中实时展示运动轨迹的画面,增强直播效果,提高比赛的可观性。第二图像携带有拍摄得到所述第二图像的第二拍摄时间,因此,目标可以投影到用户视角对应的投影平面上,将目标在第二拍摄时间以及第二拍摄时间之前的多个三维位置在用户视角对应的投影平面的投影位置和第二图像融合生成所述目标在所述第二图像上的运动轨迹的AR画面。Because the live broadcast channel machine 20 includes an augmented reality lens (AR, Augmented Reality), the AR lens has a built-in rotary encoder in the traditional lens, and can obtain the real-time focal length and focus of the current lens in real time, so it can display the real-time movement trajectory in the live broadcast. screen, enhance the live broadcast effect, and improve the observability of the game. The second image carries the second shooting time at which the second image is obtained. Therefore, the target can be projected on the projection plane corresponding to the user's perspective, and the multiple three-dimensional positions of the target at the second shooting time and before the second shooting time can be projected. The projection position of the projection plane corresponding to the user's perspective is fused with the second image to generate an AR picture of the movement track of the target on the second image.
本申请实施例以不同第一姿态布置在运动场地上的多个定位摄像装置同步拍摄在运动场地上移动的目标得到对应的多个携带第一拍摄时间的第一图 像;包括增强现实镜头的直播讯道机以第二姿态拍摄目标得到用于直播的、携带第二拍摄时间的第二图像;第一服务器根据多个第一图像和多个第一图像相对应的第一姿态,确定每个第一拍摄时间目标在运动场地上的三维位置,在结合第二图像对应的第二姿态以及第二图像,生成目标在第二图像上的运动轨迹的AR画面,所述AR画面用于在用户的显示装置上展示。由于通过多个不同位置不同姿态的定位摄像装置同步拍摄运动场地上移动的目标得到的多个不同的第一图像,能够恢复出不同时间目标在运动场地上的三维位置,这使得两个以上的定位摄像装置能够通过调整布置角度与布置方式覆盖运动场地上目标常用的移动路径即可满足确定目标在运动场地上的三维位置的要求,因此可以不需要太多的定位摄像装置,通过这种方式,能够节省成本;同时通过包括增强现实镜头的直播讯道机以第二姿态拍摄目标得到用于直播的第二图像,能够在直播中实时生成目标在第二图像上的运动轨迹的AR画面,进一步后续还能够渲染运动轨迹的画面,从而能够增强直播效果,提高比赛的可观性。In the embodiment of the present application, multiple positioning camera devices arranged on the sports field in different first postures synchronously shoot a target moving on the sports field to obtain a plurality of corresponding first images with the first shooting time; live channels including augmented reality lenses The camera captures the target in the second posture to obtain a second image for live broadcast and carries the second shooting time; the first server determines each first image according to the first postures corresponding to the plurality of first images and the plurality of first images The three-dimensional position of the target on the sports field at the time of shooting is combined with the second posture corresponding to the second image and the second image to generate an AR picture of the movement trajectory of the target on the second image, and the AR picture is used for displaying on the user's display device. Show on. Due to the multiple different first images obtained by synchronously photographing the moving target on the sports field through a plurality of positioning camera devices with different positions and different attitudes, the three-dimensional positions of the target on the sports field at different times can be recovered, which makes more than two positioning cameras The device can cover the common moving path of the target on the sports field by adjusting the arrangement angle and arrangement method to meet the requirements of determining the three-dimensional position of the target on the sports field, so it does not need too many positioning camera devices. This way, it can save costs. At the same time, the second image for the live broadcast can be obtained by shooting the target in the second posture through the live broadcast channel machine including the augmented reality lens, and the AR picture of the movement trajectory of the target on the second image can be generated in real time during the live broadcast, and further follow-up can also be used. Render the picture of the motion track, which can enhance the live broadcast effect and improve the observability of the game.
在一实施例中,为了进一步分工明确,提高处理速度,减少延时,将第一服务器30拆分为两个不同的服务器,通过两个不同的服务器实现第一服务器30的功能。即所述第一服务器30包括:定位服务器31和AR渲染服务器32,如图2所示。In one embodiment, in order to further clarify the division of labor, improve processing speed, and reduce delay, the first server 30 is divided into two different servers, and the functions of the first server 30 are implemented by the two different servers. That is, the first server 30 includes: a positioning server 31 and an AR rendering server 32, as shown in FIG. 2 .
定位服务器31用于根据多个所述第一图像和所述多个第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置。The positioning server 31 is configured to determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first gestures corresponding to the plurality of first images.
AR渲染服务器32用于根据所述第二图像对应的第二姿态、每个所述第一拍摄时间所述目标在所述运动场地上的三维位置以及所述第二图像,生成所述目标在所述第二图像上的运动轨迹的AR画面,所述AR画面用于在用户的显示装置上展示。The AR rendering server 32 is configured to generate, according to the second pose corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, the The AR picture of the motion trajectory on the second image is used for displaying on the user's display device.
本实施例中,定位服务器31与定位摄像装置10连接,获取定位摄像装置10拍摄得到的多个所述第一图像和所述多个第一图像相对应的第一姿态,然后据此确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置。In this embodiment, the positioning server 31 is connected to the positioning camera device 10, obtains a plurality of the first images captured by the positioning camera device 10 and the first postures corresponding to the first images, and then determines each The three-dimensional position of the target on the sports field at the first shooting time.
本实施例中,AR渲染服务器32与定位服务器31连接,与直播讯道机20连接,定位服务器31将确定的每个所述第一拍摄时间所述目标在所述运动场地上的三维位置发给AR渲染服务器32,AR渲染服务器32还从直播讯道机20 获取第二图像、所述第二图像对应的第二姿态,然后根据所述第二图像对应的第二姿态、每个所述第一拍摄时间所述目标在所述运动场地上的三维位置以及所述第二图像,生成所述目标在所述第二图像上的运动轨迹的AR画面。In this embodiment, the AR rendering server 32 is connected to the positioning server 31, and is connected to the live broadcast channel machine 20, and the positioning server 31 sends the determined three-dimensional position of the target on the sports field at each of the first shooting times to The AR rendering server 32, the AR rendering server 32 also obtains the second image and the second posture corresponding to the second image from the live broadcast channel machine 20, and then according to the second posture corresponding to the second image, each of the first The three-dimensional position of the target on the sports field and the second image at a shooting time generate an AR picture of the movement track of the target on the second image.
在一实施例中,所述AR渲染服务器32还用于,根据所述直播讯道机20拍摄得到所述第二图像对应的第二姿态,确定当前投影平面;根据所述当前投影平面和每个所述第一拍摄时间所述目标在所述运动场地上的三维位置,确定每个所述三维位置在所述当前投影平面上的每个投影位置;将每个所述投影位置和所述第二图像融合并渲染生成所述目标在所述第二图像上的运动轨迹的AR画面。In one embodiment, the AR rendering server 32 is further configured to determine the current projection plane according to the second posture corresponding to the second image obtained by the live broadcast channel machine 20; according to the current projection plane and each each of the three-dimensional positions of the target on the sports field at the first shooting time, and determine each projection position of each of the three-dimensional positions on the current projection plane; The two images are fused and rendered to generate an AR picture of the movement track of the target on the second image.
在一实施例中,为了进一步提高确定目标的三维位置的速度,进一步减少延时,还增加了一个服务器用于预先检测目标在所述第一图像中的大概位置,便于后续快速确定目标的三维位置。即所述系统100还包括:检测服务器40,如图3所示。In an embodiment, in order to further improve the speed of determining the three-dimensional position of the target and further reduce the delay, a server is also added to detect the approximate position of the target in the first image in advance, so as to facilitate the subsequent rapid determination of the three-dimensional position of the target. Location. That is, the system 100 further includes: the detection server 40 , as shown in FIG. 3 .
检测服务器40用于检测所述第一图像,并提取所述目标在所述第一图像中的候选位置区域;此时所述定位服务器31还用于根据所述目标在多个所述第一图像中的多个候选位置区域和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置。The detection server 40 is configured to detect the first image, and extract the candidate location regions of the target in the first image; at this time, the positioning server 31 is also configured to locate a plurality of first locations according to the target. The three-dimensional position of the target on the sports field at each of the first shooting times is determined from the plurality of candidate position regions in the image and the first postures corresponding to the plurality of the first images.
本实施例中,检测服务器40与定位摄像装置10连接,获取定位摄像装置10拍摄得到的第一图像,检测所述第一图像,并提取所述目标在所述第一图像中的候选位置区域。由于通过检测服务器40预先检测目标在所述第一图像中的大概位置,定位服务器31根据所述目标在多个所述第一图像中的多个候选位置区域和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置,一方面能够提高定位服务器31确定目标在所述运动场地上的三维位置的速度,减少后续时延,另一方面能够预先有效消除非目标带来的干扰,从而进一步提高定位服务器31的确定速度,减少时延。In this embodiment, the detection server 40 is connected to the positioning camera device 10, acquires the first image captured by the positioning camera device 10, detects the first image, and extracts the candidate position area of the target in the first image . Since the approximate position of the target in the first image is pre-detected by the detection server 40, the positioning server 31 determines the position of the target according to the plurality of candidate position regions in the plurality of first images and the plurality of first images. The corresponding first posture is to determine the three-dimensional position of the target on the sports field at each of the first shooting times. On the one hand, the speed at which the positioning server 31 determines the three-dimensional position of the target on the sports field can be improved, and the subsequent time can be reduced. On the other hand, interference caused by non-targets can be effectively eliminated in advance, thereby further improving the determination speed of the positioning server 31 and reducing the time delay.
为了进一步提高定位服务器的确定三维位置的速度,检测服务器40将目标在所述第一图像中的大概位置做得更加细致。即所述检测服务器40还用于检测所述第一图像,并提取所述目标在所述第一图像中的候选位置区域的中心 位置;此时,所述定位服务器还用于根据所述目标在多个所述第一图像中的候选位置区域的多个中心位置和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置。In order to further improve the speed of determining the three-dimensional position of the positioning server, the detection server 40 makes the approximate position of the target in the first image more detailed. That is, the detection server 40 is further configured to detect the first image, and extract the center position of the target in the candidate position area in the first image; at this time, the positioning server is also configured to According to the plurality of center positions of the candidate position regions in the plurality of first images and the first postures corresponding to the plurality of first images, it is determined that the target is on the sports field at each of the first shooting times three-dimensional position.
在一实施例中,如果定位摄像装置10的数量比较多,对应的可以布置多个检测服务器40,以保证检测速度。即多个所述定位摄像装置10按组划分,所述检测服务器40的数量等于组数,每个所述检测服务器40检测对应组的定位摄像装置10的第一图像。In an embodiment, if the number of positioning camera devices 10 is relatively large, a plurality of detection servers 40 may be arranged correspondingly to ensure the detection speed. That is, a plurality of the positioning camera devices 10 are divided into groups, the number of the detection servers 40 is equal to the number of groups, and each of the detection servers 40 detects the first images of the positioning camera devices 10 of the corresponding group.
其中,所述定位摄像装置10的数量为四个以上时,所述检测服务器40的数量为两个以上。一般来说,在兼顾时延和成本的情况下,一个检测服务器40可以对应检测三个定位摄像装置10的第一图像。Wherein, when the number of the positioning camera devices 10 is four or more, the number of the detection servers 40 is two or more. Generally speaking, under the condition of taking into account the time delay and cost, one detection server 40 can detect the first images of the three positioning camera devices 10 correspondingly.
其中,在兼顾成本、时延以及观看性的情况下,所述定位摄像装置10的数量为六个,所述检测服务器40的数量为两个,每个所述检测服务器40检测三个所述定位摄像装置10的第一图像。例如,在一Robomaser机甲大师的比赛场地的实际应用中,可以采用6个普通的工业相机,通过调整布置角度与布置方式覆盖运动场地比赛常用的吊射路径,能够完成高尔夫球的轨迹显示。Wherein, taking into account cost, time delay and visibility, the number of the positioning camera 10 is six, the number of the detection servers 40 is two, and each of the detection servers 40 detects three of the The first image of the camera 10 is positioned. For example, in the actual application of a Robomaser mecha master's playing field, 6 ordinary industrial cameras can be used, and by adjusting the arrangement angle and arrangement method to cover the lob shot path commonly used in sports field competitions, the track display of golf balls can be completed.
参见图4,在一实施例中,所述系统100还包括:时钟同步协议时钟模块50。时钟同步协议时钟模块50用于控制多个所述定位摄像装置通过网络时钟同步协议PTP授时完成时间同步。通过这种方式,能够尽可能保证多个所述定位摄像装置同步拍摄,增加定位目标的准确性。在一应用中,可以将时钟同步协议时钟模块50集成到检测服务器40中。Referring to FIG. 4 , in an embodiment, the system 100 further includes: a clock synchronization protocol clock module 50 . The clock synchronization protocol clock module 50 is used to control a plurality of the positioning camera devices to complete time synchronization through the network clock synchronization protocol PTP timing. In this way, it is possible to ensure that a plurality of the positioning camera devices are photographed synchronously as much as possible, thereby increasing the accuracy of the positioning target. In one application, the clock synchronization protocol clock module 50 may be integrated into the detection server 40 .
在一实施例中,所述系统100还包括:跟踪云台60。跟踪云台60用于跟踪并获取所述直播讯道机20的第二姿态和获取所述第二姿态对应的时间,并将所述第二姿态和获取所述第二姿态对应的时间发送给所述第一服务器30。In one embodiment, the system 100 further includes: a tracking pan/tilt 60 . The tracking pan/tilt 60 is used to track and acquire the second posture of the live channel machine 20 and the time corresponding to the acquisition of the second posture, and send the second posture and the time corresponding to the acquisition to the second posture. the first server 30 .
跟踪云台60是在传统的普通讯道云台的两个转轴上,安装高精度旋转编码器,能够同时获取云台Yaw、Pich两个轴的旋转角度,且该云台的旋转解析度不受外界温度与姿态的影响。通过该跟踪云台60的读数,能够获取到安装在上面的相机相对于地面的姿态。The tracking pan/tilt 60 is installed with a high-precision rotary encoder on the two rotating shafts of the conventional general channel pan/tilt, which can obtain the rotation angles of the two axes of the pan/tilt Yaw and Pich at the same time, and the rotation resolution of the pan/tilt is different. Affected by outside temperature and attitude. Through the readings of the tracking platform 60, the posture of the camera mounted on it relative to the ground can be obtained.
需要说明的是,直播讯道机20的姿态除了通过采用跟踪云台60获取以外,还可以采用通过在直播讯道机20外设置标记点、采用外置相机单目PnP解算 讯道机的姿态的获取方式。It should be noted that the posture of the live broadcast channel machine 20 can be obtained by not only using the tracking pan/tilt 60, but also by setting markers outside the live broadcast channel machine 20 and using an external camera to solve the channel machine using monocular PnP. How to get the attitude.
在一实施例中,所述系统100还包括:导播台70。导播台70用于实时展示所述AR画面。In one embodiment, the system 100 further includes: a director station 70 . The director station 70 is used to display the AR picture in real time.
以本实施例的系统在Robomaster比赛中的具体应用为例来详细说明本申请实施例的系统。The system of the embodiment of the present application is described in detail by taking the specific application of the system of the present embodiment in the Robomaster competition as an example.
参见图5,图5所示为Robomaster2020比赛场地,其中左边中间和右边中间是双方的基地机器人,其中四个角边的区域为选出的比赛中常用的吊射地点。英雄机器人(参赛机器人的一种)在吊射地点能够沿射向对方基地机器人所指的轨迹发射42mm的弹丸跨越半场完成对敌方基地机器人的打击。其中弹丸为绿色发光高尔夫球。Referring to Figure 5, Figure 5 shows the Robomaster2020 competition venue, in which the center on the left and the center on the right are the base robots of both sides, and the areas on the four corners are the selected lob shooting locations commonly used in the competition. The hero robot (one of the participating robots) can launch a 42mm projectile along the trajectory pointed to by the opponent's base robot at the hoisting location to complete the strike against the enemy's base robot across the half court. The projectile is a green glowing golf ball.
在打击过程中,为了转播效果,需要完成对整个高尔夫球飞行过程的展示。在以往的转播方案中,不能清晰的看到高尔夫球飞行的轨迹与落点,不能让观众直观的感受到高尔夫吊射的成功与否,呈现效果大打折扣。为此采用本申请实施例的系统实现AR轨迹显示的转播方案。In the hitting process, in order to broadcast the effect, it is necessary to complete the display of the entire golf ball flight process. In the previous broadcast scheme, the trajectory and landing point of the golf ball could not be clearly seen, and the audience could not intuitively feel the success of the golf lob, and the presentation effect was greatly reduced. To this end, the system of the embodiment of the present application is used to realize the broadcast solution of AR track display.
如图6所示,在比赛场地周边布置若干不同姿态的定位摄像装置(如定位相机),用于检测高尔夫球在场地上的位置,在每组定位相机边上设置高尔夫球图像的检测服务器,用于处理每个定位相机的第一图像,提取定位相机拍摄到的第一图像中的高尔夫球图像候选区域。每个检测服务器通过网络PTP授时完成时间同步,并将当前处理的第一图像中的高尔夫球图像所在位置发送给定位服务器。定位服务器汇总所有检测服务器发上来的高尔夫球图像的位置,并结合相应的定位相机的第一姿态完成高尔夫球的3D位置恢复。定位服务器将高尔夫球的3D位置信息打上时间戳发送给AR渲染服务器。AR渲染服务器直接接收来自直播讯道机的携带时间码的第二图像,跟踪云台的携带时间码的第二姿态,以及来自定位服务器的高尔夫球的3D位置信息,通过时间码完成信息对齐。根据跟踪云台反馈出的第二姿态完成高尔夫球3D坐标在直播讯道机2D坐标上的投影变换,完成高尔夫球轨迹的渲染工作。As shown in Figure 6, several positioning camera devices (such as positioning cameras) with different postures are arranged around the competition field to detect the position of the golf ball on the field. For processing the first image of each positioning camera, a golf ball image candidate region in the first image captured by the positioning camera is extracted. Each detection server completes time synchronization through network PTP timing, and sends the location of the golf ball image in the currently processed first image to the positioning server. The positioning server summarizes the positions of all golf ball images sent by the detection server, and completes the 3D position recovery of the golf ball in combination with the first posture of the corresponding positioning camera. The positioning server time stamps the 3D position information of the golf ball and sends it to the AR rendering server. The AR rendering server directly receives the second image carrying the time code from the live channel machine, tracks the second posture of the gimbal carrying the time code, and the 3D position information of the golf ball from the positioning server, and completes the information alignment through the time code. The projection transformation of the 3D coordinates of the golf ball on the 2D coordinates of the live broadcast channel machine is completed according to the second posture fed back by the tracking gimbal, and the rendering of the golf ball trajectory is completed.
融合渲染后的展示效果图如7所示,该效果为直播讯道机采集第二图像,在第二图像上融合高尔夫球的轨迹后迭出的效果。图中左边,从右射向左的轨迹线为高尔夫球的轨迹效果。可以看到随着摄像头的摇动高尔夫球的轨迹相较 于场地的位置并未发生改变,能够非常明显看到高尔夫球的飞行轨迹。The display effect after fusion rendering is shown in Fig. 7, the effect is that the live channel machine collects the second image, and fuses the trajectory of the golf ball on the second image and superimposes it. On the left side of the figure, the trajectory line from right to left is the trajectory effect of the golf ball. It can be seen that the trajectory of the golf ball has not changed compared with the position of the field as the camera shakes, and the flight trajectory of the golf ball can be clearly seen.
高尔夫球的检测设备是基于多目测距的基本原理。每个检测服务器的工作流程包括:采集不同定位相机得到的第一图像,进行帧差算法得到定位相机中运动的物体;通过对第一图像上进行形态学滤波与筛选得到可能是高尔夫球的候选区域;对该区域中心点进行拟合并加盖时间戳编码发送。定位服务器则接收来自不同的检测服务器发来的高尔夫球的候选区域,结合各个定位相机的第一姿态完成每个图片上高尔夫球的候选区域匹配与排除,通过多目恢复算法完成高尔夫球的3D位置信息,获取并加盖时间戳发送到AR渲染服务器。The detection equipment of golf balls is based on the basic principle of multi-eye ranging. The workflow of each detection server includes: collecting first images obtained by different positioning cameras, performing frame difference algorithm to obtain moving objects in the positioning cameras; performing morphological filtering and screening on the first images to obtain candidates that may be golf balls Region; fit the center point of the region and send it with timestamp encoding. The positioning server receives the candidate regions of the golf ball sent from different detection servers, and completes the matching and exclusion of the candidate regions of the golf ball on each image in combination with the first posture of each positioning camera. Location information, fetched and timestamped and sent to the AR rendering server.
AR渲染服务器则通过对齐第二图像、第二图像对应的第二姿态、高尔夫球的3D位置完成直播画面的渲染并将结果输出给导播台完成渲染输出。The AR rendering server completes the rendering of the live image by aligning the second image, the second posture corresponding to the second image, and the 3D position of the golf ball, and outputs the result to the director station to complete the rendering output.
由于采用了AR弹丸轨迹渲染技术,能够直观展现出吊射轨迹、提高比赛的科技感与代入感。同时由于能够恢复弹丸轨迹,能够在战术复盘的过程中完成弹丸“第一人称主视角”(FPV,First Person View)特效的渲染,模拟弹丸发射到命中360环视效果图,能够提升比赛的观赏性与趣味性。Due to the use of AR projectile trajectory rendering technology, it can intuitively display the trajectory of the lob, and improve the sense of technology and substitution of the game. At the same time, because the projectile trajectory can be restored, the rendering of the projectile's "First Person View" (FPV, First Person View) effect can be completed during the tactical review process, and the 360-degree surround view effect map of simulating the projectile launch to hit can improve the viewing experience of the game. and fun.
参见图8,图8是本申请运动轨迹的展示方法一实施例的流程示意图,上述任一项系统可以实施本实施例的方法,相关内容的详细说明请参见上述运动轨迹的展示系统内容部分,在此不再赘叙。Referring to FIG. 8, FIG. 8 is a schematic flowchart of an embodiment of a method for displaying a motion trajectory of the present application. Any of the above systems can implement the method of this embodiment. For a detailed description of the relevant content, please refer to the above-mentioned motion trajectory display system content section, I won't go into details here.
所述方法包括:步骤S101、步骤S102以及步骤S103。The method includes: step S101, step S102 and step S103.
步骤S101:通过多个定位摄像装置同步拍摄目标并得到对应的多个第一图像,所述第一图像携带有拍摄得到所述第一图像的第一拍摄时间,多个所述定位摄像装置以不同的第一姿态布置在运动场地上,所述目标在所述运动场地上移动。Step S101 : synchronously photographing a target through a plurality of positioning camera devices to obtain a plurality of corresponding first images, the first images carry the first shooting time of the first image obtained by shooting, and the plurality of positioning camera devices are in the form of The different first poses are arranged on the playing field on which the target moves.
步骤S102:通过直播讯道机以第二姿态拍摄所述目标并得到用于直播的第二图像,所述第二图像携带有拍摄得到所述第二图像的第二拍摄时间,所述直播讯道机包括增强现实镜头。Step S102: The target is photographed in a second attitude by the live broadcast channel machine and a second image for live broadcast is obtained, the second image carries the second shooting time when the second image is obtained by shooting, and the live broadcast information is obtained. The Dao machine includes augmented reality footage.
需要说明的是,步骤S101和步骤S102没有先后顺序关系。It should be noted that, step S101 and step S102 have no sequence relationship.
步骤S103:根据多个所述第一图像和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置;根据所述第二图像对应的第二姿态、每个所述第一拍摄时间所述目标在所述运动场 地上的三维位置以及所述第二图像,生成所述目标在所述第二图像上的运动轨迹的AR画面,所述AR画面用于在用户的显示装置上展示。Step S103: Determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first postures corresponding to the plurality of first images; The second pose corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, generate the motion trajectory of the target on the second image. AR picture, the AR picture is used for displaying on the user's display device.
其中,所述方法还包括:检测所述第一图像,并提取所述目标在所述第一图像中的候选位置区域;所述根据多个所述第一图像和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置,包括:根据所述目标在多个所述第一图像中的多个候选位置区域和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置。Wherein, the method further includes: detecting the first image, and extracting candidate position regions of the target in the first image; Corresponding to the first posture, determining the three-dimensional position of the target on the sports field at each of the first shooting times includes: according to a plurality of candidate position areas of the target in the plurality of first images and The first poses corresponding to the plurality of first images determine the three-dimensional position of the target on the sports field at each of the first shooting times.
其中,所述检测所述第一图像,并提取所述目标在所述第一图像中的候选位置区域,包括:检测所述第一图像,并提取所述目标在所述第一图像中的候选位置区域的中心位置;所述根据所述目标在多个所述第一图像中的多个候选位置区域和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置,包括:根据所述目标在多个所述第一图像中的候选位置区域的多个中心位置和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置。Wherein, the detecting the first image and extracting the candidate position area of the target in the first image includes: detecting the first image, and extracting the target in the first image the center position of the candidate position area; determining each of the first positions according to the plurality of candidate position areas of the target in the plurality of first images and the corresponding first poses of the plurality of first images The three-dimensional position of the target on the sports field at the shooting time includes: according to the plurality of center positions of the candidate position regions of the target in the plurality of first images and the first images corresponding to the plurality of first images. a gesture, determining the three-dimensional position of the target on the sports field at each of the first shooting times.
其中,所述根据所述第二图像对应的第二姿态、每个所述第一拍摄时间所述目标在所述运动场地上的三维位置以及所述第二图像,生成所述目标在所述第二图像上的运动轨迹的AR画面,包括:根据所述第二图像对应的第二姿态,确定当前投影平面;根据所述当前投影平面和每个所述第一拍摄时间所述目标在所述运动场地上的三维位置,确定每个所述三维位置在所述当前投影平面上的每个投影位置;将每个所述投影位置和所述第二图像融合并渲染生成所述目标在所述第二图像上的运动轨迹的AR画面。Wherein, according to the second posture corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, generating the The AR picture of the motion trajectory on the two images includes: determining the current projection plane according to the second posture corresponding to the second image; The three-dimensional position on the sports field, determine each projection position of each of the three-dimensional positions on the current projection plane; fuse and render each of the projected positions and the second image to generate the target on the first The AR screen of the motion trajectory on the two images.
其中,所述通过多个定位摄像装置同步拍摄目标并得到对应的多个第一图像之前,还包括:控制多个所述定位摄像装置通过网络时钟同步协议PTP授时完成时间同步。Wherein, before the synchronizing the shooting of the target through the multiple positioning camera devices and obtaining the corresponding multiple first images, the method further includes: controlling the multiple positioning camera devices to complete the time synchronization through the network clock synchronization protocol PTP timing.
其中,所述方法还包括:通过跟踪云台跟踪并获取所述直播讯道机的第二姿态和获取所述第二姿态对应的时间。Wherein, the method further includes: tracking and acquiring the second posture of the live broadcast channel machine and acquiring the time corresponding to the second posture by using the tracking pan/tilt.
其中,所述方法还包括:通过导播台实时展示所述AR画面。Wherein, the method further includes: displaying the AR picture in real time through a broadcasting station.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有 计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上任一项所述的运动轨迹的展示方法。相关内容的详细说明请参见上述相关内容部分,在此不再赘叙。The present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor enables the processor to display the motion trajectory described in any one of the above method. For a detailed description of the relevant content, please refer to the above-mentioned relevant content section, which will not be repeated here.
其中,该计算机可读存储介质可以是上述运动轨迹的展示系统中相关组成部分的内部存储单元,例如硬盘或内存。该计算机可读存储介质也可以是外部存储设备,例如配备的插接式硬盘、智能存储卡、安全数字卡、闪存卡,等等。Wherein, the computer-readable storage medium may be an internal storage unit, such as a hard disk or a memory, of the relevant components in the above-mentioned motion trajectory display system. The computer-readable storage medium may also be an external storage device, such as an equipped plug-in hard disk, smart memory card, secure digital card, flash memory card, and the like.
应当理解,在本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。It should be understood that the terms used in the specification of the present application are only for the purpose of describing particular embodiments and are not intended to limit the present application.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It will also be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items.
以上所述,仅为本申请的具体实施例,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in the present application. Modifications or substitutions shall be covered by the protection scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (23)

  1. 一种运动轨迹的展示系统,其特征在于,所述系统包括:A system for displaying motion trajectory, characterized in that the system comprises:
    多个定位摄像装置,每个所述定位摄像装置以不同的第一姿态布置在运动场地上,用于同步拍摄目标并得到第一图像,所述第一图像携带有拍摄得到所述第一图像的第一拍摄时间,所述目标在所述运动场地上移动;A plurality of positioning camera devices, each of which is arranged on the sports field in a different first posture, for synchronously photographing a target and obtaining a first image, the first image carrying a camera to obtain the first image. At the first shooting time, the target moves on the sports field;
    直播讯道机,包括增强现实镜头,所述直播讯道机用于以第二姿态拍摄所述目标并得到用于直播的第二图像,所述第二图像携带有拍摄得到所述第二图像的第二拍摄时间;A live broadcast channel machine, including an augmented reality lens, the live broadcast channel machine is used to shoot the target in a second attitude and obtain a second image for live broadcast, the second image carries the second image obtained by shooting the second shooting time;
    第一服务器,用于根据多个所述第一图像和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置;根据所述第二图像对应的第二姿态、每个所述第一拍摄时间所述目标在所述运动场地上的三维位置以及所述第二图像,生成所述目标在所述第二图像上的运动轨迹的AR画面,所述AR画面用于在用户的显示装置上展示。a first server, configured to determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first postures corresponding to the plurality of first images; According to the second posture corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, generate the image of the target on the second image The AR picture of the motion track, the AR picture is used for displaying on the user's display device.
  2. 根据权利要求1所述的系统,其特征在于,所述第一服务器包括:The system of claim 1, wherein the first server comprises:
    定位服务器,用于根据多个所述第一图像和所述多个第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置;a positioning server, configured to determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first postures corresponding to the plurality of first images;
    AR渲染服务器,用于根据所述第二图像对应的第二姿态、每个所述第一拍摄时间所述目标在所述运动场地上的三维位置以及所述第二图像,生成所述目标在所述第二图像上的运动轨迹的AR画面,所述AR画面用于在用户的显示装置上展示。The AR rendering server is configured to generate, according to the second pose corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image, the The AR picture of the motion trajectory on the second image is used for displaying on the user's display device.
  3. 根据权利要求2所述的系统,其特征在于,所述系统还包括:The system of claim 2, wherein the system further comprises:
    检测服务器,用于检测所述第一图像,并提取所述目标在所述第一图像中的候选位置区域;a detection server, configured to detect the first image and extract the candidate location area of the target in the first image;
    所述定位服务器还用于,根据所述目标在多个所述第一图像中的多个候选位置区域和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置。The positioning server is further configured to determine each of the first shots according to a plurality of candidate position regions of the target in the plurality of first images and a first posture corresponding to the plurality of first images time the three-dimensional position of the target on the playing field.
  4. 根据权利要求3所述的系统,其特征在于,The system of claim 3, wherein:
    所述检测服务器还用于,检测所述第一图像,并提取所述目标在所述第一 图像中的候选位置区域的中心位置;The detection server is also used to detect the first image, and extract the center position of the candidate position area of the target in the first image;
    所述定位服务器还用于,根据所述目标在多个所述第一图像中的候选位置区域的多个中心位置和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置。The positioning server is further configured to, according to multiple center positions of the candidate position regions of the target in the multiple first images and the first postures corresponding to the multiple first images, determine each of the The three-dimensional position of the target on the sports field at the first shooting time.
  5. 根据权利要求3所述的系统,其特征在于,多个所述定位摄像装置按组划分,所述检测服务器的数量等于组数,每个所述检测服务器检测对应组的定位摄像装置的第一图像。The system according to claim 3, wherein a plurality of the positioning camera devices are divided into groups, the number of the detection servers is equal to the number of groups, and each detection server detects the first positioning camera device of the corresponding group. image.
  6. 根据权利要求5所述的系统,其特征在于,所述定位摄像装置的数量为四个以上时,所述检测服务器的数量为两个以上。The system according to claim 5, wherein when the number of the positioning camera devices is four or more, the number of the detection servers is two or more.
  7. 根据权利要求5所述的系统,其特征在于,所述定位摄像装置的数量为六个,所述检测服务器的数量为两个,每个所述检测服务器检测三个所述定位摄像装置的第一图像。The system according to claim 5, wherein the number of the positioning camera devices is six, the number of the detection servers is two, and each detection server detects the number of the three positioning camera devices. an image.
  8. 根据权利要求2所述的系统,其特征在于,The system of claim 2, wherein:
    所述AR渲染服务器还用于,根据所述直播讯道机拍摄得到所述第二图像对应的第二姿态,确定当前投影平面;根据所述当前投影平面和每个所述第一拍摄时间所述目标在所述运动场地上的三维位置,确定每个所述三维位置在所述当前投影平面上的每个投影位置;将每个所述投影位置和所述第二图像融合并渲染生成所述目标在所述第二图像上的运动轨迹的AR画面。The AR rendering server is further configured to determine the current projection plane according to the second posture corresponding to the second image obtained by the live broadcast channel machine; according to the current projection plane and each of the first shooting times the three-dimensional position of the target on the sports field, determine each projection position of each of the three-dimensional positions on the current projection plane; fuse and render each of the projected positions and the second image to generate the The AR picture of the movement track of the target on the second image.
  9. 根据权利要求1所述的系统,其特征在于,所述系统还包括:The system of claim 1, wherein the system further comprises:
    时钟同步协议时钟模块,用于控制多个所述定位摄像装置通过网络时钟同步协议PTP授时完成时间同步。The clock synchronization protocol clock module is used to control a plurality of the positioning camera devices to complete time synchronization through the network clock synchronization protocol PTP timing.
  10. 根据权利要求1所述的系统,其特征在于,所述系统还包括:The system of claim 1, wherein the system further comprises:
    跟踪云台,用于跟踪并获取所述直播讯道机的第二姿态和获取所述第二姿态对应的时间,并将所述第二姿态和获取所述第二姿态对应的时间发送给所述第一服务器。A tracking pan/tilt is used to track and acquire the second posture of the live broadcast channel machine and the time corresponding to the acquisition of the second posture, and send the second posture and the time corresponding to the acquisition of the second posture to the the first server.
  11. 根据权利要求1所述的系统,其特征在于,所述系统还包括:The system of claim 1, wherein the system further comprises:
    导播台,用于实时展示所述AR画面。The director station is used to display the AR picture in real time.
  12. 根据权利要求1所述的系统,其特征在于,所述运动场地为方形,多个所述定位摄像装置均匀布置在所述运动场地的对角线的周边。The system according to claim 1, wherein the sports field is square, and a plurality of the positioning camera devices are evenly arranged around a diagonal line of the sports field.
  13. 根据权利要求1所述的系统,其特征在于,所述目标包括球形目标。The system of claim 1, wherein the target comprises a spherical target.
  14. 根据权利要求1所述的系统,其特征在于,所述运动场地包括Robomaser机甲大师的比赛场地。The system of claim 1, wherein the sports field comprises a Robomaser's game field.
  15. 根据权利要求14所述的系统,其特征在于,所述目标包括高尔夫球。15. The system of claim 14, wherein the target comprises a golf ball.
  16. 一种运动轨迹的展示方法,其特征在于,所述方法包括:A method for displaying motion trajectory, characterized in that the method comprises:
    通过多个定位摄像装置同步拍摄目标并得到对应的多个第一图像,所述第一图像携带有拍摄得到所述第一图像的第一拍摄时间,多个所述定位摄像装置以不同的第一姿态布置在运动场地上,所述目标在所述运动场地上移动;A plurality of positioning camera devices are used to simultaneously capture a target and obtain a plurality of corresponding first images. The first images carry the first shooting time when the first image is captured, and the plurality of positioning camera devices use different first images. A gesture is arranged on the sports field on which the target moves;
    通过直播讯道机以第二姿态拍摄所述目标并得到用于直播的第二图像,所述第二图像携带有拍摄得到所述第二图像的第二拍摄时间,所述直播讯道机包括增强现实镜头;The target is photographed in a second attitude by a live broadcast channel machine, and a second image for live broadcast is obtained, the second image carries the second shooting time for obtaining the second image, and the live broadcast channel machine includes: augmented reality footage;
    根据多个所述第一图像和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置;根据所述第二图像对应的第二姿态、每个所述第一拍摄时间所述目标在所述运动场地上的三维位置以及所述第二图像,生成所述目标在所述第二图像上的运动轨迹的AR画面,所述AR画面用于在用户的显示装置上展示。Determine the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first postures corresponding to the plurality of first images; according to the second images the corresponding second posture, the three-dimensional position of the target on the sports field at each of the first shooting times, and the second image to generate an AR picture of the movement track of the target on the second image, The AR picture is used for displaying on the user's display device.
  17. 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method of claim 16, wherein the method further comprises:
    检测所述第一图像,并提取所述目标在所述第一图像中的候选位置区域;Detecting the first image, and extracting candidate location regions of the target in the first image;
    所述根据多个所述第一图像和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置,包括:The determining the three-dimensional position of the target on the sports field at each of the first shooting times according to the plurality of first images and the first postures corresponding to the plurality of first images includes:
    根据所述目标在多个所述第一图像中的多个候选位置区域和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置。According to a plurality of candidate position areas of the target in the plurality of first images and the corresponding first poses of the plurality of first images, it is determined that the target is in the sports field at each of the first shooting times 3D position on the ground.
  18. 根据权利要求17所述的方法,其特征在于,所述检测所述第一图像,并提取所述目标在所述第一图像中的候选位置区域,包括:The method according to claim 17, wherein the detecting the first image and extracting the candidate position area of the target in the first image comprises:
    检测所述第一图像,并提取所述目标在所述第一图像中的候选位置区域的中心位置;Detecting the first image, and extracting the center position of the target in the candidate position area of the first image;
    所述根据所述目标在多个所述第一图像中的多个候选位置区域和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运 动场地上的三维位置,包括:determining the location of the target at each of the first shooting times according to the plurality of candidate position regions of the target in the plurality of first images and the corresponding first postures of the plurality of first images; three-dimensional positions on the sports field described above, including:
    根据所述目标在多个所述第一图像中的候选位置区域的多个中心位置和多个所述第一图像相对应的第一姿态,确定每个所述第一拍摄时间所述目标在所述运动场地上的三维位置。According to a plurality of center positions of the candidate position regions of the target in the plurality of first images and the corresponding first postures of the plurality of first images, it is determined that the target is at each of the first shooting times three-dimensional position on the sports field.
  19. 根据权利要求16所述的方法,其特征在于,所述根据所述第二图像对应的第二姿态、每个所述第一拍摄时间所述目标在所述运动场地上的三维位置以及所述第二图像,生成所述目标在所述第二图像上的运动轨迹的AR画面,包括:The method according to claim 16, wherein the second pose corresponding to the second image, the three-dimensional position of the target on the sports field at each of the first shooting times, and the first Two images, generating an AR picture of the movement trajectory of the target on the second image, including:
    根据所述第二图像对应的第二姿态,确定当前投影平面;determining the current projection plane according to the second posture corresponding to the second image;
    根据所述当前投影平面和每个所述第一拍摄时间所述目标在所述运动场地上的三维位置,确定每个所述三维位置在所述当前投影平面上的每个投影位置;According to the current projection plane and the three-dimensional position of the target on the sports field at each of the first shooting times, determine each projection position of each of the three-dimensional positions on the current projection plane;
    将每个所述投影位置和所述第二图像融合并渲染生成所述目标在所述第二图像上的运动轨迹的AR画面。Each of the projection positions and the second image are fused and rendered to generate an AR picture of the movement track of the target on the second image.
  20. 根据权利要求16所述的方法,其特征在于,所述通过多个定位摄像装置同步拍摄目标并得到对应的多个第一图像之前,还包括:The method according to claim 16, wherein before the synchronously photographing the target through multiple positioning camera devices and obtaining the corresponding multiple first images, the method further comprises:
    控制多个所述定位摄像装置通过网络时钟同步协议PTP授时完成时间同步。Control a plurality of the positioning camera devices to complete time synchronization through the network clock synchronization protocol PTP timing.
  21. 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method of claim 16, wherein the method further comprises:
    通过跟踪云台跟踪并获取所述直播讯道机的第二姿态和获取所述第二姿态对应的时间。The second posture of the live broadcast channel machine and the time corresponding to the second posture are obtained by tracking and acquiring the tracking PTZ.
  22. 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method of claim 16, wherein the method further comprises:
    通过导播台实时展示所述AR画面。The AR picture is displayed in real time through the director station.
  23. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求16-22任一项所述的运动轨迹的展示方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the process according to any one of claims 16-22 The display method of the motion trajectory.
PCT/CN2020/134334 2020-12-07 2020-12-07 Motion trajectory display system and method, and storage medium WO2022120533A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/134334 WO2022120533A1 (en) 2020-12-07 2020-12-07 Motion trajectory display system and method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/134334 WO2022120533A1 (en) 2020-12-07 2020-12-07 Motion trajectory display system and method, and storage medium

Publications (1)

Publication Number Publication Date
WO2022120533A1 true WO2022120533A1 (en) 2022-06-16

Family

ID=81972797

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/134334 WO2022120533A1 (en) 2020-12-07 2020-12-07 Motion trajectory display system and method, and storage medium

Country Status (1)

Country Link
WO (1) WO2022120533A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225931A (en) * 2022-07-29 2022-10-21 深圳盈天下视觉科技有限公司 Live broadcasting method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6072504A (en) * 1997-06-20 2000-06-06 Lucent Technologies Inc. Method and apparatus for tracking, storing, and synthesizing an animated version of object motion
CN101458434A (en) * 2009-01-08 2009-06-17 浙江大学 System for precision measuring and predicting table tennis track and system operation method
CN106097435A (en) * 2016-06-07 2016-11-09 北京圣威特科技有限公司 A kind of augmented reality camera system and method
CN109345568A (en) * 2018-09-19 2019-02-15 深圳市赢世体育科技有限公司 Sports ground intelligent implementing method and system based on computer vision algorithms make
CN111833459A (en) * 2020-07-10 2020-10-27 北京字节跳动网络技术有限公司 Image processing method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6072504A (en) * 1997-06-20 2000-06-06 Lucent Technologies Inc. Method and apparatus for tracking, storing, and synthesizing an animated version of object motion
CN101458434A (en) * 2009-01-08 2009-06-17 浙江大学 System for precision measuring and predicting table tennis track and system operation method
CN106097435A (en) * 2016-06-07 2016-11-09 北京圣威特科技有限公司 A kind of augmented reality camera system and method
CN109345568A (en) * 2018-09-19 2019-02-15 深圳市赢世体育科技有限公司 Sports ground intelligent implementing method and system based on computer vision algorithms make
CN111833459A (en) * 2020-07-10 2020-10-27 北京字节跳动网络技术有限公司 Image processing method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225931A (en) * 2022-07-29 2022-10-21 深圳盈天下视觉科技有限公司 Live broadcasting method, device and system

Similar Documents

Publication Publication Date Title
JP6715441B2 (en) Augmented reality display system, terminal device and augmented reality display method
US9892563B2 (en) System and method for generating a mixed reality environment
CN106774844B (en) Method and equipment for virtual positioning
CN107871120B (en) Sports event understanding system and method based on machine learning
ES2790885T3 (en) Real-time object tracking and motion capture at sporting events
CN107274438B (en) Single Kinect multi-person tracking system and method supporting mobile virtual reality application
CN109691084A (en) Information processing unit and method and program
Oskiper et al. Augmented reality binoculars
JP2015521419A (en) A system for mixing or synthesizing computer generated 3D objects and video feeds from film cameras in real time
CN107341832A (en) A kind of various visual angles switching camera system and method based on infrared location system
CN111353355B (en) Motion tracking system and method
JP2020086983A (en) Image processing device, image processing method, and program
CN110270078B (en) Football game special effect display system and method and computer device
US9154710B2 (en) Automatic camera identification from a multi-camera video stream
KR102239134B1 (en) Broadcast system for provides athletic video taken with VR cameras attached to drones
WO2018089040A1 (en) Spectator virtual reality system
CN106873933A (en) Display methods and electronic equipment
WO2022120533A1 (en) Motion trajectory display system and method, and storage medium
JP2003346190A (en) Image processor
Rompapas et al. Holoroyale: A large scale high fidelity augmented reality game
JP7423251B2 (en) Information processing device, information processing method, and program
CN207366930U (en) A kind of 3D stereopsis training system
KR20150066941A (en) Device for providing player information and method for providing player information using the same
CN111279352B (en) Three-dimensional information acquisition system through pitching exercise and camera parameter calculation method
WO2021056552A1 (en) Video processing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20964480

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20964480

Country of ref document: EP

Kind code of ref document: A1