Identification of objects in a video
First Claim
Patent Images
1. A method to identify a moving object in a video, comprising:
- generating a background frame based on a first frame in the video;
generating a foreground frame based on a second frame in the video, wherein the second frame follows the first frame in the video;
comparing the foreground frame with the background frame at each corresponding location;
acquiring an object area including corresponding locations each having a difference greater than a threshold;
determining, using a processor, whether the object area contains a moving object based on one or more of a size and a shape of the object area;
when the object area contains a moving object, identifying, using the processor, the moving object;
updating, using the processor, the background frame according to the difference between the background and the foreground frames at each corresponding location, wherein updating the background frame comprises, at each corresponding location, responsive to determination that the difference between the background and the foreground frames at the corresponding location exceeds the threshold, adding a predetermined factor to a pixel value of the background image;
generating an other foreground frame based on a third frame in the video, wherein the third frame follows the second frame in the video; and
repeating comparing, acquiring, and determining from the updated background frame and the other foreground frame.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques related to identifying objects in a video are generally described. One example method for identifying a moving object in a video may include generating a background frame and a foreground frame based on the video, comparing the foreground and the background frames at each corresponding location, acquiring an object area based on the comparison, determining if object area contains a moving object based on size and shape of the object area, identifying the moving object against templates of target objects, and updating the background frame according to the comparison.
32 Citations
15 Claims
-
1. A method to identify a moving object in a video, comprising:
-
generating a background frame based on a first frame in the video; generating a foreground frame based on a second frame in the video, wherein the second frame follows the first frame in the video; comparing the foreground frame with the background frame at each corresponding location; acquiring an object area including corresponding locations each having a difference greater than a threshold; determining, using a processor, whether the object area contains a moving object based on one or more of a size and a shape of the object area; when the object area contains a moving object, identifying, using the processor, the moving object; updating, using the processor, the background frame according to the difference between the background and the foreground frames at each corresponding location, wherein updating the background frame comprises, at each corresponding location, responsive to determination that the difference between the background and the foreground frames at the corresponding location exceeds the threshold, adding a predetermined factor to a pixel value of the background image; generating an other foreground frame based on a third frame in the video, wherein the third frame follows the second frame in the video; and repeating comparing, acquiring, and determining from the updated background frame and the other foreground frame. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method to identify a moving object in a video, comprising:
-
generating a background frame based on a first frame in the video; generating a foreground frame based on a second frame in the video, wherein the second frame follows the first frame in the video; comparing the foreground frame with the background frame at each corresponding location; acquiring an object area including corresponding locations each having a difference greater than a threshold; removing shadow from the object area, comprising; removing a shadow pixel at a bit location (x,y) from the object area when - View Dependent Claims (7)
-
-
8. A method to identify a moving object in a video, comprising:
-
generating a background frame based on a first frame in the video; generating a foreground frame based on a second frame in the video, wherein the second frame follows the first frame in the video; comparing the foreground frame with the background frame at each corresponding location; acquiring an object area including corresponding locations each having a difference greater than a threshold; determining, using a processor, whether the object area contains a moving object based on one or more of a size and a shape of the object area; responsive to determination that the object area contains a moving object, identifying, using the processor, the moving object, wherein identifying the moving object comprises; acquiring a first edge map of the object area by applying edge detection to the object area; determining a ratio of a length over a width of the edge map; and selecting a template of a target object having a ratio similar to the ratio of the object area, the template comprising a second edge map; updating, using the processor, the background frame according to the difference between the background and the foreground frames at each corresponding location; generating an other foreground frame based on a third frame in the video, wherein the third frame follows the second frame in the video; and repeating comparing, acquiring, and determining from the updated background frame and the other foreground frame. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method to identify a moving object in a video, comprising:
-
generating a background frame based on a first frame in the video; generating a foreground frame based on a second frame in the video, wherein the second frame follows the first frame in the video; comparing the foreground frame with the background frame at each corresponding location; acquiring an object area including corresponding locations each having a difference greater than a threshold; determining, using a processor, whether the object area contains a moving object based on one or more of a size and a shape of the object area; responsive to determination that the object area contains a moving object, identifying, using the processor, the moving object, wherein identifying the moving object comprises; acquiring an object edge map of the object area by applying edge detection to the object area; determining a ratio of a length over a width of the edge map; selecting templates of target objects having ratios similar to the ratio of the object area, the templates comprising template edge maps; calculating Hausdorff distances between the object edge map and the template edge maps; and determining that the moving object contained in the object area matches a target object in a template when its Hausdorff distance is the smallest among the Hausdorff distances of the templates; updating, using the processor, the background frame according to the difference between the background and the foreground frames at each corresponding location; generating an other foreground frame based on a third frame in the video, wherein the third frame follows the second frame in the video; and repeating comparing, acquiring, and determining from the updated background frame and the other foreground frame.
-
Specification