Learning device, object classification device, learning method, object classification method, and computer program

The system addresses the inefficiencies of manual model construction in sports video analysis by using automated model generation and updating based on spatial and directional information, ensuring robust classification accuracy in dynamic sports environments.

JP7542331B2Active Publication Date: 2024-08-30NTT DOCOMO BUSINESS INC
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2020097105
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-06-03
Publication Date
2024-08-30
Estimated Expiration
2040-06-03

AI Technical Summary

Technical Problem

Existing person detection and classification techniques in sports videos require significant manual intervention for model construction and are prone to reduced accuracy due to changes in player appearance, especially in real-time processing and dynamic sports environments.

Method used

A system that automatically generates models by clustering detected human regions, assigns semantic labels based on spatial position and direction information, and updates models dynamically based on classification results to maintain accuracy.

Benefits of technology

Enables efficient and robust object classification in sports videos by automating the model construction and updating process, minimizing manual intervention and maintaining classification accuracy despite changes in player appearance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007542331000002
    Figure 0007542331000002
  • Figure 0007542331000003
    Figure 0007542331000003
  • Figure 0007542331000001
    Figure 0007542331000001
Patent Text Reader

Abstract

To provide a learning device, an object classification device, a learning method, an object classification method and a computer program with which objects can be efficiently classified.SOLUTION: A learning device comprising a learning model storage part, a learning data input part and a learning part is provided with: an object detection part for detecting a plurality of objects imaged in a frame that has been input; a model construction part for constructing a model corresponding to each cluster by classifying the plurality of detected objects; and an assignment part for giving a label related to the classified objects of the model and thereby generating a learnt model.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to object classification techniques. [Background technology]

[0002] Traditionally, analyzing footage of group sports such as soccer, rugby, basketball, and ice hockey to analyze team tactics and the performance of each player has led to the development of tactics and the recruitment of promising players. From the perspective of the viewing experience, by presenting the analysis results to the viewer simultaneously with the video, or by overlaying them on the video, it is expected that the viewer's understanding of the game will be deepened and the quality of the viewing experience will be improved. The potential for industrial application of sports video analysis is broad, and its value is thought to be extremely high.

[0003] Among group sports video analysis, technology that detects each player appearing in a sports video and classifies the team to which the detected player belongs (hereinafter referred to as "person detection and classification technology") has attracted attention. The following method can be cited as one of the simplest methods for realizing person detection and classification. First, a trained model is constructed in advance using a known technology based on appearance information such as uniforms for each team to be classified (for example, see Non-Patent Document 1). Then, at the time of inference, an approach can be considered in which information on the detection area of ​​a person detected by a known person detection method is used as input and classification is performed using the trained model (for example, see Non-Patent Document 2).

[0004] In the above method, in order to build a trained model, it is necessary to manually prepare training data for each classification target in advance. In general, there is a problem that preparing training data incurs a non-negligible cost. In particular, even a single team generally has multiple uniforms with different appearances, and the uniforms themselves are often updated intermittently. Therefore, considering that training data is prepared in advance and a trained model is built, the overall cost is considered to be enormous. [Prior art documents] [Non-patent literature]

[0005] [Non-Patent Document 1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun, “Deep Residual Learning for Image Recognition”, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). [Non-Patent Document 2] Joseph Redmon, Ali Farhadi, “YOLOv3: An Incremental Improvement”, April 2018 with 6,664 Reads, arXiv:1804.02767 Summary of the Invention [Problem to be solved by the invention]

[0006] One approach to solving the above problem is to use frames from a portion of a video consisting of multiple frames for learning. In this approach, a set of person regions detected from the frames used for learning is first clustered based on appearance information. Next, a trained model is constructed using the person regions belonging to each of the obtained clusters as training data. Then, during inference, the trained model is used and applied to the target frames.

[0007] However, this approach has two major problems. First, by directly applying known clustering methods such as k-means and spectral clustering, it is not possible to automatically assign the meaning of each cluster to each cluster. More specifically, when performing person detection and classification, it is not possible to automatically determine which team model each cluster corresponds to by clustering alone. Therefore, manual annotation of the correspondence between each cluster and the team name is required. This method is no different from the above-mentioned method in that it requires manual intervention, and delays associated with manual annotation of the correspondence between clusters and team names cannot be avoided. It is possible to consider a method of automatic determination based on rough color information of the uniform, but color information in the video is easily affected by lighting, reflection, etc., and is extremely unstable.

[0008] The second point is that the information on the appearance of players in the learning frames does not necessarily cover all the players that appear in the frames used for inference. In sports, in particular, the overall appearance information is thought to vary greatly over time depending on the intensity of the exercise and the content of the play. In the approach of applying a trained model built with learning frames to inference, it is implicitly assumed that the appearance of the target is roughly the same in the frames used for training and the frames used for inference. Therefore, if this assumption does not hold, the classification accuracy will drop significantly. This problem is particularly noticeable when real-time processing is assumed, and the frames corresponding to the first section of the video are divided into learning frames and the frames thereafter are divided into inference frames.

[0009] As described above, the known person detection and classification technology requires manual intervention in constructing a trained model. In addition, when the information on the appearance of the player changes significantly depending on the time, the classification accuracy drops significantly. Therefore, there is a problem that people cannot be classified efficiently.

[0010] In view of the above circumstances, an object of the present invention is to provide a technique capable of efficiently classifying objects. [Means for solving the problem]

[0011] One aspect of the present invention is a learning device that includes an object detection unit that detects multiple objects captured in an input frame, a model construction unit that constructs a model corresponding to each cluster by classifying the detected multiple objects, and an assignment unit that generates a trained model by assigning a label related to the classification target of the model to the model.

[0012] One aspect of the present invention is the above-mentioned learning device, wherein the frames depict people playing a sport involving multiple teams as the multiple objects, and the assignment unit provides the model with labels that are determined based on directional information indicating the direction in which each team depicted in the frames is heading and positional information of the multiple people.

[0013] One aspect of the present invention is an object classification device that includes an object detection unit that detects multiple objects captured in an input frame, and a classification unit that classifies each of the multiple objects using position information of the detected multiple objects and the trained model generated by the above-mentioned learning device.

[0014] One aspect of the present invention is the above-mentioned object classification device, further comprising a model update unit that updates the trained model when an evaluation of the trained model is less than a threshold based on the classification result of the classification unit.

[0015] One aspect of the present invention is the above-mentioned object classification device, wherein the model update unit updates the trained model based on at least a frame prior to the point at which the evaluation of the trained model was evaluated to be less than a threshold and the trained model.

[0016] One aspect of the present invention is a learning method having an object detection step of detecting multiple objects photographed in an input frame, a model construction step of constructing a model corresponding to each cluster by classifying the detected multiple objects, and an assignment step of generating a trained model by assigning a label related to the classification target of the model to the model.

[0017] One aspect of the present invention is an object classification method having an object detection step of detecting multiple objects photographed in an input frame, and a classification step of classifying each of the multiple objects using position information of the detected multiple objects and the trained model obtained by the above-mentioned learning method.

[0018] One aspect of the present invention is a computer program for causing a computer to execute an object detection step of detecting multiple objects photographed in input frames, a model construction step of constructing a model corresponding to each cluster by classifying the detected multiple objects, and an assignment step of generating a trained model by assigning a label related to the classification target of the model to the model. Effect of the Invention

[0019] The present invention makes it possible to efficiently classify objects. [Brief description of the drawings]

[0020] [Figure 1] 1 is a schematic block diagram illustrating a functional configuration of a learning device according to a first embodiment. [Diagram 2] 2 is a schematic block diagram illustrating a functional configuration of a learning unit in the first embodiment. FIG. [Diagram 3] FIG. 2 is a diagram for explaining the processing of the learning device. [Figure 4] 1 is a schematic block diagram illustrating a functional configuration of an object classification device according to a first embodiment. [Diagram 5] FIG. 4 is a diagram showing an example of information displayed by a display unit in the first embodiment. [Figure 6] 4 is a flowchart showing the flow of a learning process performed by the learning device in the first embodiment. [Figure 7] 5 is a flowchart showing the flow of a person classification process performed by the object classification device in the first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will now be described with reference to the accompanying drawings. First, an overview of the embodiment of the present invention will be described, and then each embodiment of the present invention will be described in detail.

[0022] 〔overview〕 In the present invention, a video of a team sport in which multiple teams compete is used to classify people appearing in frames constituting the video into one of the teams. In the present invention, first, multiple frames constituting one video are divided into learning frames and inference frames. The frames may be divided such that the section from the beginning of the video (time t) to t+t0 is the learning frame and the remaining frames are the inference frames, or the learning frames may be sampled from the entire video. The learning frames and inference frames may overlap in part or in whole. In the following description, when there is no distinction between the learning frames and the inference frames, they will be referred to as image frames.

[0023] The learning frame is a frame used to generate a model. The models in the present invention are generated, for example, as many as the number of teams to be classified. Specifically, the models are generated as many as the number of teams based on the clusters obtained as a result of clustering using the learning frame as an input. In the present invention, a semantic label is given to the model for each team obtained in this way, based on the spatial position information (coordinates) of the person area included in the cluster corresponding to each model and the direction information indicating the direction in which each team is heading. The direction in which each team is heading is the direction in which each team will attack in the case of a competitive team. In the following description, in order to explain the example of a competitive team, the direction information is explained as information on the attack direction for each team (hereinafter referred to as "attack information"). The semantic label is a label that gives meaning to the label output by the model. For example, the name of the team playing the game is indicated as the semantic label. In this way, the semantic label is a label related to the classification target of the model. Hereinafter, a model to which a semantic label is given is referred to as a trained model. Information for identifying the spatial position information of the person area and the attack information of each team are input to the learning device as learning data together with the learning frame. The above is the flow of the learning process using the learning frames.

[0024] Next, in the present invention, an inference process is performed using the trained model generated by the learning process. Specifically, in the present invention, as the inference process, a person classification process is performed using the trained model, the inference frame, information for identifying spatial position information of the person area, and attack information of each team. The object classification device that performs the person classification process detects a person from the inference frame, and classifies the detected person into one of K+1 classes using information about the detected person and the trained model. Here, K is the number of teams. The reason for K+1 is that people other than players (for example, spectators, referees, etc.) may be reflected in the frame. This enables the object classification device to classify people reflected in the frame. Furthermore, the object classification device in the present invention determines whether or not the trained model should be updated based on the classification result, and updates the trained model as necessary. The above is the flow of the inference process using the inference frame. A specific configuration for implementing the above processing will now be described.

[0025] (First embodiment) In the first embodiment, a configuration using an image captured by a single camera will be described. The object classification system in the first embodiment includes a learning device and an object classification device. The learning device generates a model for each team based on the learning frame, and generates a trained model by assigning semantic labels to the generated model for each team. The object classification device classifies the people appearing in the inference frame by using the trained model. The object classification device may acquire the trained model from the learning device via communication, may acquire the trained model from a storage device that stores the trained model, or may acquire the model by other methods.

[0026] FIG. 1 is a schematic block diagram showing the functional configuration of a learning device 1 in the first embodiment. The learning device 1 includes a central processing unit (CPU), a memory, an auxiliary storage device, and the like, which are connected by a bus, and executes a program. The learning device 1 functions as a device including a learning model storage unit 11, a learning data input unit 12, and a learning unit 13 by executing the program. All or part of the functions of the learning device 1 may be realized using hardware such as an application specific integrated circuit (ASIC), a programmable logic device (PLD), a field programmable gate array (FPGA), or a graphics processing unit (GPU). The program may be recorded on a computer-readable recording medium. The computer-readable recording medium is, for example, a portable medium such as a flexible disk, a magneto-optical disk, a ROM, or a CD-ROM, or a storage device such as a hard disk built into a computer system. The program may be transmitted via an electric communication line.

[0027] The learning model storage unit 11 is configured using a storage device such as a magnetic storage device or a semiconductor storage device. The learning model storage unit 11 stores a learning model for machine learning in advance. Here, the learning model is information indicating a machine learning algorithm used when learning the relationship between input data and output data. Various algorithms may be used as the learning algorithm.

[0028] The learning data input unit 12 has a function of inputting learning data. The learning data includes learning frames, coordinate transformation information, and attack information for each team. For example, if the camera that captured the video is a fixed camera without pan-tilt-zoom, the coordinate transformation information is a coordinate transformation matrix that associates the coordinates of the competition field with the image frame. On the other hand, if the camera that captured the video is a non-fixed camera, the coordinate transformation information is information of a known method for estimating a transformation matrix that associates each image frame with the competition field. The known method for estimating a transformation matrix that associates each image frame with the competition field is, for example, the method shown in Reference 1 below. In the following description, a case where the camera that captured the video is a fixed camera will be described as an example. (Reference 1: S. Tarashima, “SFLNet: Direct Sports Field Localization via CNN-Based Regression”, in ACPR, 2019. https: / / link.springer.com / chapter / 10.1007 / 978-3-030-41404-7_48)

[0029] The attack information for each team is information showing the direction in the form of a vector, etc., if the team in the first uniform is attacking toward the right side of the image frame and the team in the second uniform is attacking toward the left side of the image frame.

[0030] The learning data input unit 12 is communicably connected to an external device (not shown) that stores learning data, and inputs the learning data from the external device via the communication interface. For example, the learning data input unit 12 may be configured to input the learning data by reading the learning data from a recording medium that stores the learning data in advance. The learning data input unit 12 outputs the learning data thus input to the learning unit 13.

[0031] The learning unit 13 generates a trained model by learning the training data output from the training data input unit 12 based on the training model.

[0032] FIG. 2 is a schematic block diagram showing the functional configuration of the learning unit 13 in the first embodiment. The learning unit 13 includes an object detection unit 131, a model construction unit 132, a coordinate conversion unit 133, and a model semantic label assignment unit . The object detection unit 131 detects an object from each of the input learning frames. The object is, for example, a person. A known technique may be used to detect the object. For example, the technique shown in Non-Patent Document 2 or the technique described in Reference Document 2 below may be used to detect the object. The object detection unit 131 may detect people from all of the learning frames, or may detect people by sampling only a portion of the frames. (Reference 2: X. Zhou et al., “Objects as Points”, in arXiv arXiv:1904.07850, 2019. [Retrieved June 2, 2020], Internet<URL:https: / / arxiv.org / abs / 1904.07850> )

[0033] The model construction unit 132 extracts appearance features from information about the person detected by the object detection unit 131, and clusters the obtained set of appearance features. The model construction unit 132 then generates models for the number of teams by learning the models for the number of teams from the clusters obtained by clustering. Any method can be used to extract appearance features. For example, when the technology disclosed in Reference 3 below is used, 128-dimensional features can be extracted for one person region. Any method can be used to cluster the obtained feature set. K-means clustering or spectral clustering can be used. As a model learning method, for example, a convolutional neural network (CNN) as disclosed in Non-Patent Document 1 can be fine-tuned from the clustering result, or when clustering is performed using the K-means clustering, a centroid vector obtained in the process can be output as a model. (Reference 3: L. Chen et al., “Real-time Multiple People Tracking with Deeply Learned Candidate Selection and Person Re-identification”, in ICME, 2018. [Retrieved June 2, 2020], Internet<URL: https: / / arxiv.org / abs / 1809.04427> )

[0034] The coordinate conversion unit 133 acquires spatial position information of each detected person using the input coordinate conversion information. The spatial position indicates the two-dimensional coordinate x=(x, y) of each person when the competition field is viewed from directly above. Specifically, the coordinate conversion unit 133 acquires spatial position information of each detected person by performing coordinate conversion on the learning frame using the input coordinate conversion information.

[0035] The model semantic label assignment unit 134 assigns a semantic label to each model using the spatial position information of each person obtained by the coordinate conversion unit 133 and the attack information of each team.

[0036] The processing of the learning device 1 will be described with a specific example using FIG. As shown in FIG. 3, it is assumed that frame 10 is input to the learning device 1 as a learning frame. The object detection unit 131 of the learning device 1 detects people from the frame 10. As an example, it is assumed that people 11-1 to 11-6 are detected from the frame 10. The model construction unit 132 classifies the detected people 11-1 to 11-6 by performing clustering. FIG. 3 shows an example in which the number of classifications is set to 2, and people are classified into a set of people 11-1 to 11-3 and a set of people 11-4 to 11-6. The model construction unit 132 constructs a model A for the set of people 11-1 to 11-3 and a model B for the set of people 11-4 to 11-6. The model semantic label assignment unit 134 assigns a semantic label of label 1 (red team) to model A and label 2 (blue team) to model B based on the spatial position information of each person and the attack information of each team. As a result, a trained model is generated for each team.

[0037] FIG. 4 is a schematic block diagram showing a functional configuration of the object classification device 2 according to the first embodiment. The object classification device 2 includes a storage unit 21, a control unit 22, an input unit 23, and a display unit 24. The storage unit 21 stores a trained model 211 and person area information 212. The storage unit 21 is configured using a storage device such as a magnetic storage device or a semiconductor storage device. The trained model 211 is a trained model generated by the learning device 1. The person area information 212 represents information about a person detected from the inference frame. The person area information 212 may be, for example, information about a rectangle surrounding the detected person.

[0038] The control unit 22 controls the entire object classification device 2. The object classification device 2 is configured using a processor such as a CPU and a memory. The control unit 22 executes a program to function as an acquisition unit 221, an object detection unit 222, a team classification unit 223, a team model update determination unit 224, a coordinate conversion unit 225, a team model update unit 226, and a display control unit 227.

[0039] Some or all of the functional units of the acquisition unit 221, the object detection unit 222, the team classification unit 223, the team model update determination unit 224, the coordinate conversion unit 225, the team model update unit 226, and the display control unit 227 may be realized by hardware such as ASIC, PLD, FPGA, or GPU, or may be realized by cooperation between software and hardware. The program may be recorded in a computer-readable recording medium. The computer-readable recording medium is, for example, a portable medium such as a flexible disk, a magneto-optical disk, a ROM, or a CD-ROM, or a non-transitory storage medium such as a storage device such as a hard disk built into a computer system. The program may be transmitted via an electric communication line.

[0040] Some of the functions of the acquisition unit 221, the object detection unit 222, the team classification unit 223, the team model update determination unit 224, the coordinate conversion unit 225, the team model update unit 226 and the display control unit 227 do not need to be pre-installed in the object classification device 2, and may be realized by installing an additional application program in the object classification device 2.

[0041] The acquisition unit 221 acquires various information. For example, the acquisition unit 221 acquires input data. The input data includes an inference frame, coordinate transformation information, and attack information for each team. For example, the acquisition unit 221 acquires a trained model from the learning device 1.

[0042] The object detection unit 222 detects people from each of the input inference frames. The team classification unit 223 classifies people using the trained model 211 and information on each person area detected by the object detection unit 222.

[0043] The team model update determination unit 224 determines whether or not a model update condition is satisfied based on the classification result of the team classification unit 223. The model update condition is a condition for updating the trained model.

[0044] The coordinate conversion unit 225 converts the position of each person detected by the object detection unit 222 into a position in the normalized space using the input coordinate conversion information. In this way, the coordinate conversion unit 225 acquires spatial position information of each detected person.

[0045] The team model update unit 226 updates the trained model 211 in accordance with the determination result of the team model update determination unit 224. For example, the team model update unit 226 updates the trained model 211 when the team model update determination unit 224 determines that the model update condition is satisfied.

[0046] The display control unit 227 controls the display of the display unit 24. Specifically, the display control unit 227 displays each detected person in a different manner for each team according to the classification result of the team classification unit 223. For example, the display control unit 227 displays person areas classified into the same team in the same color and in a different color from person areas classified into other teams. Furthermore, the display control unit 227 displays each person on a virtual competition field based on the spatial position information of each person obtained by the coordinate conversion unit 225. The virtual competition field is a field in a state where the competition field is viewed from directly above.

[0047] The input unit 23 is an input device for inputting a user's instruction to the object classification device 2. The input unit 23 accepts, for example, an input of an instruction to display a video. The input unit 23 is configured using an existing input device such as a keyboard, a touch panel, or a button. The input unit 23 may also be an interface for connecting the input device to the object classification device 2. In this case, the input unit 23 inputs an input signal generated in the input device in response to a user's input to the object classification device 2.

[0048] The display unit 24 is an image display device such as a liquid crystal display or an organic EL (Electro Luminescence) display. The display unit 24 displays information according to the control of the display control unit 227. The display unit 24 may be an interface for connecting an image display device to the object classification device 2. In this case, the display unit 24 generates a video signal for displaying information and outputs the video signal to the image display device connected to itself.

[0049] FIG. 5 is a diagram showing an example of information displayed by the display unit 24 in the first embodiment. Fig. 5(A) shows an example of the classification results of detected people superimposed on the video, and Fig. 5(B) shows an example of mapping the classification results of detected people onto the field as seen from directly above. In Fig. 5(A), people 20-1 and people 20-2 are displayed in different ways. In Fig. 5(B), teams 20-3 and 20-4 are displayed in different ways.

[0050] FIG. 6 is a flowchart showing the flow of the learning process performed by the learning device 1 in the first embodiment. The learning data input unit 12 inputs learning data (step S101). The learning data input unit 12 outputs the input learning data to the learning unit 13. The object detection unit 131 of the learning unit 13 detects a person from a learning frame included in the learning data (step S102). The object detection unit 131 outputs a detection result to the model construction unit 132.

[0051] Here, the result of human detection is information on a rectangle that completely surrounds a person (for example, the coordinates of the top left corner of the rectangle are (x1, y1) and the coordinates of the bottom right corner are (x2, y2), where (x1, y1, x2, y2) ∈ R 4 ) is output. If the detection target area is only a part of the image frame, the output of the known human detection technology may be filtered in combination with information specifying the area. The information specifying the area can be calculated using coordinate transformation information, which is one of the inputs. In the example shown in FIG. 3, since the target area is within a flat competition field, the coordinate transformation information is used to calculate a binary mask indicating the inside of the field in the image frame space, and based on this, it is possible to determine whether or not an arbitrary point calculated from each human detection result, such as the center, is present within the competition field.

[0052] The model construction unit 132 receives the set of person regions detected by the object detection unit 131 as input and constructs an appearance model for each predetermined team (step S103). Specifically, the model construction unit 132 extracts appearance features from each input person region and clusters the obtained set of appearance features. The model construction unit 132 learns models for the number of teams from the resulting clusters. For video of a match such as soccer or rugby, the number of teams can be set to two.

[0053] The coordinate transformation unit 133 performs coordinate transformation of each person region based on the coordinate transformation information included in the learning data, thereby acquiring spatial position information of the person region included in the cluster corresponding to each model (step S104). Any method can be used to quantify the spatial position information of the person region included in each cluster, and for example, it can be defined as the center of gravity of the central coordinates of each person region. If the coordinate transformation matrix is ​​known, the coordinate transformation unit 133 may convert the person region coordinates on the image into coordinates on the field and then calculate the center of gravity. This position information is calculated for each team. The coordinate transformation unit 133 outputs the acquired spatial position information of the person region to the model semantic label assignment unit 134.

[0054] The model semantic label assignment unit 134 assigns a semantic label to each model based on the spatial position information of the person area included in the cluster corresponding to each model obtained by the model construction unit 132 and the known attacking direction of each team (step S105). The model semantic label assignment unit 134 focuses on the x-coordinate value of the position information, and assigns the cluster with the smaller value to the team in the red uniform attacking to the right, i.e., the team relatively on the left side.

[0055] 7 is a flowchart showing the flow of the person classification process performed by the object classification device 2 in the first embodiment. It is assumed that a trained model is stored in the storage unit 21 at the start of the process in FIG. The acquisition unit 221 acquires input data (step S201). The acquisition unit 221 outputs the acquired input data to the object detection unit 222. The object detection unit 222 detects people from an inference frame included in the input data (step S202). The object detection unit 222 outputs the detection result to the team classification unit 223. The team classification unit 223 classifies each detected person based on the detection result output from the object detection unit 222 and the trained model (step S203).

[0056] The classification method depends on the form of the constructed model. For example, in the model construction unit 132, when the k-means clustering method is applied as a clustering method and a model is learned as the centroid vector, the team classification unit 223 extracts features from the person region in the same manner as the method used for clustering, and calculates the distance (e.g., L2 norm) between the extracted features and the centroid vector corresponding to each team. Then, the team classification unit 223 assigns the person region to the team corresponding to the centroid vector with the smaller calculation result.

[0057] Furthermore, in the case where the model construction unit 132 has fine-tuned the CNN to learn the model, the team classification unit 223 may assign the person region to the team corresponding to the class with the largest final softmax output obtained by inputting the person region to the CNN. Here, the team classification unit 223 may determine that the person does not belong to any team by evaluating the value used in team classification. For example, when determining team assignment based on the distance to the centroid vector, the team classification unit 223 outputs a classification result that the person region whose L2 norm with any cluster centroid vector exceeds a predetermined threshold value (e.g., 0.5) is not assigned to either team. This corresponds to indirectly determining a person who is present in the competition field and does not belong to any team, such as a referee or staff member.

[0058] The team model update determination unit 224 evaluates the trained model based on the classification result by the team classification unit 223 (step S204). The team model update determination unit 224 determines whether the model update condition is satisfied (step S205). The criterion for the determination is the quality of the classification process by the current model. For example, when determining team assignment based on the distance from the centroid vector, the distance between the feature extracted from the person region in the image frame and the centroid vector corresponding to the team into which the region is classified is averaged for all person regions, and if the average value exceeds a predetermined threshold value (e.g., 0.4), the team model update determination unit 224 determines to update the trained model. When calculating the numerical value used for the determination, the results of a predetermined number of frames (e.g., 10) processed immediately before may be averaged and used.

[0059] If the model update condition is not satisfied (step S205-NO), the object classification device 2 ends the process of FIG. 7. On the other hand, if the model update condition is satisfied (step S205-YES), the team model update unit 226 updates the trained model 211 (step S206). Specifically, the team model update unit 226 updates the trained model based on frames before the time when it is evaluated that the model update condition is satisfied and the trained model. For example, the team model update unit 226 extracts appearance features from information about people obtained from frames (a predetermined number of frames) before the time when it is determined that the model update condition is satisfied, and clusters a set of the obtained appearance features. The team model update unit 226 updates the trained model by having the trained model learn the information of the clusters obtained by clustering.

[0060] According to the object classification system configured as above, it is possible to efficiently classify objects. Specifically, in the present invention, when a semantic label is given to a trained model obtained by clustering the appearance information of a person region detected from a learning frame as described above, the spatial position information of the person region included in the cluster corresponding to the trained model is utilized. In particular, in group sports videos, the position information of the players of each team is strongly correlated with prior information such as the direction of attack of the team. Therefore, in the present invention, the correspondence between the model and the semantic label can be automated by explicitly quantifying and evaluating the position information of the players. This solves the problems that arise in constructing a trained model.

[0061] Furthermore, in the present invention, in the inference process, if the classification result of the team classification process using the current trained model falls below a predetermined threshold, the trained model is updated. This makes it possible to apply the model to subsequent inference frames. In addition, in the present invention, the team classification model is updated at an appropriate time based on an evaluation of the quality of the classification, thereby minimizing the decrease in throughput of the entire process and realizing classification that is robust to changes in the appearance of players.

[0062] Second embodiment In the second embodiment, a configuration using images captured by multiple cameras will be described. The differences from the first embodiment will be described below.

[0063] When each camera is a fixed camera, the difference is that the same number of coordinate transformation information, i.e., coordinate transformation matrices, as the number of cameras are input. The cameras may be installed in any manner. For example, the cameras may be installed in parallel to capture different locations, or may be installed to capture the same location at relative positions. When using images captured by multiple cameras, information on the attack direction as seen from each camera is input to the learning device 1 and the object classification device 2 as attack information for each team. In the object detection unit 131 and the object detection unit 222, after performing human detection on image frames of the same time in each video, a process of eliminating the redundancy is added. Any method of eliminating the redundancy may be used, and it may be possible to project the human detection results in each video into the same coordinate space based on a coordinate transformation matrix, and apply Non-Maximum Suppression to the set of obtained detection results, for example.

[0064] The model constructed by the model construction unit 132 may be constructed for each video and each team, or a unified model may be constructed for each team. The latter is more suitable when the appearance of the players differs greatly from camera to camera due to differences in lighting conditions, etc.

[0065] <Modifications common to the first and second embodiments> In each of the above embodiments, the classification of people appearing in frames constituting an image has been described as an example, but the configuration may also be such that objects other than people (e.g., living things other than people, structures, etc.) are classified. In each of the above embodiments, a configuration in which a video of a group sport in which multiple teams compete against each other is used as an example, but the video used for classification is not limited to this. The video used in each of the above embodiments may be any video in which objects that can be classified into multiple groups are captured. The learning device 1 and the person classification device 2 may be integrated together. When configured in this way, the person classification device 2 switches between the learning process and the inference process in response to a user instruction.

[0066] Although an embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to this embodiment, and designs that do not deviate from the gist of the present invention are also included. [Explanation of symbols]

[0067] 1...Learning device, 2...Object classification device, 11...Learning model storage unit, 12...Learning data input unit, 13...Learning unit, 131...Object detection unit, 132...Model construction unit, 133...Coordinate conversion unit, 134...Model semantic label assignment unit, 21...Storage unit, 22...Control unit, 23...Input unit, 24...Display unit, 221...Acquisition unit, 222...Object detection unit, 223...Team classification unit, 224...Team model update determination unit, 225...Coordinate conversion unit, 226...Team model update unit, 227...Display control unit

Claims

1. an object detection unit that detects a plurality of objects captured in an input frame; a model construction unit that constructs a model corresponding to each cluster by classifying the detected objects; an assignment unit that generates a trained model by assigning to the model a label related to a classification target of the model, the label being determined based on at least directional information indicating a direction in which the plurality of objects are heading; and Equipped with In the frames, people playing a game played by a plurality of teams are photographed as the plurality of objects, the assigning unit assigns to the model a label determined based on direction information indicating a direction in which each team captured in the frame is heading and position information of a plurality of people; Learning device.

2. an object detection unit that detects a plurality of objects captured in an input frame; a classification unit that classifies each of the plurality of objects using position information of the detected plurality of objects and the trained model generated by the learning device according to claim 1; An object classification device comprising:

3. Further comprising a model update unit that updates the trained model when an evaluation of the trained model is less than a threshold based on the classification result of the classification unit. The object classification device according to claim 2 .

4. The model update unit updates the trained model based on at least a frame prior to a point in time when the evaluation of the trained model is evaluated to be less than a threshold and the trained model. The object classification device according to claim 3 .

5. an object detection step of detecting a plurality of objects captured in an input frame; a model construction step of constructing a model corresponding to each cluster by classifying the detected objects; an assignment step of generating a trained model by assigning to the model a label related to a classification target of the model, the label being determined based on directional information indicating at least a direction in which the plurality of objects are heading; having In the frames, people playing a game played by a plurality of teams are photographed as the plurality of objects, In the allocating step, a label is assigned to the model, the label being determined based on directional information indicating a direction in which each team photographed in the frame is heading and positional information of a plurality of people. How to learn.

6. an object detection step of detecting a plurality of objects captured in an input frame; a classification step of classifying each of the plurality of objects using position information of the detected plurality of objects and the trained model obtained by the training method according to claim 5; The object classification method has the following features:

7. an object detection step of detecting a plurality of objects captured in an input frame; a model construction step of constructing a model corresponding to each cluster by classifying the detected objects; an assignment step of generating a trained model by assigning to the model a label related to a classification target of the model, the label being determined based on directional information indicating at least a direction in which the plurality of objects are heading; Run the following on your computer: In the frames, people playing a game played by a plurality of teams are photographed as the plurality of objects, A computer program that, in the assignment step, assigns a label to the model that is determined based on directional information indicating the direction in which each team photographed in the frame is heading and positional information of multiple people.

Citation Information

Patent Citations

  • Classification method based on velocity vector human group clustering

    CN110533087A

  • Method and device for tracking moving object based on dynamic image data

    JP2004046647A

  • Video analyzing device and video analyzing program

    JP2006285878A

  • Parameter information preparation device, parameter information preparation program, event detection device, and event detection program

    JP2008165636A

  • JPP4764362B