Information processing device program and information processing device
The information processing device simplifies the recognition of specific actions in videos by allowing the selection of relevant feature quantities, reducing the need for extensive video samples and improving processing efficiency.
Patent Information
- Application Number
- PCT/JP2023/006868
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2024-08-29
AI Technical Summary
Conventional methods for recognizing specific actions in videos face challenges, such as difficulty in setting appropriate rules for joint positions and requiring large amounts of video samples, leading to increased workload and processing time.
An information processing device and program that allow the selection of specific feature quantities for behavior recognition, reducing the need for extensive video samples by designating combinations of feature types related to human behavior, enabling easier recognition of specific actions through machine learning models like random forest.
This approach simplifies the recognition of specific actions by reducing the number of required video samples and processing time, thereby decreasing the workload and improving the accuracy of behavior recognition models.
Smart Images

Figure JP2023006868_29082024_PF_FP_ABST
Abstract
Description
Information processing program and information processing device
[0001] The present invention relates to an information processing program and an information processing device.
[0002] There is a conventional technology that analyzes video to recognize the behavior of a person captured in the video. For example, as a condition for recognizing a specific behavior, the behavior of a person captured in the video may be recognized based on the positions of each joint of the person in each frame of the video, which are detected using a machine learning model with reference to rules that represent patterns of the positions of each joint of the person.
[0003] Prior art includes, for example, a technique for inputting time-series skeletal information extracted from an input video into a trained model to calculate a feature vector. Another technique involves training parameters of an action recognition model based on motion data including each motion of a moving object and a loss calculated using a hierarchical structure of action labels. Another technique involves recognizing three-dimensional motion using linear discriminant analysis. Another technique involves training parameters of a hierarchical model that represents human activity at multiple levels of detail.
[0004] JP 2022-117766 A JP 2022-072444 A U.S. Patent Application Publication No. 2014-0143183 U.S. Patent Application Publication No. 2008-0285807
[0005] However, with conventional technology, it may be difficult to recognize a specific behavior of a person captured in a video. For example, if the specific behavior is complex, it may be impossible to set a rule that represents an appropriate pattern of the position of each joint of the person as a condition for recognizing the specific behavior, and the specific behavior of the person captured in the video may not be recognized.
[0006] In one aspect, the present invention aims to facilitate recognition of specific behaviors.
[0007] According to one embodiment, an information processing program and an information processing device are proposed that accept a specification of a combination of one or more types that define a specific behavior from among multiple types that classify features related to a person's behavior, acquire feature values of the type of combination for which the specification was accepted from among multiple feature values related to the behavior of a first person captured in a first video, and learn a model that recognizes the specific behavior of the person captured in the video based on the acquired feature values.
[0008] According to one aspect, it is possible to facilitate recognition of certain actions.
[0009] FIG. 1 is an explanatory diagram illustrating an example of an information processing method according to an embodiment. FIG. 2 is an explanatory diagram illustrating an example of a behavior recognition system 200. FIG. 3 is a block diagram illustrating an example of the hardware configuration of an information processing device 100. FIG. 4 is a block diagram illustrating an example of the hardware configuration of a storage device 201. FIG. 5 is a block diagram illustrating an example of the hardware configuration of a user terminal 202. FIG. 6 is a block diagram illustrating an example of the hardware configuration of a video imaging device 203. FIG. 7 is a block diagram illustrating an example of the functional configuration of the information processing device 100. FIG. 8 is an explanatory diagram (part 1) illustrating an example of a feature quantity belonging to a first aspect. FIG. 9 is an explanatory diagram (part 2) illustrating an example of a feature quantity belonging to the first aspect. FIG. 10 is an explanatory diagram (part 3) illustrating an example of a feature quantity belonging to the first aspect. FIG. 11 is an explanatory diagram (part 4) illustrating an example of a feature quantity belonging to the first aspect. FIG. 12 is an explanatory diagram illustrating an example of a feature quantity belonging to a second aspect. FIG. 13 is an explanatory diagram illustrating an example of a feature quantity belonging to a third aspect. FIG. 14 is an explanatory diagram illustrating an example of a feature quantity belonging to a fourth aspect. FIG. 15 is an explanatory diagram (part 1) showing an example of accepting the selection of a type of feature amount. FIG. 16 is an explanatory diagram (part 2) showing an example of accepting the selection of a type of feature amount. FIG. 17 is an explanatory diagram (part 1) showing an example of the relationship between a specific behavior and a selected feature amount. FIG. 18 is an explanatory diagram (part 2) showing an example of the relationship between a specific behavior and a selected feature amount. FIG. 19 is an explanatory diagram showing an example of training the behavior recognition model 1940. FIG. 20 is an explanatory diagram showing an example of using the behavior recognition model 1940. FIG. 21 is a flowchart showing an example of a processing procedure during learning. FIG. 22 is a flowchart showing an example of a processing procedure during inference. FIG. 23 is a sequence diagram showing an example of an overall processing procedure during learning. FIG. 24 is a sequence diagram showing an example of an overall processing procedure during inference.
[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an information processing program and an information processing device according to embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0011] (Example of Information Processing Method According to Embodiment) Fig. 1 is an explanatory diagram showing an example of an information processing method according to an embodiment. The information processing device 100 is a computer that facilitates learning a model that recognizes the behavior of a person captured in a video. The information processing device 100 is, for example, a server or a PC (Personal Computer).
[0012] Conventionally, it is desirable to recognize the behavior of a person captured in a video by analyzing the video. For example, there is a method 1 in which an action recognition model that receives video as a direct input and has a function of recognizing the behavior of a person captured in the video based on the input video is trained, and the learned action recognition model is used to recognize the behavior of a person captured in the video.
[0013] With this method 1, it may be difficult to recognize a specific behavior of a person captured in a video. For example, in order to improve the accuracy with which an behavior recognition model recognizes a specific behavior, it tends to be necessary to prepare a huge amount of video as samples. Therefore, for example, it may be difficult to train an behavior recognition model that accurately recognizes a specific behavior, and it may be difficult to recognize a specific behavior of a person captured in a video.
[0014] Furthermore, for example, a second method can be considered in which, as a condition for recognizing a specific behavior, rules representing the patterns of the positions of each joint of the person are referenced, and the behavior of the person depicted in the video is recognized based on the positions of each joint of the person in each frame of the video, which are detected using a machine learning model.
[0015] It may be difficult to recognize a specific behavior of a person captured in a video using Method 2. For example, if the specific behavior is complex, it may be impossible to set a rule that represents an appropriate pattern of the position of each joint of the person as a condition for recognizing the specific behavior, and the specific behavior of the person captured in the video may not be recognized.
[0016] Specifically, the specific behavior may be "walking while using a smartphone," in which a person operates a smartphone while looking at the screen while walking. In this case, it may be possible to prepare rules that represent combinations of a pattern of each joint position of a person that indicates "continuing walking," a pattern of each joint position of a person that indicates "keeping one's hands out in front," and a pattern of each joint position of a person that indicates "looking down." If an attempt is made to recognize the behavior of a person captured on video by referring to the prepared rules, it is possible that the behavior of walking while holding a cup of coffee may be mistakenly recognized as "walking while using a smartphone."
[0017] Furthermore, for example, Method 3 can be considered, in which the positions of each joint of a person in each frame of a video detected using a machine learning model are employed as explanatory variables to train an action recognition model that recognizes the actions of a person appearing in the video. In Method 3, the actions of a person appearing in the video are recognized using the learned action recognition model based on the positions of each joint of a person in each frame of a video detected using a machine learning model.
[0018] In Method 3, it may be difficult to recognize a specific behavior of a person captured in a video. For example, in order to improve the accuracy with which an behavior recognition model recognizes a specific behavior, it tends to be necessary to prepare a huge number of videos as samples. Specifically, it is necessary to prepare positive example videos in which the specific behavior is captured and negative example videos in which the specific behavior is not captured as samples. Therefore, for example, it may be difficult to train an behavior recognition model that accurately recognizes a specific behavior, and it may be difficult to recognize a specific behavior of a person captured in a video.
[0019] Therefore, in this embodiment, an information processing method that can make it easier to recognize a specific behavior will be described.
[0020] 1 , an information processing device 100 receives a designation of a combination 120 of types 110 that belong to each of one or more perspectives that define a specific behavior, from among a plurality of types 110 that classify feature amounts related to a person's behavior. The feature amounts can be calculated, for example, based on a video in which a person is captured.
[0021] The viewpoints may be, for example, a first spatial viewpoint, a second temporal viewpoint, a third viewpoint relating to the relationship between a person and other objects or places, or a fourth viewpoint relating to the interaction between feature quantities, etc. The feature quantities may be those belonging to the first viewpoint, the second viewpoint, the third viewpoint, or the fourth viewpoint, etc.
[0022] The feature amount belonging to the first perspective can be calculated, for example, based on the coordinates of each of one or more body parts of a person appearing in a video, which are calculated by analyzing the video. The body parts are, for example, the head, left shoulder, left elbow, left hand, right shoulder, right elbow, right hand, waist, left knee, left ankle, right knee, or right ankle. The feature amount belonging to the first perspective is, specifically, the coordinates of each of one or more body parts of a person. The feature amount belonging to the first perspective is, specifically, the orientation of each of one or more body parts of a person. The feature amount belonging to the first perspective is, specifically, the angle between two body parts of a person.
[0023] The feature quantities belonging to the second perspective can be calculated, for example, based on the coordinates of one or more body parts of a person appearing in a video, which are calculated by analyzing the video. Specifically, the feature quantities belonging to the second perspective are values obtained by analyzing the feature quantities belonging to the first perspective in the time direction. More specifically, the feature quantities belonging to the second perspective are statistical values of the feature quantities belonging to the first perspective in a specific time window. The statistical values are, for example, maximum values, minimum values, average values, modes, medians, etc.
[0024] The feature quantity belonging to the third perspective can be calculated, for example, based on the coordinates of each of one or more body parts of a person captured in a video, and other objects or places captured in the video other than the person detected by analyzing the video. The other objects are, for example, living things or non-living things. The other objects are specifically objects held by the person. The other objects include, for example, other people. The feature quantity belonging to the third perspective is, specifically, a feature quantity representing the relationship between a person and a place. The feature quantity belonging to the third perspective is, specifically, a feature quantity representing the relationship between a person and another object.
[0025] The feature quantity according to the fourth aspect can be calculated based on two or more feature quantities calculated by analyzing a video. Specifically, the feature quantity according to the fourth aspect is the difference between two feature quantities or the sum of two feature quantities. Specifically, the feature quantity according to the fourth aspect is the principal component of three or more feature quantities or the singular value of three or more feature quantities.
[0026] (1-1) The information processing device 100 acquires feature quantities 121 of the type 110 of the combination 120 whose designation has been accepted from among a plurality of feature quantities related to the behavior of the first person appearing in the first video 101 that can be calculated based on the first video 101. The information processing device 100 acquires the feature quantities 121 by, for example, analyzing the first video 101 and calculating the feature quantities 121 of the type 110 of the combination 120 whose designation has been accepted.
[0027] (1-2) The information processing device 100 trains the model 130 based on the acquired feature quantities. The model 130 is, for example, a machine learning model. The model 130 has a function of recognizing specific behaviors of people captured in video. The information processing device 100 trains the model 130 using, for example, a random forest. This enables the information processing device 100 to use the model 130 that recognizes specific behaviors of people captured in video, making it easier to recognize specific behaviors.
[0028] For example, in the past, when training a model for recognizing a specific behavior, multiple calculable feature quantities are used as explanatory variables, and in the process of training the model, it is sometimes determined which of the multiple feature quantities is suitable for the purpose of recognizing the specific behavior. For this reason, for example, in the past, in order to appropriately determine which of the multiple feature quantities is suitable for the purpose of recognizing the specific behavior, it has tended to be necessary to prepare a huge amount of video as samples, including positive example videos and negative example videos. Therefore, for example, in the past, there has been a problem in that it leads to an increase in the workload and work time imposed on the worker preparing the samples.
[0029] In contrast, the information processing device 100 can selectively employ, as explanatory variables, some feature quantities suitable for the purpose of recognizing specific behaviors, among a plurality of feature quantities that can be calculated. Therefore, the information processing device 100 can, for example, easily reduce the number of videos prepared as samples, thereby reducing the workload and work time imposed on an operator preparing the samples. Because the information processing device 100 can, for example, reduce the number of videos prepared as samples, it can reduce the processing workload and processing time required when training the model 130. In this way, the information processing device 100 can easily train the model 130 that accurately recognizes specific behaviors of people appearing in videos, thereby making it easier to recognize specific behaviors.
[0030] For example, in the past, as a condition for recognizing a specific behavior, a specific behavior of a person captured in a video may be recognized by referring to a rule that represents a pattern of coordinates of each of one or more body parts of the person. Therefore, for example, in the past, there was a problem that it was difficult to set the rule unless the worker who sets the rule had detailed knowledge of the characteristics that appear in the person's specific behavior. In addition, for example, in the past, there was a problem that the worker who sets the rule had to increase his or her workload and working time.
[0031] In contrast, the information processing device 100 allows, for example, the operator to specify only a subset of feature types suitable for the purpose of recognizing a specific behavior from among multiple types of calculable feature types. The information processing device 100 allows, for example, the operator to avoid having to specifically specify the coordinate patterns of each of one or more body parts of a person. Therefore, the information processing device 100 can, for example, reduce the workload and work time imposed on the operator.
[0032] Here, a case has been described in which the information processing device 100 analyzes the first video 101 and calculates only the feature amount of the type 110 of the combination 120 for which designation has been accepted, but this is not limiting. For example, the information processing device 100 may analyze the first video 101 and calculate a plurality of feature amounts related to the behavior of a first person appearing in the first video 101. In this case, the information processing device 100 acquires the feature amount by extracting the feature amount of the type 110 of the combination 120 for which designation has been accepted from the plurality of calculated feature amounts.
[0033] Here, the case where the information processing device 100 operates independently has been described, but this is not limiting. For example, the information processing device 100 may also cooperate with another computer. Specifically, the information processing device 100 may cooperate with another computer having a function of learning a model, and may learn the model by transmitting acquired features to the other computer. For example, multiple computers may cooperate to realize the functions of the information processing device 100. Specifically, the functions of the information processing device 100 may be realized on the cloud.
[0034] (Example of Behavior Recognition System 200) Next, an example of a behavior recognition system 200 to which the information processing device 100 shown in FIG. 1 is applied will be described with reference to FIG.
[0035] 2 is an explanatory diagram showing an example of a behavior recognition system 200. In FIG. 2, the behavior recognition system 200 includes an information processing device 100, a storage device 201, a user terminal 202, and a video shooting device 203.
[0036] In the behavior recognition system 200, the information processing device 100 and the storage device 201 are connected via a wired or wireless network 210. The network 210 is, for example, a local area network (LAN), a wide area network (WAN), or the Internet.
[0037] In the behavior recognition system 200, the information processing device 100 and the user terminal 202 are connected via a wired or wireless network 210. In the behavior recognition system 200, the information processing device 100 and the video imaging device 203 are connected via a wired or wireless network 210.
[0038] The information processing device 100 is a computer for training an action recognition model that recognizes specific actions of a person captured in a video. The information processing device 100 stores a plurality of types for classifying feature amounts related to a person's actions. The information processing device 100 accepts a designation of a combination of types that belong to each of one or more perspectives that define the specific action from among the plurality of types.
[0039] The information processing device 100, for example, receives a combination of types belonging to each of one or more perspectives that define a specific behavior from the user terminal 202, thereby accepting the designation of the combination. The information processing device 100 may store the designated combination in the storage device 201 in association with the specific behavior. The information processing device 100, for example, may transmit the designated combination and the specific behavior in association with each other to the storage device 201.
[0040] The information processing device 100 acquires training videos to be used as samples when training an behavior recognition model that recognizes specific behaviors of people appearing in the videos. The information processing device 100 acquires training videos stored in the storage device 201 from the storage device 201, for example, in response to communication with the user terminal 202. Specifically, the information processing device 100 receives a designation of training videos from the user terminal 202 and acquires the designated training videos from the storage device 201. The information processing device 100 may acquire, for example, a correct answer label corresponding to the training videos from the storage device 201 in response to communication with the user terminal 202.
[0041] The information processing device 100 acquires evaluation videos to be used as samples when evaluating a trained behavior recognition model. The information processing device 100 acquires the evaluation videos stored in the storage device 201 from the storage device 201, for example, in response to communication with the user terminal 202. Specifically, the information processing device 100 receives a designation of the evaluation videos from the user terminal 202, and acquires the designated evaluation videos from the storage device 201. The information processing device 100 may acquire, for example, a correct answer label corresponding to the evaluation videos from the storage device 201 in response to communication with the user terminal 202.
[0042] The information processing device 100 calculates feature quantities of the combination type for which a designation has been accepted from among a plurality of feature quantities related to the behavior of a first person appearing in the training video that can be calculated based on the training video. The information processing device 100 trains a behavior recognition model based on the calculated feature quantities. The information processing device 100 trains the behavior recognition model, for example, based on the calculated feature quantities and a correct answer label corresponding to the training video. The information processing device 100 may store the trained behavior recognition model in the storage device 201 in association with a specific behavior. The information processing device 100 transmits the trained behavior recognition model to the storage device 201 in association with the specific behavior, for example.
[0043] The information processing device 100 may evaluate the trained behavior recognition model. The information processing device 100 calculates feature quantities of the type of combination for which designation has been accepted from among a plurality of feature quantities related to the behavior of the first person captured in the evaluation video that can be calculated based on the evaluation video. The information processing device 100 evaluates the trained behavior recognition model based on the calculated feature quantities. The information processing device 100 evaluates the trained behavior recognition model based on, for example, the calculated feature quantities and a correct answer label corresponding to the evaluation video.
[0044] The information processing device 100 receives the inference video from the video shooting device 203. The information processing device 100 calculates feature quantities of the type of combination for which designation has been accepted from among a plurality of feature quantities related to the behavior of a second person captured in the inference video that can be calculated based on the inference video. The second person may be, for example, the same person as the first person. The information processing device 100 inputs the calculated feature quantities into a behavior recognition model to recognize a specific behavior of the person captured in the inference video. For example, the information processing device 100 inputs the calculated feature quantities into the behavior recognition model to determine whether the behavior of the person captured in the inference video is a specific behavior.
[0045] The information processing device 100 transmits the result of determining whether the behavior of the person shown in the inference video is a specific behavior to the user terminal 202. The information processing device 100 is, for example, a server or a PC.
[0046] The storage device 201 is a computer that stores various types of information that are referenced or updated by the information processing device 100. The storage device 201 receives, for example, a specific action and a specified combination from the information processing device 100. The storage device 201 stores, for example, the specified combination in association with the specific action.
[0047] The storage device 201 stores, for example, training videos that are used as samples when training an action recognition model that recognizes specific actions of a person appearing in the video. The storage device 201 may also store, for example, correct answer labels corresponding to the training videos. The storage device 201 stores, for example, evaluation videos that are used as samples when evaluating the action recognition model. The storage device 201 may also store, for example, correct answer labels corresponding to the evaluation videos.
[0048] The storage device 201 receives, for example, a behavior recognition model and a specific behavior from the information processing device 100. The storage device 201 stores, for example, the behavior recognition model in association with the specific behavior. The storage device 201 is, for example, a server.
[0049] The user terminal 202 is a computer used by a user that utilizes a behavior recognition model that recognizes specific behaviors of a person captured in a video. The user terminal 202 accepts, for example, based on an operational input from the user, a designation of a combination of types that belong to each of one or more perspectives that define the specific behavior, from among multiple types that classify feature quantities related to the person's behavior. The user terminal 202 transmits the designated combination to the information processing device 100.
[0050] The user terminal 202, for example, based on a user's operation input, accepts designation of a training video to be used as a sample when training an action recognition model that recognizes a specific action of a person shown in a video, and transmits the designation of the training video to the information processing device 100. The user terminal 202 may, for example, accept designation of a correct answer label corresponding to the training video based on a user's operation input, and transmit the designation of the correct answer label to the information processing device 100.
[0051] The user terminal 202, for example, based on an operational input from the user, accepts designation of an evaluation video to be used as a sample when evaluating an action recognition model, and transmits the designation of the evaluation video to the information processing device 100. The user terminal 202, for example, based on an operational input from the user, may accept designation of a correct answer label corresponding to the evaluation video, and transmit the designation of the correct answer label to the information processing device 100.
[0052] The user terminal 202 receives the result of determining whether the behavior of the person shown in the inference video is a specific behavior from the information processing device 100. The user terminal 202 outputs the result of determining whether the behavior of the person shown in the inference video is a specific behavior so that the user can refer to it. The user terminal 202 is, for example, a PC, a tablet terminal, or a smartphone.
[0053] The video imaging device 203 is a computer that generates images. The video imaging device 203 generates an image for inference by capturing an image of a predetermined space. The video imaging device 203 transmits the generated image for inference to the information processing device 100. The video imaging device 203 is, for example, a tablet terminal or a smartphone. The video imaging device 203 may also be, for example, a surveillance camera or a fixed camera.
[0054] Here, the case where the information processing device 100 is a device different from the storage device 201 has been described, but this is not limiting. For example, the information processing device 100 may have the function of the storage device 201 and may also operate as the storage device 201. In this case, the behavior recognition system 200 may not include, for example, the storage device 201.
[0055] Here, the case where the information processing device 100 is a device different from the user terminal 202 has been described, but this is not limiting. For example, the information processing device 100 may have the function of the user terminal 202 and may also operate as the user terminal 202. In this case, the behavior recognition system 200 may not include the user terminal 202, for example.
[0056] Here, the case where the information processing device 100 is a device different from the video imaging device 203 has been described, but this is not limiting. For example, the information processing device 100 may have the function of the video imaging device 203 and may also operate as the video imaging device 203. In this case, the behavior recognition system 200 may not include the video imaging device 203, for example.
[0057] (Example of Hardware Configuration of Information Processing Apparatus 100) Next, an example of the hardware configuration of the information processing apparatus 100 will be described with reference to FIG.
[0058] Fig. 3 is a block diagram showing an example of the hardware configuration of the information processing device 100. In Fig. 3, the information processing device 100 has a CPU (Central Processing Unit) 301, a memory 302, a network I / F (Interface) 303, a recording medium I / F 304, and a recording medium 305. Furthermore, each component is connected to each other by a bus 300.
[0059] Here, the CPU 301 is responsible for overall control of the information processing device 100. The memory 302 includes, for example, a read-only memory (ROM), a random access memory (RAM), and a flash ROM. Specifically, for example, the flash ROM and ROM store various programs, and the RAM is used as a work area for the CPU 301. The programs stored in the memory 302 are loaded into the CPU 301, causing the CPU 301 to execute the coded processes.
[0060] The network I / F 303 is connected to the network 210 via a communication line, and is connected to other computers via the network 210. The network I / F 303 manages the internal interface with the network 210 and controls the input and output of data from other computers. The network I / F 303 is, for example, a modem or a LAN adapter.
[0061] The recording medium I / F 304 controls reading and writing of data from and to the recording medium 305 under the control of the CPU 301. The recording medium I / F 304 is, for example, a disk drive, a solid state drive (SSD), or a universal serial bus (USB) port. The recording medium 305 is a non-volatile memory that stores data written under the control of the recording medium I / F 304. The recording medium 305 is, for example, a disk, a semiconductor memory, or a USB memory. The recording medium 305 may be detachable from the information processing device 100.
[0062] In addition to the components described above, the information processing device 100 may also include, for example, a keyboard, a mouse, a display, a printer, a scanner, a microphone, a speaker, etc. The information processing device 100 may also include a plurality of recording medium I / Fs 304 and recording media 305. The information processing device 100 may also not include the recording medium I / Fs 304 and recording media 305.
[0063] (Example of Hardware Configuration of Storage Apparatus 201) Next, an example of the hardware configuration of the storage apparatus 201 will be described with reference to FIG.
[0064] Fig. 4 is a block diagram showing an example of the hardware configuration of the storage device 201. In Fig. 4, the storage device 201 includes a central control unit 401, a memory 402, a client I / F 403, a device I / F 404, and a storage device 405. Each component is connected to the other via a bus 400.
[0065] Here, the central control unit 401 is responsible for overall control of the storage device 201. The memory 402 includes, for example, a read-only memory (ROM), a random access memory (RAM), and a flash ROM. Specifically, for example, the flash ROM or ROM stores various programs, and the RAM is used as a work area for the central control unit 401. The programs stored in the memory 402 are loaded into the central control unit 401, causing the central control unit 401 to execute the coded processes.
[0066] The client I / F 403 is connected to the network 210 via a communication line, and is connected to another computer via the network 210. The other computer is, for example, the information processing device 100. The client I / F 403 manages an internal interface with the network 210, and controls input and output of data from the other computer.
[0067] The device I / F 404 controls reading and writing of data from and to the storage device 405 under the control of the central control unit 401. The device I / F 404 is, for example, an SSD (Solid State Drive) port. The storage device 405 includes multiple devices 406 that store data written under the control of the device I / F 404. The devices 406 are, for example, SSDs. The storage device 405 may be detachable from the storage device 201.
[0068] (Example of Hardware Configuration of User Terminal 202) Next, an example of the hardware configuration of the user terminal 202 will be described with reference to FIG.
[0069] Fig. 5 is a block diagram showing an example of the hardware configuration of the user terminal 202. In Fig. 5, the user terminal 202 has a CPU 501, a memory 502, a network I / F 503, a recording medium I / F 504, and a recording medium 505. Furthermore, each component is connected to each other by a bus 500.
[0070] Here, the CPU 501 is responsible for overall control of the user terminal 202. The memory 502 includes, for example, a ROM, a RAM, and a flash ROM. Specifically, for example, the flash ROM and ROM store various programs, and the RAM is used as a work area for the CPU 501. The programs stored in the memory 502 are loaded into the CPU 501, causing the CPU 501 to execute the coded processes.
[0071] The network I / F 503 is connected to the network 210 via a communication line, and is connected to other computers via the network 210. The network I / F 503 manages the internal interface with the network 210 and controls the input and output of data from other computers. The network I / F 503 is, for example, a modem or a LAN adapter.
[0072] The recording medium I / F 504 controls reading and writing of data from and to the recording medium 505 under the control of the CPU 501. The recording medium I / F 504 is, for example, a disk drive, an SSD, a USB port, etc. The recording medium 505 is a non-volatile memory that stores data written under the control of the recording medium I / F 504. The recording medium 505 is, for example, a disk, a semiconductor memory, a USB memory, etc. The recording medium 505 may be detachable from the user terminal 202.
[0073] In addition to the components described above, the user terminal 202 may also have, for example, a keyboard, a mouse, a display, a printer, a scanner, a microphone, a speaker, etc. The user terminal 202 may also have a plurality of recording medium I / Fs 504 and recording media 505. The user terminal 202 may also not have a recording medium I / F 504 or a recording medium 505.
[0074] (Example of Hardware Configuration of Video Shooting Device 203) Next, an example of the hardware configuration of the video shooting device 203 will be described with reference to FIG.
[0075] Fig. 6 is a block diagram showing an example of the hardware configuration of the video imaging device 203. In Fig. 6, the video imaging device 203 has a CPU 601, a memory 602, a network I / F 603, a recording medium I / F 604, a recording medium 605, and an imaging device 606. Furthermore, each component is connected to each other via a bus 600.
[0076] Here, the CPU 601 is responsible for overall control of the video imaging device 203. The memory 602 includes, for example, a ROM, a RAM, and a flash ROM. Specifically, for example, the flash ROM and ROM store various programs, and the RAM is used as a work area for the CPU 601. The programs stored in the memory 602 are loaded into the CPU 601, causing the CPU 601 to execute coded processes.
[0077] The network I / F 603 is connected to the network 210 via a communication line, and is connected to other computers via the network 210. The network I / F 603 manages the internal interface with the network 210 and controls the input and output of data from other computers. The network I / F 603 is, for example, a modem or a LAN adapter.
[0078] The recording medium I / F 604 controls reading and writing of data from and to the recording medium 605 under the control of the CPU 601. The recording medium I / F 604 is, for example, a disk drive, an SSD, or a USB port. The recording medium 605 is a non-volatile memory that stores data written under the control of the recording medium I / F 604. The recording medium 605 is, for example, a disk, a semiconductor memory, or a USB memory. The recording medium 605 may be detachable from the video imaging device 203.
[0079] The image capturing device 606 has a plurality of image capturing elements, and generates an image by capturing an image of a predetermined capturing range using the plurality of image capturing elements. The image capturing device 606 may be, for example, movable.
[0080] In addition to the components described above, the video imaging device 203 may also include, for example, a keyboard, a mouse, a display, a printer, a scanner, a microphone, a speaker, etc. The video imaging device 203 may also include a plurality of recording medium I / Fs 604 and recording media 605. The video imaging device 203 may also not include a recording medium I / F 604 or a recording medium 605.
[0081] (Example of Functional Configuration of Information Processing Device 100) Next, an example of the functional configuration of the information processing device 100 will be described with reference to FIG.
[0082] 7 is a block diagram showing an example of the functional configuration of the information processing device 100. The information processing device 100 includes a storage unit 700, an acquisition unit 701, a calculation unit 702, a learning unit 703, an inference unit 704, and an output unit 705.
[0083] The storage unit 700 is realized by, for example, a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3. The following describes a case where the storage unit 700 is included in the information processing device 100, but this is not limiting. For example, the storage unit 700 may be included in a device different from the information processing device 100, and the stored contents of the storage unit 700 may be accessible from the information processing device 100.
[0084] The acquiring unit 701 to the output unit 705 function as an example of a control unit. Specifically, the acquiring unit 701 to the output unit 705 realize their functions by, for example, causing the CPU 301 to execute a program stored in a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3, or by using the network I / F 303. The processing results of each functional unit are stored in a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3.
[0085] The storage unit 700 stores various information that is referenced or updated in the processing of each functional unit. The storage unit 700 stores, for example, video. Specifically, the storage unit 700 stores a first video. The first video is, for example, a sample video used when training a behavior recognition model that recognizes the behavior of a person captured in the video. The behavior recognition model is, for example, a machine learning model. Specifically, the first video is a video that captures a first person. There may be, for example, multiple first videos. The first video is acquired by, for example, the acquisition unit 701.
[0086] The storage unit 700 specifically stores a second video. The second video is, for example, a video that serves as an input to a behavior recognition model and is a video that is a target for recognizing a person's behavior. The second video is, for example, a video that shows a second person. The second person may be, for example, the same person as the first person. The second person may be, for example, a person different from the first person. There may be, for example, a plurality of second videos. The second video is, for example, acquired by the acquisition unit 701.
[0087] The storage unit 700 stores, for example, a plurality of types of classifications for feature amounts related to a person's behavior, such as a first spatial perspective, a second temporal perspective, a third perspective related to the relationship between the person and other objects or places, or a fourth perspective related to the interaction between feature amounts.
[0088] The feature amount can be calculated based on, for example, a video image that includes a person, and may be a feature amount belonging to a first perspective, a feature amount belonging to a second perspective, a feature amount belonging to a third perspective, or a feature amount belonging to a fourth perspective.
[0089] The feature quantity belonging to the first perspective can be calculated, for example, based on the coordinates of each of one or more body parts of a person appearing in a video, which are calculated by analyzing the video. The body parts are, for example, the head, left shoulder, left elbow, left hand, right shoulder, right elbow, right hand, waist, left knee, left ankle, right knee, or right ankle. The feature quantity belonging to the first perspective is, specifically, the coordinates of each of one or more body parts of a person. The body part coordinates are, for example, skeletal coordinates. The feature quantity belonging to the first perspective can be calculated, specifically, based on skeletal information including the skeletal coordinates of each body part. The feature quantity belonging to the first perspective is, specifically, the orientation of each of one or more body parts of a person. The feature quantity belonging to the first perspective is, specifically, the angle between two body parts of a person.
[0090] The feature quantities belonging to the second perspective can be calculated, for example, based on the coordinates of each of one or more body parts of a person appearing in a video, which are calculated by analyzing the video. Specifically, the feature quantities belonging to the second perspective can be calculated based on skeletal information including the coordinates of each body part on the skeleton. Specifically, the feature quantities belonging to the second perspective are values obtained by analyzing the feature quantities belonging to the first perspective in the time direction. More specifically, the feature quantities belonging to the second perspective are statistical values of the feature quantities belonging to the first perspective in a specific time window. The statistical values are, for example, maximum values, minimum values, average values, modes, medians, etc.
[0091] The feature amount belonging to the third aspect can be calculated, for example, based on the coordinates of each of one or more body parts of a person appearing in a video, and other objects or places appearing in the video other than the person, which are detected by analyzing the video. The feature amount belonging to the third aspect is, specifically, a feature amount representing the relationship between a person and a place. The feature amount belonging to the third aspect is, specifically, a feature amount representing the relationship between a person and another object.
[0092] The feature quantity according to the fourth aspect can be calculated based on two or more feature quantities calculated by analyzing a video. Specifically, the feature quantity according to the fourth aspect is the difference between two feature quantities or the sum of two feature quantities. Specifically, the feature quantity according to the fourth aspect is the principal component of three or more feature quantities or the singular value of three or more feature quantities.
[0093] The multiple types include, for example, one or more types that classify feature quantities belonging to a first aspect. The multiple types include, for example, one or more types that classify feature quantities belonging to a second aspect. The multiple types include, for example, one or more types that classify feature quantities belonging to a third aspect. The multiple types include, for example, one or more types that classify feature quantities belonging to a fourth aspect. The multiple types are, for example, set by a user in advance.
[0094] The storage unit 700 stores, for example, a combination of types belonging to each of one or more perspectives that define a specific behavior among a plurality of types that classify feature amounts related to a person's behavior, as a specified combination, in association with the specific behavior. The storage unit 700 may also store, for example, a combination of types belonging to each of one or more perspectives that define each of a plurality of elements that form the specific behavior among the plurality of types, in association with the specific behavior, as a specified combination. The elements are, for example, actions that form the specific behavior. The specified combination is, for example, acquired by the acquisition unit 701. The specified combination may, for example, be set in advance by a user.
[0095] The storage unit 700 stores, for example, feature amounts related to the behavior of a person. Specifically, the storage unit 700 stores a plurality of feature amounts related to the behavior of a person captured in a video, which can be calculated based on the video. More specifically, the storage unit 700 stores a plurality of feature amounts related to the behavior of a first person captured in a first video, which can be calculated based on a first video. More specifically, the storage unit 700 stores a plurality of feature amounts related to the behavior of a second person captured in a second video, which can be calculated based on a second video. The feature amounts are calculated by, for example, the calculation unit 702. The feature amounts may be acquired by, for example, the acquisition unit 701.
[0096] Specifically, the storage unit 700 may store a specified combination of feature quantities among a plurality of feature quantities related to the behavior of a person captured in a video that can be calculated based on the video. More specifically, the storage unit 700 stores a specified combination of feature quantities among a plurality of feature quantities related to the behavior of a first person captured in a first video that can be calculated based on a first video. More specifically, the storage unit 700 stores a specified combination of feature quantities among a plurality of feature quantities related to the behavior of a second person captured in a second video that can be calculated based on a second video. The feature quantities are calculated by, for example, the calculation unit 702. The feature quantities may be acquired by, for example, the acquisition unit 701.
[0097] The storage unit 700 stores, for example, a first model that outputs the coordinates of one or more body parts of a person appearing in an input video. The first model is expressed, for example, by a decision tree, a neural network, or a mathematical formula. The first model is, for example, a DL (Deep Learning) model. Specifically, the storage unit 700 stores one or more parameters that form the first model. The first model is acquired, for example, by the acquisition unit 701. The first model may be generated, for example, by the learning unit 703.
[0098] The storage unit 700 stores, for example, first training data used when training the first model. The first training data is, for example, data in which a sample video is associated with the correct coordinates of one or more body parts of a person appearing in the video. The first training data is, for example, acquired by the acquisition unit 701.
[0099] The storage unit 700 stores, for example, a second model that detects an object or a place shown in an input video. The second model is expressed, for example, by a decision tree, a neural network, or a mathematical formula. The second model is, for example, a DL model. Specifically, the storage unit 700 stores one or more parameters that form the second model. The second model is acquired, for example, by the acquisition unit 701. The second model may be generated, for example, by the learning unit 703.
[0100] The storage unit 700 stores, for example, second training data used when training the second model. The second training data is, for example, data that associates sample videos with correct answers obtained by detecting objects or locations shown in the videos. The second training data is acquired by, for example, the acquisition unit 701.
[0101] The storage unit 700 stores, for example, a behavior recognition model that recognizes a specific behavior of a person captured in a video. The behavior recognition model has a function of recognizing a specific behavior of a person captured in a video, for example, in response to input of a specified combination of types of feature quantities. The behavior recognition model is expressed, for example, by a decision tree, a neural network, or a mathematical formula. The behavior recognition model is, for example, a DL model. Specifically, the storage unit 700 stores one or more parameters that form the behavior recognition model. The behavior recognition model is generated, for example, by the learning unit 703.
[0102] The acquisition unit 701 acquires various types of information used in processing by each functional unit. The acquisition unit 701 stores the acquired various types of information in the storage unit 700 or outputs it to each functional unit. The acquisition unit 701 may also output the various types of information stored in the storage unit 700 to each functional unit. The acquisition unit 701 acquires various types of information based on, for example, a user's operation input. The acquisition unit 701 may also receive various types of information from, for example, a device other than the information processing device 100.
[0103] The acquisition unit 701 acquires, for example, a first video. Specifically, the acquisition unit 701 acquires the first video by accepting input of the first video based on an operation input by a user. Specifically, the acquisition unit 701 acquires the first video by receiving the first video from another computer. The other computer is, for example, the user terminal 202. The other computer may also be, for example, the video imaging device 203.
[0104] Specifically, the acquisition unit 701 acquires the first video when the calculation unit 702 uses the first video. In this way, the acquisition unit 701 can make the first video available to the calculation unit 702. Therefore, the acquisition unit 701 can enable the calculation unit 702 to calculate a feature amount related to the behavior of the first person captured in the first video. Specifically, the acquisition unit 701 does not need to acquire the first video when the calculation unit 702 does not use the first video.
[0105] The acquisition unit 701 acquires, for example, the second video. Specifically, the acquisition unit 701 acquires the second video by accepting input of the second video based on an operation input by a user. Specifically, the acquisition unit 701 acquires the second video by receiving the second video from another computer. The other computer is, for example, the user terminal 202. The other computer may also be, for example, the video imaging device 203.
[0106] Specifically, the acquisition unit 701 acquires the second video when the calculation unit 702 uses the second video. In this way, the acquisition unit 701 can make the second video available to the calculation unit 702. Therefore, the acquisition unit 701 can enable the calculation unit 702 to calculate a feature amount related to the behavior of the second person captured in the second video. Specifically, the acquisition unit 701 does not need to acquire the second video when the calculation unit 702 does not use the second video.
[0107] The acquisition unit 701, for example, acquires, as a specified combination, a combination of types belonging to each of one or more perspectives that define a specific behavior from among a plurality of types that classify feature amounts related to a person's behavior, in association with the specific behavior. Specifically, the acquisition unit 701 acquires the specified combination by accepting input of the specified combination associated with the specific behavior based on an operation input by a user. Specifically, the acquisition unit 701 acquires the specified combination by receiving the specified combination associated with the specific behavior from another computer. This allows the acquisition unit 701 to narrow down the feature amounts used when training the behavior recognition model.
[0108] The acquisition unit 701 may, for example, acquire, as a specified combination, a combination of types belonging to each of one or more perspectives that define each of a plurality of elements forming a specific behavior, among the plurality of types, in association with the specific behavior. Specifically, the acquisition unit 701 acquires the specified combination by accepting input of the specified combination associated with the specific behavior based on an operation input by a user. Specifically, the acquisition unit 701 acquires the specified combination by receiving the specified combination associated with the specific behavior from another computer. This allows the acquisition unit 701 to narrow down the feature amounts used when training the behavior recognition model.
[0109] The acquisition unit 701 acquires, for example, a plurality of feature amounts related to the behavior of a first person captured in the first video, which can be calculated based on the first video. Specifically, the acquisition unit 701 acquires the plurality of feature amounts by receiving input of the plurality of feature amounts based on an operation input by a user. Specifically, the acquisition unit 701 acquires the plurality of feature amounts by receiving the plurality of feature amounts from another computer.
[0110] Specifically, the acquisition unit 701 acquires multiple feature amounts when the calculation unit 702 does not calculate multiple feature amounts. This allows the acquisition unit 701 to train an action recognition model. The acquisition unit 701 can dispense with the need for the calculation unit 702 to calculate multiple feature amounts, thereby reducing the amount of processing in the information processing device 100. Specifically, the acquisition unit 701 does not need to acquire multiple feature amounts when the calculation unit 702 calculates multiple feature amounts.
[0111] The acquisition unit 701 acquires, for example, a plurality of feature amounts related to the behavior of the second person captured in the second video, which can be calculated based on the second video. Specifically, the acquisition unit 701 acquires the plurality of feature amounts by receiving input of the plurality of feature amounts based on an operation input by a user. Specifically, the acquisition unit 701 acquires the plurality of feature amounts by receiving the plurality of feature amounts from another computer.
[0112] Specifically, the acquisition unit 701 acquires multiple feature amounts when the calculation unit 702 does not calculate multiple feature amounts. This allows the acquisition unit 701 to train an action recognition model. The acquisition unit 701 can dispense with the need for the calculation unit 702 to calculate multiple feature amounts, thereby reducing the amount of processing in the information processing device 100. Specifically, the acquisition unit 701 does not need to acquire multiple feature amounts when the calculation unit 702 calculates multiple feature amounts.
[0113] The acquisition unit 701 acquires, for example, a specified combination of feature quantities from among a plurality of feature quantities related to the behavior of the first person captured in the first video that can be calculated based on the first video. Specifically, the acquisition unit 701 acquires the specified combination of feature quantities by accepting input of the specified combination of feature quantities from among a plurality of feature quantities related to the behavior of the first person captured in the first video based on an operation input by a user.
[0114] Specifically, the acquiring unit 701 acquires a specified combination of feature quantities by receiving a specified combination of feature quantities from another computer among a plurality of feature quantities related to the behavior of the first person captured in the first video. Specifically, if the acquiring unit 701 has acquired a plurality of feature quantities related to the behavior of the first person captured in the first video that can be calculated based on the first video, the acquiring unit 701 acquires the specified combination of feature quantities by extracting the specified combination of feature quantities from the plurality of feature quantities.
[0115] Specifically, when the calculation unit 702 does not calculate the feature amount of the specified combination, the acquisition unit 701 acquires the feature amount of the specified combination. This allows the acquisition unit 701 to train an action recognition model. The acquisition unit 701 can dispense with the calculation unit 702 calculating the feature amount of the specified combination, thereby reducing the amount of processing in the information processing device 100. Specifically, when the calculation unit 702 calculates the feature amount of the specified combination, the acquisition unit 701 does not need to acquire the feature amount of the specified combination.
[0116] The acquiring unit 701 acquires, for example, a specified combination of feature quantities from among a plurality of feature quantities related to the behavior of the second person captured in the second video that can be calculated based on the second video. Specifically, the acquiring unit 701 acquires the specified combination of feature quantities by accepting input of the specified combination of feature quantities from among a plurality of feature quantities related to the behavior of the second person captured in the second video based on an operation input by the user.
[0117] Specifically, the acquiring unit 701 acquires a specified combination of feature quantities by receiving a specified combination of feature quantities from another computer among a plurality of feature quantities related to the behavior of the second person captured in the second video. Specifically, if the acquiring unit 701 has acquired a plurality of feature quantities related to the behavior of the second person captured in the second video that can be calculated based on the second video, the acquiring unit 701 acquires the specified combination of feature quantities by extracting the specified combination of feature quantities from the plurality of feature quantities.
[0118] Specifically, when the calculation unit 702 does not calculate the feature amounts of the specified combination, the acquisition unit 701 acquires the feature amounts of the specified combination. This allows the acquisition unit 701 to acquire input for the behavior recognition model. The acquisition unit 701 can dispense with the calculation unit 702 calculating the feature amounts of the specified combination, thereby reducing the amount of processing in the information processing device 100. Specifically, when the calculation unit 702 calculates the feature amounts of the specified combination, the acquisition unit 701 does not need to acquire the feature amounts of the specified combination.
[0119] The acquisition unit 701 acquires a first model that outputs the coordinates of one or more body parts of a person appearing in an input video. Specifically, the acquisition unit 701 acquires the first model by receiving an input of the first model based on an operation input by a user. Specifically, the acquisition unit 701 acquires the first model by receiving the first model from another computer.
[0120] Specifically, the acquisition unit 701 acquires the first model when the learning unit 703 does not learn the first model. This enables the acquisition unit 701 to analyze the video and acquire the coordinates of each of one or more body parts of a person appearing in the video. Specifically, the acquisition unit 701 does not need to acquire the first model when the learning unit 703 learns the first model.
[0121] The acquiring unit 701 acquires, for example, first training data used when training the first model. Specifically, the acquiring unit 701 acquires the first training data by accepting input of the first training data based on an operation input by a user. Specifically, the acquiring unit 701 acquires the first training data by receiving the first training data from another computer.
[0122] Specifically, when the learning unit 703 learns the first model, the acquiring unit 701 acquires first training data. This enables the acquiring unit 701 to learn the first model. Specifically, when the acquiring unit 701 acquires the first model, the acquiring unit 701 does not need to acquire the first training data.
[0123] The acquisition unit 701 acquires, for example, a second model for detecting an object or a place shown in an input video. Specifically, the acquisition unit 701 acquires the second model by accepting input of the second model based on an operation input by a user. Specifically, the acquisition unit 701 acquires the second model by receiving the second model from another computer.
[0124] Specifically, the acquisition unit 701 acquires the second model when the learning unit 703 does not learn the second model. This enables the acquisition unit 701 to analyze the video and detect an object or location shown in the video. Specifically, the acquisition unit 701 does not need to acquire the second model when the learning unit 703 learns the second model.
[0125] The acquiring unit 701 acquires, for example, second training data used when training the second model. Specifically, the acquiring unit 701 acquires the second training data by accepting input of the second training data based on an operation input by a user. Specifically, the acquiring unit 701 acquires the second training data by receiving the second training data from another computer.
[0126] Specifically, when the learning unit 703 learns the second model, the acquiring unit 701 acquires second training data. This enables the acquiring unit 701 to learn the second model. Specifically, when the acquiring unit 701 acquires the second model, the acquiring unit 701 does not need to acquire second training data.
[0127] The acquisition unit 701 may receive a start trigger that starts processing of one of the functional units. The start trigger may be, for example, a predetermined operation input by a user. The start trigger may be, for example, reception of predetermined information from another computer. The start trigger may be, for example, output of predetermined information by one of the functional units.
[0128] Specifically, the acquisition unit 701 may receive a start trigger for starting the processing of the calculation unit 702. Specifically, the acquisition unit 701 may receive the fact that the acquisition unit 701 has acquired a first video as a start trigger for starting the processing of the calculation unit 702. Specifically, the acquisition unit 701 may receive the fact that the acquisition unit 701 has acquired a second video as a start trigger for starting the processing of the calculation unit 702.
[0129] Specifically, the acquisition unit 701 may receive a start trigger for starting the processing of the learning unit 703. Specifically, the acquisition unit 701 may receive, as a start trigger for starting the processing of the learning unit 703, the fact that the acquisition unit 701 has acquired a specified combination of feature quantities corresponding to the first video. Specifically, the acquisition unit 701 may receive, as a start trigger for starting the processing of the learning unit 703, the fact that the calculation unit 702 has calculated a specified combination of feature quantities corresponding to the first video.
[0130] Specifically, the acquisition unit 701 may receive a start trigger for starting the processing of the inference unit 704. Specifically, the acquisition unit 701 may receive, as a start trigger for starting the processing of the inference unit 704, the fact that the acquisition unit 701 has acquired a specified combination of feature quantities corresponding to the second video. Specifically, the acquisition unit 701 may receive, as a start trigger for starting the processing of the inference unit 704, the fact that the calculation unit 702 has calculated a specified combination of feature quantities corresponding to the second video.
[0131] The calculation unit 702 calculates feature amounts related to the behavior of the person. For example, the calculation unit 702 calculates feature amounts of a specified combination type from among a plurality of feature amounts related to the behavior of the first person captured in the first video that can be calculated based on the first video.
[0132] Specifically, the calculation unit 702 calculates the coordinates of each of one or more body parts of the first person shown in the first video by analyzing the first video. More specifically, the calculation unit 702 inputs the first video into the first model, and calculates the coordinates of each of one or more body parts of the first person shown in the first video. This allows the calculation unit 702 to obtain guidelines for calculating feature amounts.
[0133] Specifically, the calculation unit 702 analyzes the first video to detect other objects or places other than the first person that appear in the first video. More specifically, the calculation unit 702 inputs the first video to the second model to detect other objects or places other than the first person that appear in the first video. This allows the calculation unit 702 to obtain guidelines for calculating feature amounts.
[0134] Specifically, if the specified combination includes a type of feature value belonging to the first aspect, the calculation unit 702 calculates one or more feature values belonging to the first aspect, which are types included in the specified combination, based on the calculated coordinates. In this way, the calculation unit 702 can obtain feature values to be used when training the behavior recognition model.
[0135] Specifically, if the specified combination includes a type of feature value belonging to the second aspect, the calculation unit 702 calculates one or more feature values belonging to the second aspect, which are types included in the specified combination, based on the calculated coordinates. In this way, the calculation unit 702 can obtain feature values to be used when training the behavior recognition model.
[0136] Specifically, if the specified combination includes a type of feature amount belonging to a third aspect, the calculation unit 702 calculates one or more feature amounts belonging to the third aspect, which are types included in the specified combination, based on the calculated coordinates and the other detected object or location. In this way, the calculation unit 702 can obtain feature amounts to be used when training the behavior recognition model.
[0137] Specifically, if the specified combination includes a type of feature value belonging to the fourth aspect, the calculation unit 702 calculates one or more feature values belonging to the fourth aspect, which are types included in the specified combination, based on the calculated feature values. In this way, the calculation unit 702 can obtain feature values to be used when training the behavior recognition model.
[0138] The calculation unit 702 may, for example, calculate a plurality of feature amounts related to the behavior of the first person appearing in the first video by analyzing the first video.
[0139] Specifically, the calculation unit 702 calculates the coordinates of each of one or more body parts of the first person shown in the first video by analyzing the first video. More specifically, the calculation unit 702 inputs the first video into the first model, and calculates the coordinates of each of one or more body parts of the first person shown in the first video. This allows the calculation unit 702 to obtain guidelines for calculating feature amounts.
[0140] Specifically, the calculation unit 702 analyzes the first video to detect other objects or places other than the first person that appear in the first video. More specifically, the calculation unit 702 inputs the first video to the second model to detect other objects or places other than the first person that appear in the first video. This allows the calculation unit 702 to obtain guidelines for calculating feature amounts.
[0141] Specifically, the calculation unit 702 calculates one or more feature amounts belonging to the first aspect based on the calculated coordinates, thereby obtaining feature amount candidates to be used when training the behavior recognition model.
[0142] Specifically, the calculation unit 702 calculates one or more feature amounts belonging to the second aspect based on the calculated coordinates, thereby obtaining feature amount candidates to be used when training the behavior recognition model.
[0143] Specifically, the calculation unit 702 calculates one or more feature amounts belonging to the third aspect based on the calculated coordinates and the detected other object or location, thereby obtaining feature amount candidates to be used when training the behavior recognition model.
[0144] Specifically, the calculation unit 702 calculates one or more feature amounts belonging to the fourth aspect based on the calculated feature amounts, thereby obtaining feature amount candidates to be used when training the behavior recognition model.
[0145] Then, the calculation unit 702 extracts, for example, feature quantities of the specified combination type from among a plurality of feature quantities related to the behavior of the first person captured in the first video, thereby obtaining feature quantities to be used when training the behavior recognition model.
[0146] The calculation unit 702 calculates, for example, a specified combination of feature quantities from among a plurality of feature quantities related to the behavior of the second person captured in the second video, which can be calculated based on the second video.
[0147] Specifically, the calculation unit 702 calculates the coordinates of each of one or more body parts of the second person shown in the second video by analyzing the second video. More specifically, the calculation unit 702 inputs the second video into the second model, and calculates the coordinates of each of one or more body parts of the second person shown in the second video. This allows the calculation unit 702 to obtain guidelines for calculating feature amounts.
[0148] Specifically, the calculation unit 702 analyzes the second video to detect other objects or places other than the second person that appear in the second video. More specifically, the calculation unit 702 inputs the second video to the second model to detect other objects or places other than the second person that appear in the second video. This allows the calculation unit 702 to obtain guidelines for calculating feature amounts.
[0149] Specifically, if the specified combination includes a type of feature amount belonging to the second viewpoint, the calculation unit 702 calculates one or more feature amounts belonging to the second viewpoint, which are types included in the specified combination, based on the calculated coordinates. In this way, the calculation unit 702 can obtain feature amounts to be input to the behavior recognition model.
[0150] Specifically, if the specified combination includes a type of feature amount belonging to the second viewpoint, the calculation unit 702 calculates one or more feature amounts belonging to the second viewpoint, which are types included in the specified combination, based on the calculated coordinates. In this way, the calculation unit 702 can obtain feature amounts to be input to the behavior recognition model.
[0151] Specifically, if the specified combination includes a type of feature amount belonging to a third aspect, the calculation unit 702 calculates one or more feature amounts belonging to the third aspect, which are types included in the specified combination, based on the calculated coordinates and the other detected object or location. In this way, the calculation unit 702 can obtain feature amounts to be input to the behavior recognition model.
[0152] Specifically, if the specified combination includes a type of feature value belonging to the fourth aspect, the calculation unit 702 calculates one or more feature values belonging to the fourth aspect, which are types included in the specified combination, based on the calculated feature values. In this way, the calculation unit 702 can obtain feature values to be input to the behavior recognition model.
[0153] The calculation unit 702 may, for example, calculate a plurality of feature amounts related to the behavior of the second person appearing in the second video by analyzing the second video.
[0154] Specifically, the calculation unit 702 calculates the coordinates of each of one or more body parts of the second person shown in the second video by analyzing the second video. More specifically, the calculation unit 702 inputs the second video into the second model, and calculates the coordinates of each of one or more body parts of the second person shown in the second video. This allows the calculation unit 702 to obtain guidelines for calculating feature amounts.
[0155] Specifically, the calculation unit 702 analyzes the second video to detect other objects or places other than the second person that appear in the second video. More specifically, the calculation unit 702 inputs the second video to the second model to detect other objects or places other than the second person that appear in the second video. This allows the calculation unit 702 to obtain guidelines for calculating feature amounts.
[0156] Specifically, the calculation unit 702 calculates one or more feature amounts belonging to the second aspect based on the calculated coordinates, thereby obtaining feature amount candidates that are input to the behavior recognition model.
[0157] Specifically, the calculation unit 702 calculates one or more feature amounts belonging to the second aspect based on the calculated coordinates, thereby obtaining feature amount candidates that are input to the behavior recognition model.
[0158] Specifically, the calculation unit 702 calculates one or more feature amounts belonging to the third aspect based on the calculated coordinates and the detected other object or place, thereby obtaining feature amount candidates that will be input to the behavior recognition model.
[0159] Specifically, the calculation unit 702 calculates one or more feature amounts belonging to the fourth aspect based on the calculated feature amounts, thereby enabling the calculation unit 702 to obtain feature amount candidates that are to be input to the behavior recognition model.
[0160] Then, the calculation unit 702 extracts, for example, feature quantities of the specified combination type from among a plurality of feature quantities related to the behavior of the second person captured in the second video, thereby obtaining feature quantities to be input to the behavior recognition model.
[0161] The learning unit 703 learns an action recognition model based on the feature amounts acquired by the acquisition unit 701 or calculated by the calculation unit 702. The learning unit 703 generates training data in which, for example, feature amounts of a specified combination type corresponding to the first video are associated with a correct answer as to whether the action of the first person shown in the first video is a specific action. The learning unit 703 learns the action recognition model based on the generated training data, for example. Specifically, the learning unit 703 learns the action recognition model based on the generated training data by error backpropagation. Specifically, the learning unit 703 may learn the action recognition model based on the generated training data using a random forest.
[0162] This allows the learning unit 703 to learn an behavior recognition model based on a portion of feature amounts narrowed down from a plurality of feature amounts. This allows the learning unit 703 to reduce the processing load and processing time required when learning an behavior recognition model. When learning an behavior recognition model, the learning unit 703 can refer to a portion of feature amounts that are suitable for the purpose of recognizing a specific behavior, making it easier to learn an behavior recognition model that can accurately recognize a specific behavior.
[0163] The learning unit 703 learns a first model based on first training data. Specifically, the learning unit 703 learns the first model by error backpropagation. Specifically, the learning unit 703 may learn the first model based on the first training data using a random forest. This enables the learning unit 703 to analyze a video and acquire the coordinates of each of one or more body parts of a person appearing in the video.
[0164] The learning unit 703 learns a second model based on the second training data. Specifically, the learning unit 703 learns the second model by error backpropagation. Specifically, the learning unit 703 may learn the second model based on the second training data using a random forest. This enables the learning unit 703 to analyze a video and detect an object or location shown in the video.
[0165] The inference unit 704 recognizes the behavior of the second person captured in the second video. The inference unit 704, for example, determines whether the behavior of the second person is a specific behavior. Specifically, the inference unit 704 inputs a specified combination of feature quantities from among a plurality of feature quantities related to the behavior of the second person captured in the second video that can be calculated based on the second video into the learned behavior recognition model. Specifically, the inference unit 704 determines whether the behavior of the second person is a specific behavior based on the output of the behavior recognition model. This allows the inference unit 704 to accurately recognize the behavior of the second person captured in the second video.
[0166] The output unit 705 outputs the processing results of at least one of the functional units. The output format may be, for example, display on a display, printout to a printer, transmission to an external device via the network I / F 303, or storage in a storage area such as the memory 302 or the recording medium 305. This allows the output unit 705 to notify the user of the processing results of at least one of the functional units, thereby improving the convenience of the information processing device 100.
[0167] The output unit 705 outputs, for example, the behavior recognition model learned by the learning unit 703. Specifically, the output unit 705 outputs the behavior recognition model so that it can be referenced by a user. Specifically, the output unit 705 transmits the behavior recognition model to another computer. In this way, the output unit 705 can make the behavior recognition model available externally.
[0168] The output unit 705 outputs, for example, the result of the inference unit 704 recognizing the behavior of the second person captured in the second video. Specifically, the output unit 705 outputs the result of the recognition of the behavior of the second person captured in the second video so that it can be referenced by a user. Specifically, the output unit 705 transmits the result of the recognition of the behavior of the second person captured in the second video to another computer. In this way, the output unit 705 can make the result of the recognition of the behavior of the second person captured in the second video available externally.
[0169] Here, the case where the information processing device 100 includes the acquisition unit 701, the calculation unit 702, the learning unit 703, the inference unit 704, and the output unit 705 has been described, but this is not limiting. For example, the information processing device 100 may not include any of the functional units. Specifically, the information processing device 100 may not include the inference unit 704.
[0170] (Example of operation of information processing device 100) Next, an example of operation of the information processing device 100 will be described using Figs. 8 to 20. For example, first, an example of feature amounts belonging to the first viewpoint will be described using Figs. 8 to 11. The first viewpoint is a spatial viewpoint. In the following description, feature amounts belonging to the first viewpoint may be referred to as "spatial feature amounts."
[0171] 8 to 11 are explanatory diagrams showing examples of feature quantities according to the first aspect. As shown in table 800 in FIG. 8, the spatial feature quantity is, for example, the coordinate position of one of a plurality of body parts of a person. The coordinate position is, for example, the coordinate position of one of a plurality of body parts of a person in three-dimensional coordinates based on a specific part of the person. The coordinate position may also be, for example, the coordinate position of one of a plurality of body parts of a person in two-dimensional coordinates based on a specific position on the video.
[0172] The coordinate positions of body parts include, for example, the coordinate position of the head, the coordinate position of the center of the chest, the coordinate position of the left shoulder, the coordinate position of the left elbow, the coordinate position of the left hand, the coordinate position of the right shoulder, the coordinate position of the right elbow, and the coordinate position of the right hand. The coordinate positions of body parts include, for example, the coordinate position of the center of the waist, the coordinate position of the left hip, the coordinate position of the left knee, the coordinate position of the left ankle, the coordinate position of the right hip, the coordinate position of the right knee, and the coordinate position of the right ankle. The coordinate positions of body parts are calculated, for example, by skeletal estimation using a DL model. Next, we will move on to the explanation of FIG. 9.
[0173] As shown in Table 900 in FIG. 9 , the spatial feature is, for example, the bending angle of one of a plurality of body parts possessed by a person. The bending angle of a body part is, for example, the angle formed by the direction from the one body part as the center to each of two other body parts connected to the one body part. The bending angle of a body part is, for example, the bending angle of the left elbow, the bending angle of the left armpit, the bending angle of the left hip joint, the bending angle of the left knee, the bending angle of the right elbow, the bending angle of the right armpit, the bending angle of the right hip joint, the bending angle of the right knee, the bending angle of the thigh, the bending angle of the waist, or the bending angle of the neck. The bending angle of a body part is calculated, for example, based on the coordinate positions of each of the three connected body parts. Next, we move on to the description of FIG. 10 .
[0174] As shown in Table 1000 in FIG. 10 , the spatial feature is, for example, the direction of one of a plurality of body parts possessed by a person. The direction of one of the body parts is, for example, the direction from the coordinate position of another body part connected to the one of the body parts to the coordinate position of the one of the body parts. The direction of the body part is, for example, the direction of the face, the direction of the left arm, the direction of the left leg, the direction of the right arm, the direction of the right leg, or the direction of the waist. The direction of the body part is calculated, for example, based on the coordinate positions of each of two body parts. Next, we move on to the explanation of FIG. 11 .
[0175] 11 , as shown in table 1100, when the coordinate position of a body part based on a video is involved in behavior recognition, the spatial feature is, for example, the coordinate position of one of a plurality of body parts of a person in two-dimensional coordinates based on a specific position on the video. The coordinate position is calculated by skeletal estimation using a DL model.
[0176] For example, when the coordinate position of the video-based body part is not related to behavior recognition, the spatial feature is the coordinate position of one of multiple body parts of a person in three-dimensional coordinates based on a specific body part of the person. In other words, when the coordinate position of the person-based body part is related to behavior recognition, the spatial feature is the coordinate position of one of multiple body parts of a person in three-dimensional coordinates based on a specific body part of the person. The coordinate position is calculated by skeletal estimation using a DL model.
[0177] For example, when the left-right distinction of a body part is not relevant to behavior recognition, the spatial feature amount is the coordinate position of a body part, which is not distinguished between left and right, among multiple body parts of a person in three-dimensional coordinates based on a specific body part of the person. The coordinate position of a body part, which is not distinguished between left and right, is, for example, a coordinate position obtained by performing a predetermined calculation process on the coordinate positions of corresponding body parts on the left and right sides. Specifically, the coordinate position of a body part, which is not distinguished between left and right, is, for example, the coordinate position of the left hand or the coordinate position of the right hand, whichever is farther from the coordinate position of the waist. The coordinate position is calculated by skeletal estimation using a DL model.
[0178] For example, when the distinction between left and right body parts is involved in behavior recognition, the spatial feature is the coordinate position of the body part distinguished between left and right among a plurality of body parts of a person in three-dimensional coordinates based on a specific body part of an object. The coordinate position is calculated by skeletal estimation using a DL model.
[0179] Next, an example of a feature value belonging to the second viewpoint will be described with reference to FIG. 12 . The second viewpoint is a temporal viewpoint. In the following description, a feature value belonging to the second viewpoint may be referred to as a “temporal feature value.”
[0180] FIG. 12 is an explanatory diagram showing an example of feature quantities according to the second aspect. As shown in table 1200 in FIG. 12 , the temporal feature quantities are, for example, feature quantities related to a stationary posture. Specifically, the temporal feature quantities are spatial feature quantities in a section in which a person is in a stationary posture. Specifically, the temporal feature quantities may be a moving average of spatial feature quantities in a time window of a predetermined time width.
[0181] The temporal feature amount may be, for example, the average speed of a person or the average speed of one of a plurality of body parts of a person in a time window of a predetermined time width, etc. The temporal feature amount may be, for example, the maximum value, minimum value, or peak-to-peak value of the spatial feature amount in a time window of a predetermined time width.
[0182] The temporal feature amount may be, for example, the variance of the spatial feature amount in a time window of a predetermined time width. The temporal feature amount may be, for example, the Fourier series of the spatial feature amount in a time window of a predetermined time width. The temporal feature amount may be, for example, the peak value of the autocorrelation coefficient of the spatial feature amount in a time window of a predetermined time width.
[0183] Next, an example of a feature amount belonging to the third aspect will be described with reference to Fig. 13. In the following description, the feature amount belonging to the third aspect may be referred to as a "relationship feature amount."
[0184] FIG. 13 is an explanatory diagram showing an example of features belonging to the third aspect. As shown in table 1300 in FIG. 13 , the relationship feature is, for example, a feature relating to the relationship between a person and a place. Specifically, the relationship feature is calculated based on the coordinate positions of the person's body parts and the image feature of the person's feet. The image feature is, for example, a feature vector relating to the entire video or a partial region of the video. Specifically, the image feature is a feature vector relating to a partial region of the video around the person's feet. Specifically, the image feature represents a place.
[0185] Specifically, the relationship feature is calculated based on whether the coordinate position of a body part of a person is included in a specific area on the video that is preset as a region of interest. More specifically, the relationship feature has a value of 1 if the coordinate position of a body part of a person is included in the specific area on the video that is preset as a region of interest, and has a value of 0 if the coordinate position of the body part is not included in the specific area on the video.
[0186] Furthermore, the relationship feature is, for example, a feature regarding a relationship between a person and another object. The other object is, for example, a non-living object. Specifically, the other object is an object held by the person. The other object includes, for example, a living object. The other object includes, for example, another person.
[0187] Specifically, the relationship feature is calculated based on the coordinate positions of the body parts of the person and the image features of other objects in the image of the person's hands. The image feature is, for example, a feature vector relating to the entire video or a partial region of the video. Specifically, the image feature is a feature vector relating to a partial region around the person's wrist in the video. Specifically, the image feature represents the object held by the person.
[0188] Specifically, the relationship feature is calculated based on the coordinate positions of the body parts of a person and the image features of the image of the person's upper body or lower body. The image feature is, for example, a feature vector relating to the entire video or a partial region of the video. Specifically, the image feature is a feature vector relating to a partial region around the person's upper body or lower body in the video. Specifically, the image feature represents an object worn by the person. The object is, for example, clothing.
[0189] Specifically, the relationship feature is calculated based on the coordinate positions of body parts of a person and whether or not another object is present in the line of sight of the person. More specifically, the relationship feature has a value of 1 if the coordinate position of the other object overlaps with a direction vector representing the line of sight calculated as a spatial feature. More specifically, the relationship feature has a value of 0 if the coordinate position of the other object does not overlap with a direction vector representing the line of sight calculated as a spatial feature.
[0190] The relationship feature is calculated based on the proximity of the coordinate position of a body part of a person to the coordinate position of a body part of another person, and more specifically, the relationship feature is the distance between the coordinate position of a body part of a person and the coordinate position of the other person or the coordinate position of a body part of the other person.
[0191] Next, an example of a feature amount belonging to the fourth aspect will be described with reference to Fig. 14. In the following description, a feature amount belonging to the fourth aspect may be referred to as an "interaction feature amount."
[0192] 14 is an explanatory diagram showing an example of feature quantities belonging to the fourth perspective. As shown in table 1400 in FIG. 14 , an interaction feature quantity is, for example, the difference between any two feature quantities among one or more feature quantities belonging to the first perspective, one or more feature quantities belonging to the second perspective, and one or more feature quantities belonging to the third perspective. Furthermore, an interaction feature quantity is, for example, the sum of any two feature quantities among one or more feature quantities belonging to the first perspective, one or more feature quantities belonging to the second perspective, and one or more feature quantities belonging to the third perspective.
[0193] The interaction feature is, for example, a principal component of any three or more of the one or more feature quantities belonging to the first perspective, the one or more feature quantities belonging to the second perspective, and the one or more feature quantities belonging to the third perspective. The interaction feature is, for example, a singular value of any three or more of the one or more feature quantities belonging to the first perspective, the one or more feature quantities belonging to the second perspective, and the one or more feature quantities belonging to the third perspective.
[0194] Next, an example in which the information processing device 100 accepts selection of a type of feature amount will be described with reference to FIGS. 15 and 16. FIG.
[0195] 15 and 16 are explanatory diagrams showing an example of accepting the selection of a feature type. In FIG. 15 , the user terminal 202 displays, for example, an input screen 1500. The input screen 1500 accepts a check mark for determining which feature to calculate from temporal feature values such as "static posture," "magnitude of movement," and "speed" based on, for example, a spatial feature value such as "body part coordinate position." The user terminal 202 accepts the checked type of temporal feature value as the selected type of feature. In the example of FIG. 15 , the user terminal 202 specifically accepts the type of temporal feature value related to the static posture of the body part "head" as the selected type of feature.
[0196] The input screen 1500 accepts the designation of a group for which an interaction feature is to be calculated, for example, from among spatial features such as "body part coordinate positions." The user terminal 202 accepts the type of interaction feature related to the designated group as the type of selected feature. In the example of FIG. 15 , the user terminal 202 specifically accepts the type of interaction feature representing the difference between the spatial features in group 1, "left elbow bending angle" and "left armpit bending angle," as the type of selected feature.
[0197] When the user terminal 202 accepts the selection of feature types via the input screen 1500, it transmits the selected combination of feature types to the information processing device 100. The information processing device 100 receives the selected combination of feature types from the user terminal 202. Here, the case where the user terminal 202 displays the input screen 1500 has been described, but this is not limiting. For example, the information processing device 100 may display the input screen 1500 and directly accept the selection of feature types. Next, we move on to the description of FIG. 16.
[0198] In FIG. 16 , the user terminal 202 displays, for example, an input screen 1600. The input screen 1600 accepts a check to determine which of the temporal features, such as "still posture," "magnitude of movement," and "speed," should be calculated based on, for example, the relationship feature, such as "foot image feature." The user terminal 202 accepts the type of temporal feature for which the check was accepted as the type of selected feature. In the example of FIG. 16 , the user terminal 202 specifically accepts the type of temporal feature related to still posture for the relationship feature, "foot image feature," as the type of selected feature.
[0199] The input screen 1600 accepts the specification of a group for which an interaction feature is to be calculated, for example, from among the relationship feature "foot image feature." The user terminal 202 accepts the type of interaction feature related to the specified group as the type of selected feature. In the example of FIG. 16 , the user terminal 202 specifically accepts the type of interaction feature representing the principal component of the relationship feature in group 2, which includes the relationship feature of "object held in hand," as the type of selected feature.
[0200] When the user terminal 202 receives the selection of the feature types via the input screen 1600, it transmits the selected combination of feature types to the information processing device 100. The information processing device 100 receives the selected combination of feature types from the user terminal 202. Here, the case where the user terminal 202 displays the input screen 1600 has been described, but this is not limiting. For example, the information processing device 100 may display the input screen 1600 and directly receive the selection of the feature types.
[0201] 17 and 18 are explanatory diagrams showing an example of the relationship between a specific behavior and a selected feature. In FIG. 17, the user terminal 202 accepts the selection of a combination of feature types corresponding to the specific behavior "walking while using a smartphone" via an input screen 1500 or an input screen 1600. "Walking while using a smartphone" is formed, for example, by the element "walking," the element "putting hands out in front and looking down," and the element "holding a smartphone in hand."
[0202] Specifically, the user terminal 202 accepts the selection of the type of feature representing each element that forms "walking while using a smartphone." Specifically, the element "walking" is represented by feature values such as the coordinate positions of both ankles, the coordinate positions of both knees, the repeated movements of both ankles, the repeated movements of both knees, and the difference in coordinate positions in the front-to-back direction of the person.
[0203] Specifically, the element "holding hands out in front and looking down" is represented by features such as the coordinate positions of both wrists, the line of sight, the still motion of both wrists, and the positional relationship between the wrists and the line of sight. Specifically, the element "holding a smartphone in one hand" is represented by features such as the coordinate position of one hand, the still motion of one hand, and the object held in the hand. Next, we move on to the description of FIG. 18.
[0204] 18, the user terminal 202 accepts the selection of a combination of feature types corresponding to a specific behavior "taking an item from a shelf" via an input screen 1500 or an input screen 1600. "Taking an item from a shelf" is formed, for example, by an element "standing in front of a shelf," an element "stretching one's hand toward the shelf and looking," and an element "holding an item in one's empty hand."
[0205] Specifically, the user terminal 202 accepts the selection of the type of feature representing each element forming "take a product from a shelf." Specifically, the element "be in front of a shelf" is represented by features such as the person's motion at rest, the type of shelf present around the person, and whether the person's coordinate position is in front of a shelf.
[0206] Specifically, the element "stretching hands toward the shelf and directing gaze" is represented by features such as the coordinate positions of both wrists, gaze, trajectories of the wrist movements, and the positional relationship between the wrists and gaze, etc. Specifically, the element "holding a product in an empty hand" is represented by features such as the coordinate position of one hand, trajectory of the hand movement, and the object held in the hand.
[0207] Next, an example in which the information processing device 100 learns an action recognition model 1940 that recognizes a specific action will be described with reference to Fig. 19 . The specific action is, for example, "walking while using a smartphone" or "taking a product from a shelf." In the example of Fig. 19 , a case in which the specific action is specifically "walking while using a smartphone" will be described.
[0208] Fig. 19 is an explanatory diagram showing an example of learning a behavior recognition model 1940. In Fig. 19, the information processing device 100 has a learned DL model. The DL model has a function of calculating, for example, the coordinate positions of multiple body parts of a person appearing in an input video. The DL model has a function of detecting an object appearing in an input video.
[0209] (19-1) The information processing device 100 acquires a training video 1900. The information processing device 100 performs person recognition and skeletal structure estimation by inputting the training video 1900 into a trained DL model. Person recognition is, for example, a process of recognizing a person appearing in the training video 1900. Skeletal structure estimation is, for example, a process of calculating the coordinate positions of each of a plurality of body parts of a person appearing in the training video 1900.
[0210] The information processing device 100 recognizes a person appearing in each frame of the training video 1900 based on the results of person recognition and skeletal structure estimation, and acquires the coordinate positions of each of a plurality of body parts possessed by the person in that frame. The information processing device 100 performs video analysis based on the coordinate positions of any of the body parts, and generates a feature vector of the image. The information processing device 100 stores time-series numerical data 1910 in which the coordinate positions of the body parts and the feature vectors of the image are arranged in chronological order.
[0211] (19-2) The information processing device 100 calculates time-series numeric data 1921 of feature quantities of the types of combinations 1920 for which a selection has been accepted in association with the specific behavior “walking while using a smartphone,” based on the stored time-series numeric data 1910. The information processing device 100 generates training data in which correct answer labels 1930 are associated with the calculated time-series numeric data 1921 according to a machine learning algorithm. The information processing device 100 trains a behavior recognition model 1940 based on the training data.
[0212] This enables the information processing device 100 to reduce the processing burden and processing time required when learning a behavior recognition model 1940 that can accurately recognize specific behavior, and makes the behavior recognition model 1940 available for use.
[0213] Next, an example in which the information processing device 100 uses the learned behavior recognition model 1940 to recognize the behavior of a person shown in the inference video 2000 will be described with reference to FIG. 20 .
[0214] Fig. 20 is an explanatory diagram showing an example of using a behavior recognition model 1940. In Fig. 20, the information processing device 100 has a trained DL model. The DL model has, for example, a function of calculating the coordinate positions of multiple body parts of a person appearing in an input video. The DL model has, for example, a function of detecting an object appearing in an input video.
[0215] (20-1) The information processing device 100 acquires an inference video 2000. The information processing device 100 performs person recognition and skeletal structure estimation by inputting the inference video 2000 into a trained DL model. Person recognition is, for example, a process of recognizing a person depicted in the inference video 2000. Skeletal structure estimation is, for example, a process of calculating the coordinate positions of each of a plurality of body parts possessed by a person depicted in the inference video 2000.
[0216] The information processing device 100 recognizes the person appearing in each frame of the inference video 2000 based on the results of person recognition and skeletal structure estimation, and acquires the coordinate positions of each of the person's multiple body parts in that frame. The information processing device 100 performs video analysis based on the coordinate positions of any of the body parts, and generates a feature vector of the image. The information processing device 100 stores time-series numerical data 2010 in which the coordinate positions of the body parts and the feature vectors of the image are arranged in chronological order.
[0217] (20-2) The information processing device 100 calculates time-series numeric data 2020 of feature quantities of the type of combination 1920 for which a selection has been accepted in association with the specific behavior of "walking while using a smartphone," based on the stored time-series numeric data 2010. The information processing device 100 recognizes the behavior of a person shown in the inference video 2000 by inputting the calculated time-series numeric data 2020 into the behavior recognition model 1940. The information processing device 100 determines, for example, whether the behavior of the person shown in the inference video 2000 is a specific behavior. The information processing device 100 outputs a result 2030 of the recognition of the behavior of the person shown in the inference video 2000. This allows the information processing device 100 to accurately recognize the specific behavior.
[0218] 21, an example of a learning process performed by the information processing device 100 will be described. The learning process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in FIG.
[0219] 21 is a flowchart showing an example of a learning process procedure. In FIG. 21, the information processing device 100 performs person recognition and skeletal structure estimation based on learning video data and using a trained DL model (step S2101).
[0220] Next, the information processing device 100 acquires the coordinate positions of the skeleton of the person in each frame of the training video data based on the results of person recognition and skeleton estimation (step S2102).The information processing device 100 then performs video analysis based on the coordinate positions of the skeleton and generates a feature vector of the video (step S2103).
[0221] Next, the information processing device 100 calculates the selected type of feature quantity based on the coordinate positions of the skeleton and the feature vector of the image (step S2104).Then, the information processing device 100 learns an action recognition model based on the calculated feature quantity in accordance with a machine learning algorithm (step S2105).
[0222] Next, the information processing device 100 evaluates the recognition accuracy of the trained behavior recognition model based on the evaluation video data (step S2106). Then, the information processing device 100 determines whether the evaluated recognition accuracy satisfies requirements (step S2107).
[0223] If the recognition accuracy satisfies the requirement (step S2107: Yes), the information processing device 100 proceeds to step S2109. On the other hand, if the recognition accuracy does not satisfy the requirement (step S2107: No), the information processing device 100 proceeds to step S2108.
[0224] In step S2108, the information processing apparatus 100 accepts correction of the selected feature amount based on the operation input by the user (step S2108), and then the information processing apparatus 100 returns to the processing of step S2104.
[0225] In step S2109, the information processing device 100 saves the learned behavior recognition model (step S2109), and then ends the learning process.
[0226] (Inference Processing Procedure) Next, an example of an inference processing procedure executed by the information processing device 100 will be described with reference to Fig. 22. The inference processing is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.
[0227] 22 is a flowchart showing an example of an inference processing procedure. In FIG. 22, the information processing device 100 performs person recognition and skeletal structure estimation based on inference video data and using a trained DL model (step S2201).
[0228] Next, the information processing device 100 acquires the coordinate positions of the person's skeleton in each frame of the inference video data based on the results of person recognition and skeleton estimation (step S2202).The information processing device 100 then performs video analysis based on the coordinate positions of the skeleton and generates a feature vector of the image (step S2203).
[0229] Next, the information processing device 100 calculates the selected type of feature quantity based on the coordinate positions of the skeleton and the feature vector of the image (step S2204).The information processing device 100 then performs behavior recognition using the calculated feature quantity and the learned behavior recognition model (step S2205).
[0230] Next, the information processing device 100 outputs the results of the behavior recognition (step S2206), and then ends the inference-time processing.
[0231] (Overall Processing Procedure During Learning) Next, an example of an overall processing procedure during learning executed by the behavior recognition system 200 will be described with reference to FIG.
[0232] 23 is a sequence diagram showing an example of an overall learning process procedure. In FIG. 23, the user terminal 202 transmits a learning request specifying learning video data and evaluation video data to the information processing device 100 based on an operational input by the user (step S2301).
[0233] Based on the received learning request, the information processing device 100 transmits an inquiry about the specified learning video data and the specified evaluation video data to the storage device 201 (step S2302). The information processing device 100 receives the specified learning video data and the specified evaluation video data from the storage device 201 (step S2303). Based on the learning video data, the information processing device 100 performs person recognition and skeletal structure estimation using the trained DL model, and acquires the coordinate positions of the person's skeleton in each frame of the learning video data and the video feature quantities of the learning video data (step S2304).
[0234] The user terminal 202 transmits label information specifying the correct label to the information processing device 100 based on the user's operational input (step S2305).
[0235] The information processing device 100 transmits a query for the correct label to the storage device 201 based on the received label information (step S2306), and receives the correct label from the storage device 201 (step S2307).
[0236] The user terminal 202 accepts the designation of the type of feature amount based on the operation input by the user, and transmits the designated type of feature amount to the information processing device 100 (step S2308).
[0237] The information processing device 100 records the received type of specified feature in a file and calculates the specified type of feature based on the learning video data (step S2309). The information processing device 100 trains a behavior recognition model based on the calculated feature, and evaluates the recognition accuracy of the trained behavior recognition model based on the evaluation video data (step S2310).
[0238] The information processing device 100 repeats the processes of steps S2308 to S2310 until the recognition accuracy becomes equal to or greater than the reference value (step S2311). The information processing device 100 transmits the trained behavior recognition model to the user terminal 202 (step S2312). The behavior recognition system 200 ends the entire learning process.
[0239] (Overall Processing Procedure at Inference Time) Next, an example of an overall processing procedure at inference time executed by the behavior recognition system 200 will be described with reference to FIG.
[0240] 24 is a sequence diagram showing an example of the overall processing procedure at the time of inference. In FIG. 24, the user terminal 202 transmits model information specifying an action recognition model to the information processing device 100 based on an operation input by the user (step S2401).
[0241] The information processing device 100 transmits a query about the specified behavior recognition model to the storage device 201 based on the received model information (step S2402), and receives the specified behavior recognition model from the storage device 201 (step S2403).
[0242] Based on the user's operation input, the user terminal 202 transmits file information specifying a file in which the type of feature is recorded to the information processing device 100 (step S2404).
[0243] The information processing apparatus 100 transmits a query about the specified file to the storage apparatus 201 based on the received file information (step S2405), and receives the specified file from the storage apparatus 201 (step S2406).
[0244] The user terminal 202 transmits an inference request to the information processing device 100 based on the user's operational input (step S2407).
[0245] The information processing device 100 transmits a query for the inference video data to the video imaging device 203 (step S2408). The information processing device 100 acquires the inference video data from the video imaging device 203 (step S2409). The information processing device 100 performs person recognition and skeletal structure estimation using the trained DL model based on the inference video data, and acquires the coordinate positions of the person's skeleton in each frame of the inference video data and the video feature quantities of the inference video data (step S2410).
[0246] The information processing device 100 refers to the file, calculates a specified type of feature based on the coordinate position of the skeleton and the video feature of the inference video data, and performs behavior recognition using a specified behavior recognition model based on the calculated feature (step S2411). The information processing device 100 transmits the result of the behavior recognition to the user terminal 202 (step S2412).
[0247] The information processing device 100 repeatedly performs the processes of steps S2408 to S2412 until an end instruction is received (step S2413).
[0248] The user terminal 202 transmits an end instruction to the information processing device 100 based on the user's operation input (step S2414).
[0249] When the information processing device 100 receives the end instruction, it stops repeating the processes of steps S2408 to S2412 and transmits an end report to the user terminal 202 (step S2415). The behavior recognition system 200 ends the entire inference process.
[0250] As described above, the information processing device 100 can accept a designation of a combination of types belonging to each of one or more perspectives that define a specific behavior, among a plurality of types that classify feature quantities related to a person's behavior. The information processing device 100 can acquire feature quantities of the designated combination type, among a plurality of feature quantities related to the behavior of a first person captured in a first video that can be calculated based on the first video. The information processing device 100 can learn a model that recognizes a specific behavior of a person captured in a video, based on the acquired feature quantities. This makes it easier for the information processing device 100 to learn a model that can accurately recognize a specific behavior of a person.
[0251] According to the information processing device 100, it is possible to accept the designation of a combination of types that belong to each of one or more perspectives that define each of the multiple elements that form a specific behavior, among the multiple types. This allows the information processing device 100 to accept the designation of a combination that appropriately represents a specific behavior.
[0252] According to the information processing device 100, by analyzing the first video, it is possible to calculate a plurality of feature amounts related to the behavior of the first person appearing in the first video. According to the information processing device 100, it is possible to extract and acquire a feature amount of a type of combination for which designation has been accepted from the plurality of calculated feature amounts. In this way, the information processing device 100 can calculate the feature amount of the type of combination for which designation has been accepted.
[0253] According to the information processing device 100, the multiple types can include one or more types that classify feature quantities belonging to a first spatial perspective. According to the information processing device 100, the multiple types can include one or more types that classify feature quantities belonging to a second temporal perspective. According to the information processing device 100, the multiple types can include one or more types that classify feature quantities belonging to a third perspective related to the relationship between a person and another object or place. According to the information processing device 100, the multiple types can include one or more types that classify feature quantities belonging to a fourth perspective related to the interaction between feature quantities. This allows the information processing device 100 to use two or more feature quantities belonging to different perspectives.
[0254] According to the information processing device 100, by analyzing the first video, it is possible to calculate the coordinates of each of one or more body parts of the first person shown in the first video, and to calculate one or more feature amounts belonging to the first perspective based on the calculated coordinates. In this way, the information processing device 100 can make the one or more feature amounts belonging to the first perspective available.
[0255] According to the information processing device 100, by analyzing the first video, it is possible to calculate the coordinates of each of one or more body parts of the first person appearing in the first video, and to calculate one or more feature amounts belonging to the second perspective based on the calculated coordinates. In this way, the information processing device 100 can make the one or more feature amounts belonging to the second perspective available.
[0256] According to the information processing device 100, by analyzing the first video, it is possible to calculate the coordinates of each of one or more body parts of a first person captured in the first video and detect other objects or locations captured in the first video. According to the information processing device 100, it is possible to calculate one or more feature amounts belonging to a third perspective based on the calculated coordinates and the detected other objects or locations. In this way, the information processing device 100 can make the one or more feature amounts belonging to the third perspective available.
[0257] According to the information processing device 100, it is possible to calculate one or more feature quantities belonging to the fourth aspect based on the calculated feature quantities, thereby enabling the information processing device 100 to make the one or more feature quantities belonging to the fourth aspect available.
[0258] According to the information processing device 100, by inputting a first video to a first model, it is possible to calculate the coordinates of each of one or more body parts of the first person shown in the first video. This allows the information processing device 100 to accurately calculate the coordinates of each of one or more body parts of the first person shown in the first video.
[0259] According to the information processing device 100, by inputting the first video to the second model, it is possible to detect other objects or places that appear in the first video, in addition to the first person. This allows the information processing device 100 to accurately detect other objects or places that appear in the first video, in addition to the first person.
[0260] According to the information processing device 100, a model can be trained based on training data that associates the acquired feature amounts with a correct answer as to whether the behavior of the first person shown in the first video is a specific behavior. This allows the information processing device 100 to train a model that has a function of recognizing a specific behavior of a person shown in the video, in accordance with input of feature amounts of the type of combination that has been accepted.
[0261] According to the information processing device 100, the first model can be learned based on the first training data in which a sample video is associated with the correct coordinates of one or more body parts of a person appearing in the video, thereby allowing the information processing device 100 to independently acquire the first model.
[0262] According to the information processing device 100, the second model can be learned based on second training data that associates a sample video with a correct answer as a result of detecting an object or place shown in the video, thereby allowing the information processing device 100 to independently acquire the second model.
[0263] The information processing device 100 can acquire a combination of feature quantities corresponding to a specified combination from among a plurality of feature quantities related to the behavior of the second person captured in the second video, which can be calculated based on the second video. The information processing device 100 can input the acquired feature quantities into a trained model to determine whether the behavior of the second person is a specific behavior. This allows the information processing device 100 to accurately recognize the behavior of the second person.
[0264] The information processing method described in this embodiment can be realized by executing a prepared program on a computer such as a PC or a workstation. The information processing program described in this embodiment is recorded on a computer-readable recording medium and executed by being read from the recording medium by the computer. The recording medium may be a hard disk, a flexible disk, a CD (Compact Disc)-ROM, an MO (Magneto Optical Disc), a DVD (Digital Versatile Disc), or the like. The information processing program described in this embodiment may also be distributed via a network such as the Internet.
[0265] 100 Information processing device 101 Video 110 Type 121 Feature amount 130 Model 200 Behavior recognition system 201 Storage device 202 User terminal 203 Video shooting device 210 Network 300, 400, 500, 600 Bus 301, 501, 601 CPU 302, 402, 502, 602 Memory 303, 503, 603 Network I / F 304, 504, 604 Recording medium I / F 305, 505, 605 Recording medium 401 Central control unit 403 Client I / F 404 Device I / F 405 Storage device 606 Camera device 700 Memory unit 701 Acquisition unit 702 Calculation unit 703 Learning unit 704 Inference unit 705 Output unit 800, 900, 1000, 1100, 1200, 1300, 1400 Table 1500, 1600 Input screen 1900 Learning video 1910, 1921, 2010, 2020 Time-series numerical data 1930 Correct answer label 1940 Action recognition model 1940 Action recognition model 2000 Inference video 2030 Result
Claims
1. An information processing program that causes a computer to execute the following processes: accept a designation of one or more combinations that define a specific behavior from among multiple types that classify features related to a person's behavior; acquire features of the combination type for which the designation was accepted from multiple feature values related to the behavior of a first person captured in a first video; and learn a model that recognizes the specific behavior of the person captured in the video based on the acquired features.
2. The information processing program according to claim 1, characterized in that the receiving process receives a designation of a combination of types among the plurality of types, the combination belonging to each of one or more perspectives that define the specific behavior.
3. The information processing program according to claim 2, characterized in that the receiving process receives the specification of a combination of types that belong to each of one or more perspectives that define each of the multiple elements that form the specific behavior, among the multiple types.
4. An information processing program as described in claim 2 or 3, characterized in that the computer is caused to execute a process of calculating a plurality of features relating to the behavior of the first person shown in the first video by analyzing the first video, and the acquisition process is performed by extracting a feature of the type of the combination for which the designation has been accepted from the plurality of calculated features.
5. The information processing program of claim 4, characterized in that the multiple types include any two or more of one or more types classifying features belonging to a first spatial perspective, one or more types classifying features belonging to a second temporal perspective, one or more types classifying features belonging to a third perspective regarding the relationship between a person and other objects or places, and one or more types classifying features belonging to a fourth perspective regarding interactions between features.
6. The information processing program described in claim 5, characterized in that the calculation process calculates the coordinates of each of one or more body parts of the first person captured in the first image by analyzing the first image, and calculates one or more features belonging to the first perspective based on the calculated coordinates.
7. The information processing program described in claim 6, characterized in that the calculation process calculates the coordinates of each of one or more body parts of the first person captured in the first image by analyzing the first image, and calculates one or more features belonging to the second perspective based on the calculated coordinates.
8. The information processing program of claim 7, characterized in that the calculation process includes: calculating the coordinates of each of one or more body parts of the first person captured in the first image by analyzing the first image; detecting other objects or locations captured in the first image; and calculating one or more features belonging to the third perspective based on the calculated coordinates and the detected other objects or locations.
9. The information processing program according to claim 8, characterized in that the calculation process calculates one or more feature amounts belonging to the fourth aspect based on the calculated feature amount.
10. The information processing program described in claim 9, characterized in that the calculation process calculates the coordinates of each of one or more body parts of the first person shown in the first image by inputting the first image into a first model that outputs the coordinates of each of one or more body parts of the person shown in the input image.
11. The information processing program described in claim 10, characterized in that the calculation process comprises inputting the first image into a second model that detects objects or places captured in the input image, thereby detecting other objects or places captured in the first image, other than the first person.
12. The information processing program of claim 1, characterized in that the model has a function of recognizing the specific behavior of a person appearing in a video in response to input of features of the type of combination for which the designation has been accepted, and the learning process learns the model based on training data that matches the acquired features with a correct answer as to whether the behavior of the first person appearing in the first video is the specific behavior or not.
13. The information processing program according to claim 11, characterized in that the computer is caused to execute a process of learning the first model based on first training data that matches a sample image with correct coordinates of one or more body parts of a person appearing in the image.
14. The information processing program according to claim 13, characterized in that the computer is caused to execute a process of learning the second model based on second training data that matches a sample image with a correct answer as a result of detecting an object or place shown in the image.
15. The information processing program of claim 1, further comprising inputting into the learned model, among a plurality of features relating to the behavior of a second person shown in a second video, features of the type of the combination for which the designation has been accepted, thereby determining whether the behavior of the second person is the specific behavior.
16. The information processing program according to claim 1, characterized in that the computer is caused to execute a process of calculating a plurality of features relating to the behavior of the first person based on skeletal information of the first person contained in the first video.
17. An information processing device having a control unit that receives a designation of one or more combinations that define a specific behavior from among multiple types that classify features related to a person's behavior, acquires features of the combination type for which the designation was accepted from multiple feature values related to the behavior of a first person captured in a first video, and learns a model that recognizes the specific behavior of the person captured in the video based on the acquired features.
18. An information processing program that causes a computer to execute a process of acquiring features of a combination type from among a plurality of features related to the behavior of a first person captured in a first video based on the specification of one or more combinations of types that define a specific behavior from among a plurality of types that classify features related to a person's behavior, and recognizing the behavior of the first person captured in the first video using the acquired features and a machine learning model that recognizes the specific behavior of the person captured in the video.
19. An information processing device having a control unit that acquires features of a combination type from among a plurality of features related to the behavior of a first person captured in a first video based on the specification of one or more combinations of types that define a specific behavior from a plurality of types that classify features related to a person's behavior, and recognizes the behavior of the first person captured in the first video using the acquired features and a machine learning model that recognizes the specific behavior of the person captured in the video.
Citation Information
Patent Citations
Behavior recognition learning device, behavior recognition device, behavior recognition learning method, behavior recognition method, and behavior recognition learning program
JP2022072444A
Action recognition system, action recognition method and program
JP2022117766A
Apparatus for Recognizing Three-Dimensional Motion Using Linear Discriminant Analysis
US20080285807A1
Hierarchical model for human activity recognition
US20140143183A1
Action determination device and method, and program
JP2009157770A
