US 7,602,944 B2
Method and system for counting moving objects in a digital video stream
John Roderick Campbell, Kanata (Canada); Wayne Lawrence Dustin, Ottawa (Canada); Christian Joseph Eric Montminy, Ottawa (Canada); Michael Peter Baynger, Ottawa (Canada); and Alexander Scott Campbell, Ottawa (Canada)
Assigned to March Networks Corporation, Ottawa, Ontario (US)
Filed on Apr. 06, 2006, as Appl. No. 11/398,538.
Claims priority of provisional application 60/668596, filed on Apr. 06, 2005.
Prior Publication US 2006/0227862 A1, Oct. 12, 2006
Int. Cl. G06K 9/00 (2006.01); H04B 1/66 (2006.01)
U.S. Cl. 382—103  [375/240] 25 Claims
OG exemplary drawing
 
1. A computer-implemented method of identifying a moving object in a digital video stream, which, when executed on a processor, causes the processor to perform steps comprising:
determining an area of motion by threshold subtracting a current video frame from a short term average video scene;
determining an object box surrounding an object by threshold subtracting the current video frame from a long term average video scene;
determining object box coordinates on each line of the video frame by:
generating a line segment based on a starting location and run-length of changed pixels of a current raster line of an object bitmap;
including the line segment in a box under construction when the line segment is adjacent to the box under construction; and
defining the box under construction as a moving object box when the box under construction intersects with a motion bitmap; and
storing the object box coordinates as coordinates of the moving object if the object box overlaps the area of motion.