ACTIVITY RECOGNITION METHOD
First Claim
1. An activity recognition method, comprising steps of:
- capturing a training video having a first foreground moving object and a first background, wherein the first foreground moving object has a first contour, the steps of capturing the training video comprising;
processing the training video to distinguish the first contour from the first background, wherein the first foreground moving object has a plurality of activities;
defining a first minimum bounding box for the first contour;
calculating a first parameter according to the first minimum bounding box; and
transforming the first parameter into a first feature vector;
constructing a decision tree model having a plurality of support vector machines (SVMs) for classifying the activities of the first foreground. moving object according to the first parameter and the first feature vector in one of the support vector machines;
capturing a testing video having a second foreground moving object and. a second background, wherein the second foreground moving object has a second contour, the steps of capturing the testing video comprising;
processing the testing video to distinguish the second contour from the second background;
defining a second minimum bounding box of the second contour;
calculating a second parameter according to the second minimum bounding box, wherein the second parameter comprises a center value of the second minimum bounding box;
providing an algorithm to judge whether the second foreground moving object is the same as the first foreground moving object according to a trajectory in form of the center value varying with the time; and
transforming the second parameter into a second feature vector; and
each of the support vector machines comparing the first feature vector and the second feature vector in sequence according to the, decision tree model to recognize an activity of the second foreground moving object.
1 Assignment
0 Petitions
Accused Products
Abstract
An activity recognition method, for recognizing continuous activities of several moving objects in the foreground of a video, includes: capturing and processing a training video to get a contour of a moving object; extracting a minimum bounding box of the contour in order to get parameters then transfer to feature vectors; constructing a decision tree model based on support vector machines (SVMs), for classifying the activities of the moving object according to the parameter and the feature vector of the training video; capturing and processing a testing video to get other parameters and using several formulas to generate feature vectors, and executing an algorithm for recognizing the activities of several moving objects in the foreground of the testing video. Said feature vectors are transformed from the parameters that in the testing and training videos. Via above descriptions, the method can recognize activities of foreground objects in the testing video.
37 Citations
13 Claims
-
1. An activity recognition method, comprising steps of:
-
capturing a training video having a first foreground moving object and a first background, wherein the first foreground moving object has a first contour, the steps of capturing the training video comprising; processing the training video to distinguish the first contour from the first background, wherein the first foreground moving object has a plurality of activities; defining a first minimum bounding box for the first contour; calculating a first parameter according to the first minimum bounding box; and transforming the first parameter into a first feature vector; constructing a decision tree model having a plurality of support vector machines (SVMs) for classifying the activities of the first foreground. moving object according to the first parameter and the first feature vector in one of the support vector machines; capturing a testing video having a second foreground moving object and. a second background, wherein the second foreground moving object has a second contour, the steps of capturing the testing video comprising; processing the testing video to distinguish the second contour from the second background; defining a second minimum bounding box of the second contour; calculating a second parameter according to the second minimum bounding box, wherein the second parameter comprises a center value of the second minimum bounding box; providing an algorithm to judge whether the second foreground moving object is the same as the first foreground moving object according to a trajectory in form of the center value varying with the time; and transforming the second parameter into a second feature vector; and each of the support vector machines comparing the first feature vector and the second feature vector in sequence according to the, decision tree model to recognize an activity of the second foreground moving object. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
2. The activity recognition method of Mimi, wherein the training video comprises a plurality of frames including a first frame, a second frame and a third frame, which appear in sequence in the training video, the steps of processing the training video comprising:
-
providing a temporary moving object in the training video; providing an averaging background method to distinguish the temporary moving object from each of the first background and the second background; executing the averaging background method to calculate a first absolute difference value between each of the three frames and the first frame respectively; providing a maximum variance between clusters method to generate a noisy moving object according to the first absolute difference value; and providing a logic operation to combine the temporary moving object and the noisy moving object into each of the first foreground moving object and the second foreground moving object. - View Dependent Claims (3, 4)
-
Specification