Court video picture switching method and device, server and storage medium

By identifying the target player with the ball in the stadium surveillance video, calculating the ball speed and selecting the best shooting camera, the problem of low smoothness in stadium video switching was solved, the real-time and smoothness of the live broadcast of the game was achieved, and the audience experience was improved.

CN120602682APending Publication Date: 2025-09-05ZHEJIANG UNIVIEW TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410247216.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-05
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

The stadium video images have low smoothness when switching, resulting in insufficient real-time and timely broadcast of the game.

Method used

By identifying the target player with the ball in the stadium surveillance video, determining the hitting position and hitting force, calculating the ball speed based on the momentum theorem, and predicting the passing target based on the stadium data and tactical analysis model, the best shooting camera is selected and the monitoring images of each camera are switched in sequence.

Benefits of technology

It achieves smooth switching and real-time live broadcast of stadium video images, improving the audience's viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120602682A_ABST
    Figure CN120602682A_ABST
Patent Text Reader

Abstract

The invention provides a court video picture switching method and device, a server and a storage medium, and relates to the technical field of video surveillance, and the method comprises the steps: obtaining court data corresponding to a target player with a ball in a court surveillance video image; based on the court data of the target dribbling player, determining a target dribbling speed and a dribbling target of the target dribbling player; determining at least one optimal shooting camera based on the first target standing position data of the ball receiving target in the court and the second target standing position data of the target player with the ball in the court; and based on the target ball outlet speed and the second target station data, sequentially switching to the court monitoring picture corresponding to each optimal shooting camera. According to the invention, smooth switching of the court video pictures can be realized, and the real-time performance of live broadcast of the court video pictures is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of video surveillance technology, and in particular to a method, device, server and storage medium for switching stadium video images. Background Art

[0002] Live football game broadcasting is a technology that transmits live football game footage to the Internet in real time, allowing viewers to watch it online. Currently, most football games are broadcast live through applications (Applications, Apps).

[0003] During live broadcasts, the video footage of the stadium switches in real time following the movement of the ball. However, since each player hits the ball with different strength and direction, the ball's trajectory is different, which results in low smoothness and timeliness when the video footage of the stadium switches following the movement of the ball. Summary of the Invention

[0004] The present invention provides a stadium video screen switching method, device, server and storage medium, which are used to solve the defect of low fluency when switching stadium video screens in the prior art, realize smooth switching of stadium video screens, and improve the real-time performance of stadium video screen live broadcast.

[0005] The present invention provides a method for switching a stadium video image, comprising:

[0006] Obtaining court data corresponding to the target player with the ball in the court surveillance video image;

[0007] Determining a target ball-passing speed and a receiving target for a pass from the target ball-carrying player based on the court data of the target ball-carrying player;

[0008] determining at least one optimal shooting camera based on first target position data of the ball receiving target in the court and second target position data of the target ball-carrying player in the court;

[0009] Based on the target ball speed and the second target position data, the court monitoring screen corresponding to each of the best shooting cameras is switched in sequence.

[0010] According to the stadium video screen switching method provided by the present invention, the stadium data corresponding to the target player with the ball includes the target hitting position and target hitting duration corresponding to the target player with the ball;

[0011] The step of determining a target ball-carrying speed based on the court data of the target ball-carrying player includes:

[0012] Determining a target hitting force corresponding to the target hitting part of the target ball-carrying player based on a first preset mapping relationship, wherein the first preset mapping relationship includes a mapping relationship between the hitting part and the hitting force corresponding to at least two players;

[0013] The target ball-exiting speed is determined based on the target hitting duration and the target hitting force corresponding to the target ball-carrying player.

[0014] According to the stadium video switching method provided by the present invention, determining the target ball-exiting speed based on the target hitting duration and the target hitting force corresponding to the target ball-carrying player includes:

[0015] Get the target mass corresponding to the ball;

[0016] The target ball exit speed is determined by using the momentum theorem based on the target hitting force, the target hitting time and the target mass.

[0017] According to the stadium video screen switching method provided by the present invention, the stadium data corresponding to the target player with the ball also includes the position data of each player in the team where the target player with the ball is located and the position data of the opponent's goal;

[0018] Determining a receiving target for a pass from the target ball carrier based on the court data of the target ball carrier includes:

[0019] Determining, based on the position data of each player in the team of the target ball carrier and the position data of the opponent's goal, the pass probability corresponding to the target ball carrier passing the ball to each of the players and the opponent's goal;

[0020] The player corresponding to the maximum pass probability or the opponent's goal is determined as the receiving target for the ball passed by the target ball-carrying player.

[0021] According to the method for switching a video screen of a court provided by the present invention, determining at least one optimal shooting camera based on first target position data of the receiving target on the court and second target position data of the target ball-carrying player on the court includes:

[0022] Obtaining partition data corresponding to the golf course;

[0023] determining a flight trajectory corresponding to the ball based on first target position data of the ball receiving target on the court and second target position data of the target ball-carrying player on the court;

[0024] Determining at least one target partition corresponding to the flight trajectory;

[0025] Based on a second preset mapping relationship, the optimal shooting camera corresponding to each of the at least one target partition is determined; the second preset mapping relationship includes a mapping relationship between the data of each of the partitions in the stadium and the shooting camera.

[0026] According to the stadium video screen switching method provided by the present invention, the method sequentially switching to the stadium monitoring screen corresponding to each of the optimal shooting cameras based on the target ball speed and the second target position data includes:

[0027] determining a current zone corresponding to the target ball-carrying player based on the second target position data and the zone data corresponding to the court;

[0028] Determining the distance between each of the target partitions and the current partition;

[0029] Based on the distances and the target ball speeds, the court monitoring images corresponding to the best shooting cameras are switched in sequence.

[0030] According to the stadium video screen switching method provided by the present invention, the method of sequentially switching to the stadium monitoring screen corresponding to each of the optimal shooting cameras based on each of the distances and the target ball speeds includes:

[0031] Sorting the distances from near to far to obtain a sorting result;

[0032] Based on the sorting results, switching to the stadium monitoring screen corresponding to the best shooting camera of each target zone in sequence;

[0033] Determine the real-time speed of the ball corresponding to each of the court monitoring images;

[0034] Based on the target ball-out speed and the real-time speeds, the rotation of the best-shooting cameras is controlled.

[0035] The present invention also provides a stadium video screen switching device, comprising:

[0036] An acquisition module is used to acquire the court data corresponding to the target player with the ball in the court monitoring video image;

[0037] A first determination module is configured to determine a target ball-passing speed and a receiving target for a pass from the target ball-carrying player based on court data of the target ball-carrying player;

[0038] a second determining module, configured to determine at least one optimal shooting camera based on first target position data of the ball receiving target in the court and second target position data of the target ball-carrying player in the court;

[0039] A switching module is used to switch to the stadium monitoring screen corresponding to each of the best shooting cameras in sequence based on the target ball speed and the second target position data.

[0040] The present invention also provides a server, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-described methods for switching stadium video images is implemented.

[0041] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for switching a stadium video screen as described above is implemented.

[0042] The stadium video screen switching method, device, server and storage medium provided by the present invention, after obtaining the stadium monitoring video image, identify the target ball carrier in the stadium monitoring video image and the real-time stadium data corresponding to the target ball carrier; determine the target ball-carrying player's corresponding ball-carrying player's most likely passing target based on the stadium data of the target ball carrier; then, determine the ball from the target ball carrier to be passed along the target ball-carrying player's passing speed to at least one optimal shooting camera corresponding to the receiving target based on the first target position data of the receiving target in the stadium and the second target position data of the target ball carrier in the stadium; according to the target ball-carrying player's passing speed and the second target position of the target ball carrier in the stadium, switch the stadium monitoring screen corresponding to each optimal shooting camera in advance in sequence, realize the procedural switching of the stadium monitoring screen and the real-time live broadcast of the stadium monitoring screen, and improve the audience's experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0044] Figure 1 1 is a flow chart of a method for switching stadium video images provided by an embodiment of the present invention;

[0045] Figure 2 is a schematic diagram of the zoning data of a golf course provided by an embodiment of the present invention;

[0046] Figure 3 is one of the schematic diagrams of a ball catching target provided by an embodiment of the present invention;

[0047] Figure 4 This is a second schematic diagram of a ball catching target provided by an embodiment of the present invention;

[0048] Figure 5 2 is a schematic structural diagram of a stadium video image switching device provided by an embodiment of the present invention;

[0049] Figure 6 It is a structural diagram of a server provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0050] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0051] Aiming at the problem of low smoothness when switching stadium video images in the prior art, an embodiment of the present invention provides a stadium video image switching method. Figure 1 FIG. 1 is a flow chart of a method for switching a stadium video screen provided by an embodiment of the present invention. Figure 1 As shown, the method includes:

[0052] Step 110: Acquire court data corresponding to the target player with the ball in the court monitoring video image.

[0053] Optionally, the stadium surveillance video image is a real-time video stream of the stadium, or is obtained by extracting frames from the real-time video stream. The extraction of frames from the real-time video stream may be performed at equal or unequal intervals, which is not limited in this embodiment of the present invention. The stadium surveillance video image includes the target player with the ball and the ball, and different frames of the stadium surveillance video image form the corresponding motion trajectories of the target player with the ball and the ball.

[0054] Optionally, multiple cameras are pre-deployed in the stadium corresponding to the stadium surveillance video image. The cameras may be IPCs (IP Cameras, network cameras). Each camera monitors at least one zone in the stadium. All cameras cover the visual range of the entire stadium. Each zone may correspond to a camera at the best shooting angle. For example, Figure 2 FIG. 1 is a schematic diagram of the partition data of a golf course provided by an embodiment of the present invention. Figure 2 As shown, the court is divided into nine zones: Zone A, Zone B, Zone C, Zone D, Zone E, Zone F, Zone G, Zone H, and Zone I. Each zone has an equal area. The present embodiment does not impose any restrictions on the naming of the zones. Based on the mapping relationship between each zone and the shooting camera, a second preset mapping relationship is constructed. This second preset mapping relationship is shown in Table 1.

[0055] Table 1

[0056] Stadium area Camera number Area A IPC A Area B IPC B …… …… Zone I IPC I

[0057] Optionally, each camera has the ability to recognize the ball and players, and all cameras can deploy the same object detection model. Specifically, a single object detection model is trained and then deployed to each camera. All cameras are connected to a server. The object detection model can be trained in the server and then deployed to each camera, or trained in any camera when the server is idle and then deployed to other cameras and servers. The specific training process may include obtaining historical football game video images and performing preprocessing operations such as denoising, contrast enhancement, and brightness adjustment on the historical football game video images to improve image quality and recognition accuracy. Feature extraction can then be performed using edge detection algorithms, such as the Canny, Sobel, and Laplacian operators, to extract features of the ball and each player. These features may include contour features, texture features, and color features. Contour features may include contour shape and size, texture features may include gray-level co-occurrence matrices and wavelet transform matrices, and color features may include color histograms corresponding to the ball and player jerseys. After extracting the above features, target detection models such as the YOLO series of algorithms can be used to classify the extracted features to identify the ball and players, as well as their corresponding position information. The embodiment of the present invention does not limit the target detection model used by each camera.

[0058] Furthermore, a hitting position recognition model can be deployed on the server. This model can identify the hitting position based on the historical game video images. This hitting position recognition model can be constructed using a support vector machine algorithm or a random forest algorithm, etc., and this embodiment of the present invention does not impose any limitations on this.

[0059] Optionally, the course data corresponding to the target player with the ball includes the target hitting position and target hitting duration corresponding to the target player with the ball. After acquiring a video surveillance image of the course and identifying the ball and the target player with the ball, a hitting position recognition model can be used to identify the target hitting position corresponding to the target player with the ball. Timing is started from the moment the target hitting position contacts the ball, and the timing is stopped after the ball leaves the target hitting position to obtain the target hitting duration of the target hitting position in contact with the ball. Secondly, the course data corresponding to the target player with the ball also includes the position data of each player on the target player's team and the position data of the opposing goal. The position data can be understood as the coordinates or longitude and latitude of each player on the target player's team on the course, and the opposing goal position data can be the coordinates or longitude and latitude of the opposing team's goal on the course.

[0060] Step 120: Determine a target ball-passing speed and a receiving target for a pass from the target ball-carrying player based on the court data of the target ball-carrying player.

[0061] Specifically, after obtaining the court data of the target ball carrier, the target ball speed at the initial moment of the passing process can be calculated based on the court data, and the receiving target of the ball that the target ball carrier is about to pass the ball to is determined.

[0062] Furthermore, the hitting parts corresponding to each player can be analyzed based on the historical hitting videos of the team of the target ball carrier. Taking the hitting part of the foot as an example, the hitting parts generally include hitting the inside of the foot, hitting the front of the instep, hitting the inside of the instep, hitting the outside of the instep, and hitting the toe. Different hitting parts correspond to different hitting characteristics. The hitting characteristics are shown in Table 2.

[0063] Table 2

[0064]

[0065] In addition to foot strikes, other striking methods include heading and tackling. The present invention does not limit these striking methods. Heading, with a larger contact area between the head and the ball, results in a more stable and accurate release. The force of the release depends on the player, and the release speed is faster. Shoveling, with a smaller contact area between the foot or leg and the ball, results in a less stable tackling. The accuracy and force of the tackling depend on the player, and the release speed is typically faster.

[0066] After that, we analyze the historical ball speeds and contact times of each player with the ball using different hitting parts based on historical hitting videos. After obtaining the mass of the ball, we use the momentum theorem. Based on the historical ball speeds, contact times, and ball mass, we determine the hitting force. The momentum theorem is shown in Equation (1), which is:

[0067] Ft=mv1-mv2,

[0068] F represents the hitting force corresponding to different hitting parts, t represents the historical contact time between different hitting parts and the ball, m represents the mass of the ball, v1 represents the historical ball speed after hitting the ball with different hitting parts, v2 represents the historical initial speed of the ball before hitting the ball, and v2 = 0. Therefore, formula (1) can be rewritten as Ft = mv1.

[0069] Then, a first preset mapping relationship is constructed based on the hitting position and hitting force corresponding to each player. The first preset mapping relationship is shown in Table 3. Among them, F1(i) represents the hitting force corresponding to the hitting of the ball by the inside of the foot of the i-th player, F2(i) represents the hitting force corresponding to the hitting of the ball by the front of the instep of the i-th player, F3(i) represents the hitting force corresponding to the hitting of the ball by the inside of the instep of the i-th player, F4(i) represents the hitting force corresponding to the hitting of the ball by the outside of the instep of the i-th player, and F5(i) represents the hitting force corresponding to the hitting of the ball by the toe of the i-th player, i is an integer greater than or equal to 1 and less than or equal to N, and N represents the total number of players on the team of the target ball carrier.

[0070] Table 3

[0071]

[0072]

[0073] Furthermore, determining a target ball-carrying speed based on the court data of the target ball-carrying player includes:

[0074] Determining a target hitting force corresponding to the target hitting part of the target ball-carrying player based on a first preset mapping relationship, wherein the first preset mapping relationship includes a mapping relationship between the hitting part and the hitting force corresponding to at least two players;

[0075] The target ball-exiting speed is determined based on the target hitting duration and the target hitting force corresponding to the target ball-carrying player.

[0076] Specifically, different players' individual behaviors and hitting forces after receiving the ball, as well as the team's overall playing style and positioning habits, can lead to varying ball speeds. To ensure smooth switching between on-field monitoring screens and avoid losing track and missing exciting moments, in this embodiment of the present invention, after identifying the target hitting position for the target ball-carrying player, the target hitting position is matched against each hitting position in a first preset mapping. The hitting force corresponding to the matched hitting position is then determined as the target hitting force for the target ball-carrying player. The target hitting duration and hitting force are then combined to calculate the target ball speed.

[0077] Furthermore, determining the target ball-exiting speed based on the target hitting duration and the target hitting force corresponding to the target ball-carrying player includes:

[0078] Get the target mass corresponding to the ball;

[0079] The target ball exit speed is determined by using the momentum theorem based on the target hitting force, the target hitting time and the target mass.

[0080] Specifically, the hitting process can be understood as the process in which the ball's velocity changes from 0 to the target exit velocity after the target hitting part contacts the ball due to the target hitting force applied and the target hitting duration. Therefore, after determining the target hitting force, the target mass corresponding to the ball can be further obtained. The velocity of the target hitting part before contact with the ball is 0, that is, v2 in formula (1) is 0. Using the momentum theorem shown in formula (1), the product of the target hitting force F and the target hitting duration t is calculated, and the target exit velocity v1 can be obtained by dividing the product by the target mass of the ball.

[0081] Optionally, a tactical analysis model can be deployed in the server. Classifiers such as support vector machine algorithms and random forest algorithms, as well as regression models, can be used to construct an initial tactical analysis model. Historical batting videos of the target dribbling player's team are used as training data. The passing player, receiving player, team goal location, pass timestamp, and pass location in the historical batting videos are annotated. Then, relevant features are extracted from the annotated information and the historical batting videos, such as pass angle, pass distance, pass speed, relative distance between the passing player and the receiving player, and relative distance between the passing player and the opponent's goal. Parameters of the initial tactical analysis model are optimized, ultimately resulting in a trained tactical analysis model that is used to predict the probability of the target dribbling player passing the ball to the players on his team or the opponent's goal.

[0082] Furthermore, determining a receiving target for a pass from the target ball carrier based on the court data of the target ball carrier includes:

[0083] Determining, based on the position data of each player in the team of the target ball carrier and the position data of the opponent's goal, the pass probability corresponding to the target ball carrier passing the ball to each of the players and the opponent's goal;

[0084] The player corresponding to the maximum pass probability or the opponent's goal is determined as the receiving target for the ball passed by the target ball-carrying player.

[0085] Specifically, while determining the target ball release speed, the target player with the ball, the position data of each player on his team, and the location data of the opposing goal can be annotated in the stadium surveillance video image. The annotated stadium surveillance video image is then input into the tactical analysis model, which outputs the pass probability of the target player with the ball passing to each player or the location data of the opposing goal. All pass probabilities are sorted from highest to lowest, and the player or the opposing goal with the highest transmission probability in the sorted results is determined as the target for the target player with the ball to pass the ball. It should be noted that if the target is the opposing goal, then the target player with the ball passing to the opposing goal can be understood as the target player with the ball passing directly to the opposing goal.

[0086] For example, Figure 3 FIG. 1 is a schematic diagram of a ball receiving target provided by an embodiment of the present invention, such as Figure 3 As shown in the figure, taking player 1 as the target ball carrier, player 1 can pass the ball to any player from 2 to 10 on his team, as well as the opposing goal. After obtaining the positional data of each player on the field, the annotated field surveillance video images are input into the tactical analysis model, which outputs the pass probability corresponding to each passing tactic. After sorting the pass probabilities from highest to lowest, Table 4 is obtained. Player 5, corresponding to the maximum pass probability of 70% in Table 4, is determined as the target ball receiver. That is, player 1 is most likely to pass the ball to player 5.

[0087] Table 4

[0088] Passing tactics Proportion Pass to player number 5 70% Pass to player 2 62% Pass to player 3 60% Pass the ball to the opponent's goal 58% Pass to player number 6 50% Pass to player number 4 30% Pass to player number 7 15% Pass to player number 8 5% Pass to player number 9 5% Pass to No. 10 2%

[0089] Step 130: Determine at least one optimal shooting camera based on the first target position data of the ball receiving target in the court and the second target position data of the target ball-carrying player in the court.

[0090] Specifically, after determining the first target position data of the receiving target on the court, the end point of the ball in the passing process can be determined, and the second target position data of the target player with the ball on the court can be used to determine the starting point of the ball in the passing process. Combining the starting point and the end point, at least one optimal shooting camera involved in the passing process can be determined to obtain the best shooting effect.

[0091] Furthermore, the determining of at least one optimal shooting camera based on the first target position data of the ball receiving target on the court and the second target position data of the target ball-carrying player on the court includes:

[0092] Obtaining partition data corresponding to the golf course;

[0093] determining a flight trajectory corresponding to the ball based on first target position data of the ball receiving target on the court and second target position data of the target ball-carrying player on the court;

[0094] Determining at least one target partition corresponding to the flight trajectory;

[0095] Based on a second preset mapping relationship, the optimal shooting camera corresponding to each of the at least one target partition is determined; the second preset mapping relationship includes a mapping relationship between the data of each of the partitions in the stadium and the shooting camera.

[0096] Specifically, after determining the first target position data of the receiving target on the court, the starting point of the passing process can be determined based on the second target position data of the target ball carrier on the court. The end point of the passing process can be determined based on the first target position data of the receiving target on the court. Combining the starting point and end point, the flight trajectory of the ball during the passing process can be determined, that is, the passing direction of the ball and the coordinates of the ball at each moment in the passing process can be determined. This flight trajectory is compared with the data of the corresponding partitions of the court to determine at least one target partition covering the flight trajectory. Each target partition is matched with each partition in the second preset mapping relationship, and the camera corresponding to the matched partition is determined as the optimal camera for the target partition.

[0097] For example, Figure 4 FIG. 2 is a second schematic diagram of a ball catching target provided by an embodiment of the present invention, as shown in FIG. Figure 4 As shown, taking the target ball carrier as player 1 as an example, if the receiving target is player 5, the flight trajectory only involves area E. IPC E corresponding to area E in Table 1 can be determined as the optimal camera, without switching. If the receiving target is player 3, the flight trajectory flies from area E to area A. IPC E corresponding to area E and IPC A corresponding to area A in Table 1 can both be determined as the optimal cameras. If the receiving target is player 7, the flight trajectory flies from area E across area B to area C. IPC E corresponding to area E, IPC B corresponding to area B, and IPC C corresponding to area C in Table 1 can all be determined as the optimal cameras.

[0098] Optionally, the partition data corresponding to the above-mentioned court may include coordinate data corresponding to each partition corresponding to the court. The coordinate data may be the angular coordinates corresponding to the coordinate points of each partition on the diagonal line, that is, the angular coordinates corresponding to the coordinate point of the upper left corner and the coordinate point of the lower right corner, or the angular coordinates corresponding to the coordinate point of the lower left corner and the coordinate point of the upper right corner. It may also include the angular coordinates corresponding to the coordinate points of the four corners of each partition. The embodiment of the present invention does not impose any restrictions on this.

[0099] It should be noted that the ball's flight trajectory can also be determined by combining parameters such as the ball's angular velocity and normal velocity, air resistance, and surface friction. High-speed cameras or sensors installed within the court can monitor the ball's rotation and detect its rotation angle in mid-air. The angular velocity, which characterizes the speed of the ball's rotation, can then be calculated by integrating the rotation angle with the duration. The corresponding normal velocity can then be calculated from the product of the ball's angular velocity and its radius of curvature. This normal velocity is used to determine the change in the ball's velocity in the normal direction during the pass.

[0100] Step 140: Based on the target ball speed and the second target position data, switch to the stadium monitoring screen corresponding to each of the best shooting cameras in sequence.

[0101] Specifically, after determining all the best shooting cameras, the switching sequence corresponding to all the best shooting cameras can be determined in combination with the target ball-passing speed and the starting point of the passing process, that is, the second target position data of the target player with the ball on the court. Then, according to the switching sequence, the court monitoring screen corresponding to each best shooting camera is switched in turn, thereby realizing the process switching and timely switching of the court monitoring screen.

[0102] Furthermore, the step of sequentially switching to the stadium monitoring screen corresponding to each of the optimal shooting cameras based on the target ball speed and the second target position data includes:

[0103] determining a current zone corresponding to the target ball-carrying player based on the second target position data and the zone data corresponding to the court;

[0104] Determining the distance between each of the target partitions and the current partition;

[0105] Based on the distances and the target ball speeds, the court monitoring images corresponding to the best shooting cameras are switched in sequence.

[0106] Specifically, after determining all optimal cameras, the current subarea corresponding to the second target position data of the target ball carrier on the court can be determined based on the second target position data of the target ball carrier on the court. This is, in other words, the current subarea of ​​the court covering the target ball carrier on the court. The distance between each target subarea and the current subarea is then calculated, for example, the distance between the midpoint coordinates of each target subarea and the midpoint coordinates of the current subarea. Based on all these distances, the switching order corresponding to each optimal camera is determined. Furthermore, based on the target ball release speed, the court monitoring images corresponding to each optimal camera are switched to in advance.

[0107] Furthermore, the step of sequentially switching to the stadium monitoring screen corresponding to each of the optimal shooting cameras based on each of the distances and the target ball speeds includes:

[0108] Sorting the distances from near to far to obtain a sorting result;

[0109] Based on the sorting results, switching to the stadium monitoring screen corresponding to the best shooting camera of each target zone in sequence;

[0110] Determine the real-time speed of the ball corresponding to each of the court monitoring images;

[0111] Based on the target ball-out speed and the real-time speeds, the rotation of the best-shooting cameras is controlled.

[0112] Specifically, after determining each distance, each distance can be sorted from near to far. The resulting sorting results are used to represent the switching order corresponding to each optimal camera. Based on the sorting results, the corresponding optimal camera's corresponding stadium surveillance image is switched to in a timely and smooth manner, achieving smooth and timely switching of the stadium surveillance image, ensuring high-quality stadium surveillance image quality, and enhancing the spectator experience. Furthermore, since the ball is affected by factors such as gravity and air resistance during the passing process, the ball's speed gradually decreases from the target exit speed as it flies along the flight trajectory. At this point, the current coordinates of the ball on the court can be detected by each optimal camera at equal time intervals. Based on the current coordinates and the ball's previous coordinates corresponding to the previous time interval, the passing distance of the ball within the current time interval is calculated. The real-time speed of the ball within the passing distance in the corresponding stadium surveillance image is calculated according to s = vt, where t represents the time interval, s represents the passing distance within the time interval t, and v represents the real-time speed of the ball within the passing distance. In the first time interval, the best shooting camera corresponding to the current partition can be controlled to rotate according to the target ball speed. Afterwards, according to the real-time speed corresponding to the second time interval, the corresponding best shooting camera is controlled to rotate in the second time interval, and the current coordinate in the second time interval is determined as the previous coordinate corresponding to the third time interval.

[0113] It should be noted that the time interval can be set to a smaller value, for example, the time interval can be 50ms, 100ms or 150ms, etc., which is not limited in the embodiment of the present invention. Since the time interval is short, the movement of the ball within the time interval can be regarded as uniform motion.

[0114] The method for switching stadium video images provided by an embodiment of the present invention, after acquiring a stadium monitoring video image, identifies a target player with the ball and real-time stadium data corresponding to the target player with the ball in the stadium monitoring video image; determines a target ball-out speed corresponding to the ball based on the stadium data of the target player with the ball, and determines a receiving target to which the target player with the ball has the greatest possibility of passing the ball; then, determines that the ball is passed from the target player with the ball along the target ball-out speed to at least one optimal shooting camera corresponding to the receiving target based on first target position data of the receiving target in the stadium and second target position data of the target player with the ball in the stadium; according to the target ball-out speed and the second target position of the target player with the ball in the stadium, the stadium monitoring images corresponding to the optimal shooting cameras are switched in advance in sequence, thereby realizing the procedural switching of the stadium monitoring images and the real-time live broadcast of the stadium monitoring images, and improving the audience's experience.

[0115] The following describes the stadium video image switching device provided by the present invention. The stadium video image switching device described below and the stadium video image switching method described above can be referenced to each other.

[0116] The embodiment of the present invention also provides a device for switching a stadium video image. Figure 5 FIG. 1 is a schematic diagram of the structure of a stadium video image switching device provided by an embodiment of the present invention. Figure 5 As shown, the stadium video image switching device 500 includes: an acquisition module 510, a first determination module 520, a second determination module 530 and a switching module 540, wherein:

[0117] An acquisition module 510 is used to acquire court data corresponding to a target player with the ball in a court monitoring video image;

[0118] A first determination module 520 is configured to determine a target ball-passing speed and a receiving target for a pass from the target ball-carrying player based on the court data of the target ball-carrying player;

[0119] A second determining module 530 is configured to determine at least one optimal shooting camera based on first target position data of the ball receiving target on the court and second target position data of the target ball-carrying player on the court;

[0120] The switching module 540 is configured to sequentially switch to the stadium monitoring images corresponding to the best shooting cameras based on the target ball speed and the second target position data.

[0121] The stadium video screen switching device provided by the embodiment of the present invention, after obtaining the stadium monitoring video image, identifies the target ball carrier in the stadium monitoring video image and the real-time stadium data corresponding to the target ball carrier; determines the target ball-carrying player's corresponding ball-carrying player's most likely passing target based on the stadium data; then, determines the ball is passed from the target ball carrier to at least one optimal shooting camera corresponding to the receiving target along the target ball-carrying player's passing speed based on the first target position data of the receiving target in the stadium and the second target position data of the target ball carrier in the stadium; according to the target ball-carrying player's second target position data in the stadium, the stadium monitoring screen corresponding to each optimal shooting camera is switched in advance in sequence, thereby realizing the procedural switching of the stadium monitoring screen and the real-time live broadcast of the stadium monitoring screen, thereby improving the audience's experience.

[0122] Optionally, the court data corresponding to the target player with the ball includes a target hitting position and a target hitting point corresponding to the target player with the ball.

[0123] Optionally, the first determining module 520 is specifically configured to:

[0124] Determining a target hitting force corresponding to the target hitting part of the target ball-carrying player based on a first preset mapping relationship, wherein the first preset mapping relationship includes a mapping relationship between the hitting part and the hitting force corresponding to at least two players;

[0125] The target ball-exiting speed is determined based on the target hitting duration and the target hitting force corresponding to the target ball-carrying player.

[0126] Optionally, the first determining module 520 is specifically configured to:

[0127] Get the target mass corresponding to the ball;

[0128] The target ball exit speed is determined by using the momentum theorem based on the target hitting force, the target hitting time and the target mass.

[0129] Optionally, the court data corresponding to the target player with the ball also includes the position data of each player in the team where the target player with the ball is located and the opponent's goal position data.

[0130] Optionally, the first determining module 520 is specifically configured to:

[0131] Determining, based on the position data of each player in the team of the target ball carrier and the position data of the opponent's goal, the pass probability corresponding to the target ball carrier passing the ball to each of the players and the opponent's goal;

[0132] The player corresponding to the maximum pass probability or the opponent's goal is determined as the receiving target for the ball passed by the target ball-carrying player.

[0133] Optionally, the second determining module 530 is specifically configured to:

[0134] Obtaining partition data corresponding to the golf course;

[0135] determining a flight trajectory corresponding to the ball based on first target position data of the ball receiving target on the court and second target position data of the target ball-carrying player on the court;

[0136] Determining at least one target partition corresponding to the flight trajectory;

[0137] Based on a second preset mapping relationship, the optimal shooting camera corresponding to each of the at least one target partition is determined; the second preset mapping relationship includes a mapping relationship between the data of each of the partitions in the stadium and the shooting camera.

[0138] Optionally, the switching module 540 is specifically configured to:

[0139] determining a current zone corresponding to the target ball-carrying player based on the second target position data and the zone data corresponding to the court;

[0140] Determining the distance between each of the target partitions and the current partition;

[0141] Based on the distances and the target ball speeds, the court monitoring images corresponding to the best shooting cameras are switched in sequence.

[0142] Optionally, the switching module 540 is specifically configured to:

[0143] Sorting the distances from near to far to obtain a sorting result;

[0144] Based on the sorting results, switching to the stadium monitoring screen corresponding to the best shooting camera of each target zone in sequence;

[0145] Determine the real-time speed of the ball corresponding to each of the court monitoring images;

[0146] Based on the target ball-out speed and the real-time speeds, the rotation of the best-shooting cameras is controlled.

[0147] Figure 6 Schematic diagram of the structure of the server provided by the embodiment of the present invention, such as Figure 6 As shown, the server may include: a processor 610, a communication interface 620, a memory 630, and a communication bus 640, wherein the processor 610, the communication interface 620, and the memory 630 communicate with each other via the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the stadium video screen switching method, which includes:

[0148] Obtaining court data corresponding to the target player with the ball in the court surveillance video image;

[0149] Determining a target ball-passing speed and a receiving target for a pass from the target ball-carrying player based on the court data of the target ball-carrying player;

[0150] determining at least one optimal shooting camera based on first target position data of the ball receiving target in the court and second target position data of the target ball-carrying player in the court;

[0151] Based on the target ball speed and the second target position data, the court monitoring screen corresponding to each of the best shooting cameras is switched in sequence.

[0152] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0153] In another aspect, the present invention further provides a computer program product, comprising a computer program that can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the stadium video screen switching method provided by the above methods, which includes:

[0154] Obtaining court data corresponding to the target player with the ball in the court surveillance video image;

[0155] Determining a target ball-passing speed and a receiving target for a pass from the target ball-carrying player based on the court data of the target ball-carrying player;

[0156] determining at least one optimal shooting camera based on first target position data of the ball receiving target in the court and second target position data of the target ball-carrying player in the court;

[0157] Based on the target ball speed and the second target position data, the court monitoring screen corresponding to each of the best shooting cameras is switched in sequence.

[0158] In another aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for switching a stadium video provided by the above methods is implemented, and the method includes:

[0159] Obtaining court data corresponding to the target player with the ball in the court surveillance video image;

[0160] Determining a target ball-passing speed and a receiving target for a pass from the target ball-carrying player based on the court data of the target ball-carrying player;

[0161] determining at least one optimal shooting camera based on first target position data of the ball receiving target in the court and second target position data of the target ball-carrying player in the court;

[0162] Based on the target ball speed and the second target position data, the court monitoring screen corresponding to each of the best shooting cameras is switched in sequence.

[0163] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0164] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.

[0165] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for switching a stadium video screen, characterized in that: include: Obtaining court data corresponding to the target player with the ball in the court surveillance video image; Determining a target ball-passing speed and a receiving target for a pass from the target ball-carrying player based on the court data of the target ball-carrying player; determining at least one optimal shooting camera based on first target position data of the ball receiving target on the court and second target position data of the target ball-carrying player on the court; Based on the target ball speed and the second target position data, the court monitoring screen corresponding to each of the best shooting cameras is switched in sequence.

2. The method for switching stadium video images according to claim 1, characterized in that: The court data corresponding to the target ball-carrying player includes the target hitting position and target hitting duration corresponding to the target ball-carrying player; The step of determining a target ball-carrying speed based on the court data of the target ball-carrying player includes: Determining a target hitting force corresponding to the target hitting part of the target ball-carrying player based on a first preset mapping relationship, wherein the first preset mapping relationship includes a mapping relationship between the hitting part and the hitting force corresponding to at least two players; The target ball-exiting speed is determined based on the target hitting duration and the target hitting force corresponding to the target ball-carrying player.

3. The method for switching stadium video images according to claim 2, characterized in that: The determining of the target ball-exiting speed based on the target hitting duration and the target hitting force corresponding to the target ball-carrying player includes: Get the target mass corresponding to the ball; The target ball exit speed is determined by using the momentum theorem based on the target hitting force, the target hitting time and the target mass.

4. The stadium video switching method according to any one of claims 1 to 3, characterized in that: The court data corresponding to the target ball carrier also includes the position data of each player in the team where the target ball carrier is located and the position data of the opponent's goal; Determining a receiving target for a pass from the target ball carrier based on the court data of the target ball carrier includes: Determining, based on the position data of each player in the team of the target ball carrier and the position data of the opponent's goal, the pass probability corresponding to the target ball carrier passing the ball to each of the players and the opponent's goal; The player corresponding to the maximum pass probability or the opponent's goal is determined as the receiving target for the ball passed by the target ball-carrying player.

5. The method for switching stadium video images according to any one of claims 1 to 3, characterized in that: The step of determining at least one optimal shooting camera based on first target position data of the ball receiving target in the court and second target position data of the target ball carrier in the court comprises: Obtaining partition data corresponding to the golf course; determining a flight trajectory corresponding to the ball based on first target position data of the ball receiving target on the court and second target position data of the target ball-carrying player on the court; Determining at least one target partition corresponding to the flight trajectory; Based on a second preset mapping relationship, the optimal shooting camera corresponding to each of the at least one target partition is determined; the second preset mapping relationship includes a mapping relationship between the data of each of the partitions in the stadium and the shooting camera.

6. The method for switching stadium video images according to claim 5, characterized in that: The step of sequentially switching to the stadium monitoring screen corresponding to each of the optimal shooting cameras based on the target ball speed and the second target position data includes: determining a current zone corresponding to the target ball-carrying player based on the second target position data and the zone data corresponding to the court; Determining the distance between each of the target partitions and the current partition; Based on the distances and the target ball speeds, the court monitoring images corresponding to the best shooting cameras are switched in sequence.

7. The method for switching stadium video images according to claim 6, characterized in that: The step of sequentially switching to the stadium monitoring images corresponding to the best shooting cameras based on the distances and the target ball speeds includes: Sorting the distances from near to far to obtain a sorting result; Based on the sorting results, switching to the stadium monitoring screen corresponding to the best shooting camera of each target zone in sequence; Determine the real-time speed of the ball corresponding to each of the court monitoring images; Based on the target ball-out speed and the real-time speeds, the rotation of the best-shooting cameras is controlled.

8. A device for switching a stadium video image, characterized in that: include: An acquisition module is used to acquire the court data corresponding to the target player with the ball in the court monitoring video image; A first determination module is configured to determine a target ball-passing speed and a receiving target for a pass from the target ball-carrying player based on court data of the target ball-carrying player; a second determining module, configured to determine at least one optimal shooting camera based on first target position data of the ball receiving target in the court and second target position data of the target ball-carrying player in the court; A switching module is used to switch to the stadium monitoring screen corresponding to each of the best shooting cameras in sequence based on the target ball speed and the second target position data.

9. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the stadium video screen switching method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for switching stadium video images as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Camera switching control method and method based on football detection tracking

    CN106488127A

  • Football training method

    CN109091837A

  • Multi-video stream director method and director processing system

    CN110049345A

  • Intelligent live broadcast method and live broadcast Internet-of-Things system

    CN112969028A

  • Intelligent monitoring system and method for court

    CN114120231A