Control device, control method, and program
The control device addresses the challenge of selecting and switching videos from multiple camera feeds by identifying player and ball positions, ensuring effective video output for various sports.
Patent Information
- Application Number
- JP2023068705
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2024-10-31
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing video analysis technologies struggle to appropriately select an output video from multiple videos captured by multiple cameras, particularly in sports other than golf, and fail to switch images effectively.
A control device that identifies the positions of players and balls in videos captured by multiple cameras, determines if these positions are within predetermined areas, and selects the appropriate video for output based on these positions.
Enables the appropriate selection of output videos from multiple camera feeds, allowing for effective video switching and production suitable for various sports.
Smart Images

Figure 2024154719000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a control technique for video. [Background technology]
[0002] In recent years, with the development of video analysis technology, there has been an increase in technologies to assist in video production. Patent Document 1 discloses a technology that cuts out and outputs a notable area from a wide-angle image captured with a wide-angle lens based on the positions of the players and the ball.
[0003] Furthermore, Patent Document 2 describes switching of images based on the speed and position of the ball and the posture of the player for the purpose of filming golf. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2005-223487 A [Patent Document 2] JP 2020-145527 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the prior art described in Patent Document 1, an image is cut out from one wide-angle image, and it is not possible to appropriately select an output image from multiple images taken by multiple cameras. Also, even in the prior art described in Patent Document 2, it was sometimes impossible to appropriately switch images for sports other than golf.
[0006] Therefore, an object of the present invention is to appropriately select an output image from a plurality of images captured by a plurality of cameras. [Means for solving the problem]
[0007] In order to solve the above problems, the control device of the present invention has the following configuration: That is, the control device controls the output of video for sports, and includes a determination means for identifying the positions of a player and a ball included in a first video captured by a first camera and determining a position of interest based on the positions of the player and the ball, and a selection means for determining whether the position of interest is within a predetermined area in the first video and selecting a video to be output to the outside from among multiple videos captured by multiple cameras including the first camera based on the result of the determination. Effect of the Invention
[0008] According to the present invention, an output image can be appropriately selected from a plurality of images captured by a plurality of cameras. [Brief description of the drawings]
[0009] [Figure 1] 1A to 1C are a block diagram showing a configuration of a camera in a first embodiment, and a diagram showing an example of camera arrangement and an example of connection between the camera and a control device. [Diagram 2] 4A and 4B are diagrams showing an image captured and a determination region in the first embodiment. [Diagram 3] FIG. 2 is a block diagram showing the configuration of a control device according to the first embodiment. [Figure 4] 4 is a flowchart showing a process in the control device in the first embodiment. [Diagram 5] 13 is a diagram showing an image captured and a determination region in the second embodiment. FIG. [Figure 6] FIG. 11 is a state transition diagram of processing in the second embodiment. [Figure 7] 13 is a diagram showing an image captured and a determination region in the third embodiment. FIG. [Figure 8] FIG. 13 is a state transition diagram of processing in the third embodiment. [Figure 9] FIG. 1 is a diagram for explaining coordinates for identifying the position of a player or the position of the ball in each embodiment. [Figure 10]FIG. 2 is a diagram illustrating a hardware configuration according to each embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In each embodiment, basketball is shown as an example of a sport to be filmed, but the present invention can be similarly applied to other ball games such as soccer and rugby. In addition, the term "image" used below does not necessarily mean a moving image, but may also mean a still image.
[0011] First Embodiment The control device of the first embodiment will be described below. Fig. 1(a) is a schematic diagram showing an example of the arrangement of a subject (basketball court) 101 and three cameras 102, 103, and 104 that capture the subject 101 in the first embodiment.
[0012] Camera 102 is a camera for capturing an overhead image of the entire basketball court. However, it is not necessary to capture the entire basketball court 101. Camera 102 only needs to be positioned so that it captures an image with a different angle of view from the other cameras 103 and 104.
[0013] Moreover, camera 103 is a camera that captures basketball court 101 at a different angle of view from camera 102 for the overhead image. Camera 104 is also a camera that captures basketball court 101 at a different angle of view from camera 102 for the overhead image.
[0014] As an example, it is assumed that the camera 102 captures a wider range than the cameras 103 and 104, but the present embodiment is not limited to this.
[0015] Hereinafter, camera 102 will be referred to as the overhead image camera, and cameras 103 and 104 will be referred to as the target image cameras, as appropriate. Camera 102 is referred to as the overhead image camera because it is assumed that it will take pictures from a higher position than cameras 103 and 104, but it does not necessarily have to be installed in this manner. It is sufficient that at least these cameras are installed so as to take pictures of subject 101 from different directions. In other words, it is sufficient that the angles of view of the images taken by cameras 102 to 104 are different from each other.
[0016] 1(b) is a functional block diagram showing the configuration of each of cameras 102, 103, and 104. Here, the three cameras are described as having the same configuration, but the imageable angle of view range, zoom performance, etc. may differ depending on the respective applications.
[0017] An image of a subject is incident on an image pickup element 12 such as a CCD or CMOS sensor via a lens 11. The image pickup element 12 performs photoelectric conversion and outputs a video signal.
[0018] Furthermore, exposure control unit 13 calculates an optimal exposure value based on the video signal input from imaging element 12. Then, to achieve the optimal exposure value, it adjusts the amount of aperture drive in lens 11 and the accumulation time (shutter speed) in imaging element 12.
[0019] The video processing unit 14 performs predetermined video processing such as development processing, gamma correction, color balance adjustment, etc. The video data that has been subjected to the predetermined video processing is appropriately compressed into video data of a predetermined format by the video compression unit 15 using a compression encoding method such as JPEG, H.264, HEVC, etc. The image compression unit 15 may be omitted and the video signal may be output via a video cable or the like.
[0020] The communication unit 16 transmits the video data output from the video compression unit 15 to an external control device 300 via a network. Fig. 1(c) is a schematic diagram showing a state in which the cameras 102-104 are connected to the control device 300 via a network. Note that, as described above, the data may be transmitted (output) via a video cable without passing through a network.
[0021] FIG. 2 is a diagram showing the positional relationship between an image 201 (hereinafter referred to as an overhead image as appropriate) captured by the overhead image camera 102 in the first embodiment, and a determination area 206 and a determination area 207 for determining whether or not to switch the image.
[0022] The overhead image 201 shows competing players (people) 202-204 and a ball 205 used in the game. The overhead image 201 also shows a judgment area 206 for the target image camera 103 and a judgment area 207 for the target image camera 104.
[0023] FIG. 3 is a functional block diagram showing the control device 300 in the first embodiment.
[0024] Communication unit 301 communicates with overhead video camera 102, target video camera 103, and target video camera 104, and acquires the above-mentioned overhead video, video captured by target video camera 103, and video captured by target video camera 104. It also outputs a video (output video) selected by a method described below to an external device (not shown). Here, the external device is, for example, a video transmission device or a recording device for TV broadcasting or Internet broadcasting.
[0025] The method of acquiring images from cameras 102-104 by communication unit 301 may be a method using a video cable conforming to the SDI or HDMI (registered trademark) standards, or the video data may be converted into packet data and acquired via a network (IP network).
[0026] In addition, the method of outputting the video selected by the communication unit 301 may be an output method using a video cable compliant with the SDI or HDMI standard, or the video data may be converted into packet data and output via a network (IP network).
[0027] The blocking processor 302 divides the acquired overhead view video into a plurality of rectangular regions (block images). The size of each rectangular region is, for example, 64 pixels by 64 pixels.
[0028] The object detection unit 303 detects the presence or absence of a player or a ball from the overhead image for each block image. As an example, the object detection unit 303 uses a neural network such as a Composed Neural Network (CNN) based on learning result parameters (trained model) that have learned about the players and the ball. In other words, the object detection unit 303 uses a neural network based on the learning result parameters to detect whether a player or a ball is present in the block image. Note that in this embodiment, a CNN using deep learning is used as the AI processing for recognition to detect the players and the ball, but AI recognition using sparse modeling may also be used. A detection method using pattern matching or the like may also be used.
[0029] Then, the object detection unit 303 outputs coordinates (position coordinates) indicating the positions of the detected players and ball. Note that, although an example in which the object detection unit 303 detects the players and ball for each block image will be described, the object detection unit 303 may detect the players and ball from the entire overhead view video without dividing it into block images. In that case, the blocking processing unit 302 may be omitted.
[0030] The attention position determination unit 305 determines an attention position (coordinates of the attention position) to be noted from the position coordinates of the player and the ball identified by the object detection unit 303. Based on this attention position, image clipping and video selection, which will be described later, are performed.
[0031] The image selection unit 306 selects an output image to be output from among the multiple images based on the determined focus position and a preset determination region.
[0032] Here, as explained in Figure 2, as an example, the judgment area is set in the overhead image 201, and there are two judgment areas: judgment area 206 for the camera 103 for the image of interest and judgment area 207 for the camera 104 for the image of interest.
[0033] These determination regions 206 and 207 are set in advance by a user via a user interface such as a mouse or keyboard (not shown). For example, the user may select a predetermined region in the overhead image 201, and the coordinates indicating the region may be stored as determination region information in a storage unit (not shown).
[0034] Alternatively, information indicating the coordinates of the judgment area may be stored for each type of sport, and the judgment area may be determined according to the type of sport selected by the user via a user interface. In any ball game, the area near the goal or just before the goal may be set as the judgment area.
[0035] Here, a plurality of videos input to the control device 300 will be described.
[0036] As described above, the overhead video captured by the overhead video camera 102 and acquired via the communication unit 301 is also input to the cutout processing unit 307. The overhead video input here may be an overhead video captured at a different timing from the overhead video input to the blocking processing unit 302, but it is preferable that the capture timing of these overhead videos is at least within a few seconds.
[0037] The cutout processing unit 307 cuts out an image of a region to be noted from the overhead view video, as described below, and inputs it to the switching control unit 308. The region to be noted is a region of a predetermined size that includes the position of interest. The predetermined size is, for example, a size obtained by halving the overhead view image both vertically and horizontally, but is not limited to this. The ratio of the size of the cutout region to the overhead view video can be changed as appropriate depending on the sport.
[0038] Moreover, such video clipping processing does not necessarily have to be performed, and the overhead video may be input as is to the switching control unit 308. In that case, the overhead video itself may become the output video.
[0039] Also, attention video A captured by attention video camera 103 and attention video B captured by attention video camera 104 are input to switching control unit 308. For convenience, the video captured by attention video camera 103 and the video captured by attention video camera 104 are referred to as attention video. However, these videos are referred to as such even if the angle of view of the video does not necessarily include the attention position.
[0040] As an example, the video selection unit 306 selects an output video to be output to an external device from among an extracted video extracted from an overhead video, an image of interest A, and an image of interest B, based on the positional relationship between the attention position and the determination area. Note that the overhead video itself may be one of the options for the output video.
[0041] The switching control unit 308 controls switching of the video so that the video selected by the video selection unit 306 is output via the communication unit 301. In this way, the switching control unit 308 and the communication unit 301 cooperate to function as an output unit that outputs the selected video to the outside.
[0042] Next, the learning process in the object detection unit 303 will be described with reference to Fig. 4. This process is used to generate learning result parameters (trained model). Note that this learning process may be omitted when using learning result parameters (trained model) that have been previously trained.
[0043] First, when the overhead view image 201 input from the overhead view camera 102 is input to the blocking processor 302, in step 411, the blocking processor 302 divides the overhead view image 201 into a plurality of rectangular block images.
[0044] Next, in step 412, the user determines an evaluation value for each block image via a user interface such as a mouse or keyboard (not shown). The evaluation value is set to 0 to 1. As an example, the user inputs 1 when the entire block image overlaps with the player, and inputs 0 when there is no overlap at all. Furthermore, when only a part of the block image overlaps with the player, the user inputs a numerical value between 0 and 1, such as 0.5. Other decimal values between 0 and 1 may be input depending on the degree of overlap.
[0045] Similarly, as an example, if the entire block image overlaps with the ball, the user inputs a 1, if there is no overlap at all, the user inputs a 0. If only a part of the block image overlaps with the ball, the user inputs a number between 0 and 1, such as 0.5.
[0046] In this way, the evaluation values are input for each of the players and the ball. This input may be performed for one still image of the overhead view video, or may be performed for multiple still images.
[0047] Next, in step 413, each block image for which an evaluation value has been input by the user is input to the object detection unit 303. If the current learning process is not additional learning, a predetermined initial value is used for each value of the learning result parameters.
[0048] In step 414, the object detection unit 303 performs a deep convolution operation on each block image using the initial values of the learning result parameters, and determines an evaluation value indicating the probability that a player is present for each block image. Similarly, the object detection unit 303 determines an evaluation value indicating the probability that a ball is present for each block image.
[0049] In step 415, the difference between the evaluation value determined by the object detection unit 303 and the evaluation value input in step 412 is fed back to the CNN to update the learning result parameters. Using the updated learning result parameters, the calculation of evaluation values in steps 413 to 415 is similarly performed for further block images and the feedback is then given to the CNN. By repeating the process in this manner and completing the processing of all block images to be learned, the latest learning result parameters can be obtained at that point.
[0050] Next, the recognition process (detection process) of Fig. 4 will be described with reference to Fig. 1, Fig. 2, Fig. 3 and Fig. 9. As an example, it is assumed that the above-mentioned updated learning result parameters are used.
[0051] First, Fig. 9 will be described. Fig. 9 is a schematic diagram for explaining a method for detecting the centers of gravity of a player and the ball from an overhead view video 201 by the object detection unit 303. In Fig. 9, common reference numerals are given to parts common to Fig. 2.
[0052] A coordinate area 901 is used to define the position coordinates of a player and a ball. The coordinate area 901 is a predetermined area that includes the subject (basketball court) 101 to be shot in the overhead image 201.
[0053] The coordinate region 901 is specified so that the lower left corner of the coordinate region 901 is the origin (x, y) = (0, 0) and the coordinates of the upper right corner are (x, y) = (1.0, 1.0) so that it can be converted by linear calculation from the pixel coordinates of the overhead image 201. The coordinates of the center of the coordinate region 901 are (x, y) = (0.5, 0.5).
[0054] In this embodiment, as an example, a predetermined area including the center of the overhead image 201 is set as the coordinate area 901, but the entire overhead image 201 may be set as the coordinate area 901. In that case, the lower left corner of the overhead image 201 becomes the origin of the coordinate area.
[0055] Reference numeral 902 denotes a player area detected by the object detection unit 303 as containing player 202. Reference numeral 903 denotes a player area detected by the object detection unit 303 as containing player 203. Reference numeral 904 denotes a player area detected by the object detection unit 303 as containing player 204.
[0056] Reference numeral 905 denotes a ball area where the object detection unit 303 detects that the ball 205 being used in the game is present.
[0057] Although an example in which three players are detected is shown here, more players may be detected.
[0058] Next, returning to FIG. 4, the recognition process will be described.
[0059] First, in step 421 , the learning result parameters obtained in the learning process are set in the object detection unit 303 .
[0060] Next, in step 422, the blocking processor 302 divides the overhead view image 201 input from the overhead view camera 102 into block images.
[0061] In the next step 423, the object detection unit 303 performs deep convolution calculation for each block image based on the learning result parameters.
[0062] In the next step 424, the object detection unit 303 outputs an evaluation value based on the deep convolution calculation. The larger the evaluation value for the player, the higher the probability that the player exists in that block image. Also, the larger the evaluation value for the ball, the higher the probability that the player exists in that block image.
[0063] Then, in step 425, the calculated evaluation value is compared with a predetermined threshold value (for example, 0.5), and if the evaluation value is greater than the threshold value, it is detected that a player or the ball is present at that position.
[0064] Steps 423 to 425 are executed for all target block images, and position information (coordinates) of the target object (players and ball) in the entire overhead view video 201 is obtained.
[0065] Next, a process of determining an attention position used for selecting a video by the attention position determining unit 305 will be described.
[0066] First, in step 431, the attention position determination unit 305 extracts the position coordinates of the ball from the position information of the attention object (player or ball) obtained in the above-mentioned recognition process. Similarly, in step 432, the position coordinates of each player are extracted.
[0067] As shown in FIG. 9, for the ball 205, the focus position determining unit 305 obtains the coordinates of the center position of the recognized ball region 905, and specifies the coordinate values as the position coordinates (xb, yb) of the ball.
[0068] Similarly, the center coordinates of the player area 902 in which player 202 is recognized are set to (x1, y1), and the center coordinates of the player area 903 in which player 203 is recognized are set to (x2, y2), and these are identified as the positions of the players. Similarly, the center coordinates of all recognized players are identified.
[0069] At this time, a player may have left the basketball court 101, and the positions of players may overlap, so that the players behind are often not visible. Therefore, even in a basketball game, not all 12 players are necessarily recognized. For example, there may be cases where only 10 players are recognized. Also, referees may be recognized as players, in which case the number of players will be greater than the actual number. Here, people other than the recognized players are also considered to be players. Also, the number of detected players is assumed to be n.
[0070] Next, in step 433, the attention position determination unit 305 calculates the center of gravity based on the position coordinates of all players from the position coordinates (center coordinates) of all players. The formula for calculating the center of gravity is to calculate the average value of the position coordinates of all players for each of the x and y coordinate values, assuming that all players have the same weight. If n players are recognized, the center of gravity (xs, ys) based on all players can be calculated using the following formula. [Number 1]xs=(x1+x2+····+xn) / n [Number 2]ys=(y1+y2+····+yn) / n
[0071] Here, x1, x2,... xn are the x coordinates of each detected player, and y1, y2,... yn are the x coordinates of each detected player.
[0072] Here, if the referees are recognized along with the players, the position of the player's center of gravity will fluctuate slightly, but since the number of referees is small, the effect is considered to be minor and can be incorporated into the calculation.
[0073] Alternatively, however, as another embodiment, the attention position determination unit 305 can divide the player positions into clusters using the k-means method or the like, and determine the center of gravity from only the players included in the cluster that contains the ball. In this way, it is possible to eliminate the influence of players located far from the ball on the center of gravity calculation.
[0074] Also, if you want to focus as much attention as possible on a more popular player, you can increase the weighting factor for that player (for example, three times that of other players) and increase the weighting factor as the weighted average in the formula for calculating the center of gravity of all players. This can increase the probability that an image of a popular player will be selected.
[0075] Next, in step 434, the attention position determination unit 305 assigns a weighting value M (M is greater than 1) to the ball position that is greater than the players, and calculates the center of gravity (xs, ys) calculated from all the players and the ball position coordinates (xb, yb) from these centers of gravity. In other words, taking the weighting values into consideration, the centers of gravity are determined from the positions of all the players and the ball position. In this case, the weighting value of the ball position is set greater than that of the players. In other words, the ball position is given greater importance than the players when determining the attention position.
[0076] The center of gravity (xg, yg) obtained from the positions of all players and the ball position is calculated by taking the weighted average using the following formula. [Number 3] xg = (xs x n + xb x M) / (n + M) [Math 4]yg=(ys×n+yb×M) / (n+M)
[0077] Then, the focus position determining section 305 determines the determined position of the center of gravity as the focus position.
[0078] The weighting value M for the ball position may be changed according to the type of sport since the number of players differs depending on the sport. As an example, the weighting value may be set to about one-fifth to one-half of the total number of players. In other words, if there are 15 players, M should be about 3 to 7.5. Also, if there are 12 players, M should be about 2.4 to 6. In any case, it is good to make the weighting value M for the ball position larger than the weighting value (1) for the average player position. The weighting value M for the ball does not necessarily have to be an integer.
[0079] In this manner, attention position determination unit 305 determines the attention position for selecting an image. Note that, although the center of gravity of the player is determined first, and then the center of gravity is determined taking the ball position into consideration, the center of gravity may be calculated at once based on the player position and the ball position.
[0080] In this embodiment, the method of calculating the weighted average by setting the weight value M of the ball to a value greater than the weight value of the player has been described.
[0081] As another method, the midpoint or 1:2 between the center coordinates of the ball and the center coordinates of all the players may be set as the attention position. In any case, it is sufficient to determine the attention position using both the position of the player and the position of the ball. Also, the attention position may be determined using only the positions of some of the players.
[0082] If only the positions of the players are used, the ball will often be lost. If only the position of the ball is used, the switching of images will be too complicated. Therefore, in this embodiment, the position of the players and the position of the ball are both used to determine the focus position for selecting an image.
[0083] Here, a further explanation will be given of the processing in steps 435 and 436. Although these steps may be omitted, by performing these steps, it is possible to create images more suitable for sports.
[0084] In step S435, the attention position determination unit 305 uses the attention position derived from the current captured video with the previously calculated attention position as a reference and determines a position that is 1 / M (M is an integer) closer to the previous attention position in the direction of the attention position as a new attention position. The speed of movement can be changed by the value of M, but the optimal value varies depending on the cycle (time interval) of this calculation. When calculating frequently, such as every 0.1 seconds, the value of M should be relatively large, for example, about 10 to 3. When calculating intermittently, such as every second, the value of M should be relatively small, such as about 3 to 8.
[0085] Next, in step 436, an image of a predetermined size centered on the attention position determined in step 434 or step 435 is cut out from the overhead image. The angle of view, which is the range from which the image is cut out, may be determined in advance as appropriate depending on the type of sport. Note that since the distance from the overhead image camera 102 changes depending on the position of the attention position in the overhead image, it is advisable to change the angle of view depending on the position of the attention position. In other words, the angle of view is narrowed as it becomes farther away from the position of the overhead image camera 102.
[0086] The angle of view may also be changed according to the speed at which the coordinates of the focus position move. In other words, the slower the moving speed, the narrower the angle of view, and the faster the moving speed, the wider the angle of view. This allows you to see the details when the event is stationary, and when the event is moving around a lot, you can get a wide field of view, making it possible to produce footage that is close to that shot by a professional cameraman.
[0087] It should be noted that the angle of view change process described here can contribute to the production of videos suitable for sports even in a configuration that does not include the selection process described below.
[0088] Next, the selection process for selecting an image to be output from among a plurality of images will be described with reference to FIGS.
[0089] First, in step 441, image selection unit 306 determines whether the determined attention position is within determination area 206 in overhead image 201. If the attention position is within determination area 206, the process proceeds to step 442, where image selection unit 306 selects attention video A captured by camera 103 as the output image. Then, switching control unit 308 outputs the selected attention video A via communication unit 301.
[0090] If the focus position is not within the decision area 206 , the process proceeds to step 443 .
[0091] In step 443, image selection unit 306 determines whether the determined focus position is within determination area 207 in overhead image 201. If the focus position is within determination area 207, the process proceeds to step 444, where image selection unit 306 selects focus image B captured by camera 104 as the output image. Then, switching control unit 308 outputs the selected focus image B via communication unit 301.
[0092] If the focus position is not within determination area 207, the process proceeds to step 445, where in step 436 video selection unit 306 selects the cut-out video cut out from overhead video 201 by cut-out processing unit 307 as the output video. Then, switching control unit 308 outputs the cut-out video via communication unit 301. Note that in step 445, overhead video 201 itself may be selected as the output video, instead of the cut-out video.
[0093] As described above, the optimal image can be selected from multiple images captured by multiple cameras depending on whether the focus position, which is determined based on the positions of the players and the ball, is within the judgment area or not, making it possible to output images that are applicable to many ball sports.
[0094] It should be noted that this embodiment is not limited to the configuration and method described above, and other configurations and processing methods may be used.
[0095] For example, this processing can be implemented using hardware such as an FPGA, an ASIC, and memory, or it can be implemented using software such as a CPU, a GPU, and memory.
[0096] As the hardware or software for the CNN processing, for example, a model called ResNet (Residual Net) can be used, but other models suitable for video recognition may also be implemented.
[0097] Moreover, the cut-out image need not necessarily be cut out from the overhead image 201, but a similar image may be captured by controlling a PTZ (pan-tilt-zoom) camera separate from the overhead camera.
[0098] Furthermore, a PTZ camera may be used instead of a fixed camera for the target video camera 103. In that case, the determination area for the PTZ camera can be dynamically moved according to the shooting direction.
[0099] Alternatively, the camera for the image of interest may be a handheld camera. In this case, the position of the judgment area may be fixed, or may be dynamically moved by detecting the direction of the handheld camera.
[0100] Furthermore, in this embodiment, the position of interest is determined based on the positions of the players and the ball as the positions of the objects of interest, but it is also possible to determine the position of interest based on only the players or only the ball.
[0101] The focal position is not limited to the center of the angle of view, and may be shifted from the center of the angle of view. For example, shifting the focal position slightly upward is advantageous because it allows a larger image of the athlete's upper body. If the center is shifted so that the movement direction of the center of the angle of view of the output image becomes wider based on the focal position, an image in which the next focal position in the sports situation is captured can be selected.
[0102] <Second embodiment> Hereinafter, the second embodiment will be described with reference to Figures 5 and 6. Note that the description of the same parts as in the other embodiments will be omitted as appropriate.
[0103] In the second embodiment, inner and outer judgment regions are used to prevent the selected video from switching too frequently.
[0104] FIG. 5 is a diagram showing the relationship between the overhead view image 201 captured by the overhead view camera 102 and each determination region in the second embodiment.
[0105] 5, 501 is an inner determination region for camera 103, 502 is an outer determination region for camera 103, 503 is an inner determination region for camera 104, and 504 is an outer determination region for camera 104. Each outer determination region includes the corresponding inner determination region and is larger than the corresponding inner determination region. Note that the outer determination region may be an area excluding the inner determination region.
[0106] In the first embodiment, the selection process is explained using a flowchart, but in the second embodiment, the selection process is explained using a state transition diagram.
[0107] Fig. 6 is a state transition diagram for explaining video selection in the second embodiment. This state transition diagram corresponds to the state transition diagram when steps 441 to 445 in Fig. 4 are executed at each predetermined time interval based on the focus position at that time.
[0108] First, the video selection process in the state 601 where a cut-out video of an overhead video is being output will be described.
[0109] Depending on the determined focus position, three transitions are made. First, if the focus position is within the inside determination region 501 for the camera 103, transition 603 is applied and a transition is made to state 604. In this state 604, the image selection unit 306 selects the image of the camera 103 as the output image.
[0110] If the determined focus position is within the inside determination region 503 for the camera 104, transition 607 is applied and the state transitions to state 608. In this state 608, the image selection unit 306 selects the image of the camera 104 as the output image.
[0111] Furthermore, if the focus position is not inside either inside determination area 501 for camera 103 or inside determination area 503 for camera 104, state 601 is maintained by transition 602, and the cut-out image of the overhead image continues to be output. Note that although the word "transition" is used in 602, the current output image may be maintained without executing any special processing.
[0112] Next, a description will be given of the video selection process in the case where the current state is 604 due to the above-mentioned transition 603. In this state, two transitions are made depending on the position of the determined focus position.
[0113] First, if the focus position is within the outer determination region 502 for the camera 103, transition 605 is applied, state 604 is maintained, and the image of the camera 103 continues to be selected and output. Note that although the word "transition" is used in 605, it is sufficient to maintain the current output image without executing any special processing.
[0114] The second case is when the focus position is not inside the outer determination area 502 for the camera 103. In this case, transition 606 transitions to state 601, and the image selection unit 306 selects the cut-out image of the overhead image as the output image.
[0115] Next, the video selection process in the case where the state is currently 608 due to the above-mentioned transition 607 will be described.
[0116] Depending on the position of the focus position, two transitions are performed.
[0117] First, if the focus position is within the outer determination region 504 for the camera 104, transition 609 is applied, state 608 is maintained, and the image of the camera 104 continues to be selected and output. Note that although the word "transition" is used in 609, it is sufficient to maintain the current output image without executing any special processing.
[0118] The second is when the focus position is not inside the outer determination area 504 for the camera 104. In this case, transition 610 transitions to state 601, and the image selection unit 306 selects the cropped image of the overhead image as the output image.
[0119] In this way, by using two types of area information, inside and outside, it is possible to prevent the camera image selection from being switched cumbersomely.
[0120] In the second embodiment, two types of area information are used to prevent troublesome switching, but time information can also be used. In the case of time information, for example, the image is switched to a specified camera image only when the attention position is within the judgment area for about 1 or 2 seconds, and then the image is switched to another camera image only when the attention position is outside the judgment area for about 1 or 2 seconds.
[0121] Using time can reliably prevent cumbersome switching, but switching may occur late in response to movement of the focus position.
[0122] In addition, the output video may be switched using both area information (position information) and time information. For example, when the deviation between the focus position and the selected camera video is small, the switching is prevented by limiting the time information, and when the deviation between the focus position and the selected camera video is large, the switching is realized by only using the area information without limiting the time information.
[0123] <Third embodiment> Hereinafter, the third embodiment will be described with reference to Figures 7 and 8. Note that the description of the same parts as those of the first and / or second embodiment will be omitted as appropriate.
[0124] In the third embodiment, an example in which the determination regions partially overlap will be described.
[0125] FIG. 7 is a diagram showing the relationship between the overhead image captured by the overhead image camera 102 and the determination area in the third embodiment.
[0126] In FIG. 7, 701 denotes an inner determination area for camera C for a further image of interest, and 702 denotes an outer determination area for camera C.
[0127] In this embodiment, since the inside determination region 503 for the camera 104 and the inside determination region 701 for the camera C partially overlap, it is necessary to determine the priority of which camera is to be given priority. In this embodiment, an example in which the camera 104 has a higher priority than the camera C will be described.
[0128] Fig. 8 is a state transition diagram for explaining video selection in the third embodiment. This state transition diagram corresponds to the state transition diagram when steps 441 to 445 in Fig. 4 are executed at predetermined time intervals based on the focus position at each time. The third embodiment will also be explained using a state transition diagram like the second embodiment, but only the parts added to the second embodiment will be explained.
[0129] First, the video selection process in the state 601 where a cut-out video of an overhead video is being output will be described.
[0130] Depending on the position of the focus position determined by the focus position determining unit 305, four transitions are performed in this embodiment.
[0131] In addition to the transitions described in FIG.
[0132] If the position of interest is within the inside determination area 701 for camera C, transition 801 is applied and the state transitions to state 803. In this state 803, the image of camera C is selected and output. Note that since camera 104 has priority over camera C, at least after entering this state, image selection unit 306 determines whether the position of interest is within inside determination area 503 of camera 104.
[0133] Only when the focus position does not exist within the inside determination region 503 of the camera 104, it may be determined whether the focus position exists within the inside determination region 701 of the camera C.
[0134] Furthermore, in this embodiment, transition 602 occurs when the focus position is not inside any of the inside determination region 501 for camera 103, the inside determination region 503 for camera 104, and the inside determination region 701 for camera C. In this case, state 601 is maintained by transition 602, and the cut-out image of the overhead image continues to be output. Note that although the word "transition" is used in 602, it is sufficient to maintain the current output image without executing any special processing.
[0135] Next, a case will be described where the current state is 608. In the third embodiment, there are three transitions.
[0136] The transition added from the second embodiment is transition 805. This transition occurs when the focus position is not inside outer determination region 504 for camera 104 and is inside outer determination region 503 for camera C. In this case, transition 805 causes a transition to state 803, and the image of camera C is selected and output.
[0137] Next, a case where the current state is 803 will be described. If the focus position is inside the outer determination region 702 for camera C, transition 804 is applied, state 803 is maintained, and the image of camera C continues to be selected and output. Note that although the word "transition" is used in 804, the current output image may be maintained without executing any special processing.
[0138] If the position of interest is outside outer determination area 702 for camera C and inside inner determination area 503 for camera 104, transition 806 is applied, and a transition to state 608 occurs. That is, the video of camera 104 is selected and output. If the position of interest is in any other area, transition 802 is applied, and a transition to state 601 occurs. Then, a cut-out video of the overhead video is selected and output.
[0139] As described above in the third embodiment, when the number of cameras is increased, the determination area is increased, and when the determination areas of the cameras overlap, the camera images can be selected by determining priorities.
[0140] (Other Examples) Next, a hardware configuration for realizing each function of the control device of each embodiment will be described with reference to Fig. 10. Note that each component of the camera other than the image sensor and lens in each embodiment may also be realized by the hardware configuration shown in Fig. 10.
[0141] A RAM (Radom Access Memory) 1002 temporarily stores a computer program executed by a CPU (Central Processing Unit) 1001. The RAM 1002 also temporarily stores data (commands and video data) acquired from the outside via a communication interface 1004. The RAM 1002 also provides a work area used when the CPU 1001 executes various processes. The RAM 1002 also functions as, for example, a frame memory or a buffer memory.
[0142] The CPU 1001 executes a computer program stored in the RAM 1002. In addition to the CPU, a processor such as a DSP (Digital Signal Processor) or an ASIC (Application Specific Integrated Circuit) may also be used.
[0143] An HDD (Hard Disk Drive) 1003 stores an operating system program and video data, as well as computer programs.
[0144] Computer programs and data stored in HDD 1003 are loaded into RAM 1002 as appropriate under the control of CPU 1001, and executed by CPU 1001. Other storage media such as flash memory may be used instead of HDD. Bus 1005 connects the various pieces of hardware. The various pieces of hardware exchange data via bus 1005. The above is the hardware configuration in each embodiment.
[0145] The present invention can also be realized by a process in which one or more processors read and execute a program that realizes one or more functions of the above-mentioned embodiments. The program may be supplied to a system or device having a processor via a network or a storage medium. The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more functions of the above-mentioned embodiments.
[0146] Moreover, the control device in each embodiment may be realized by the hardware shown in FIG. 10, or can be realized by software.
[0147] Furthermore, the present invention is not limited to the above-described embodiments, and various modifications are possible without departing from the scope of the present invention. For example, combinations of the embodiments and modifications are also included in the disclosure of this specification. [Explanation of symbols]
[0148] 301 Communications Department 303 Object detection unit 305 Attention Position Determination Unit 306 Video Selection Section 308 Switching control section
Claims
1. A control device for controlling an output of a video for sports, a determining means for determining a position of a player and a position of a ball included in a first image captured by a first camera, and determining a position of interest based on the positions of the player and the position of the ball; a selection means for determining whether the focus position is within a predetermined area in the first image, and selecting an image to be output to an external device from among a plurality of images captured by a plurality of cameras including the first camera based on a result of the determination; A control device comprising:
2. The determining means determines the position of interest based on a weight value for the position of the player and a weight value for the position of the ball.
2. The control device according to claim 1.
3. The weighting value for the ball position is greater than the weighting value for the player position.
3. The control device according to claim 2.
4. The selection means selects an image from the plurality of images further based on a time during which the focus position exists in the first region.
2. The control device according to claim 1.
5. The selection means determines whether the attention position is within a second area that includes the first area and is larger than the first area, and further based on the result of the determination, selects an image to be output to the outside from among the plurality of images.
2. The control device according to claim 1.
6. When it is determined that the attention position is within the predetermined area, the selection means selects, from the plurality of images, another image different from the first image as an image to be output to the outside.
2. The control device according to claim 1.
7. an output means for outputting the image selected by the selection means to the outside; 2. The control device of claim 1, further comprising:
8. The plurality of cameras capture images of a predetermined subject from different directions.
2. The control device according to claim 1.
9. A control method for controlling an output of a video for sports, comprising: a determining step of identifying a position of a player and a position of a ball included in a first image captured by a first camera, and determining a position of interest based on the positions of the player and the position of the ball; a selection step of determining whether the focus position is within a predetermined area in the first image, and selecting an image to be output to an external device from among a plurality of images captured by a plurality of cameras including the first camera based on the result of the determination; A control method comprising the steps of:
10. A program for causing a computer to function as each of the means of the control device according to any one of claims 1 to 8.
Citation Information
Patent Citations
Digital camera work apparatus, digital camera work method, and digital camera work program
JP2005223487A
Program video production device, operation model learning device and camera model learning device, and program therefor
JP2020145527A
