# US 10,373,052 B2 · Method and system for tracking an object

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,373,052 B2
- Document ID: US10373052B2
- Status: Granted
- Kind: B2
- Application number: 15/426,413
- Filed: 2017-02-07
- Published: 2017-12-14
- Granted: 2019-08-06
- Earliest claimed: 2016-06-13
- Assignees: FotoNation Limited
- Applicants: FotoNation Limited
- Inventors: Dragos Dinu; Mihai Constantin Munteanu; Alexandru Caliman
- Web page: https://patentgrep.com/patent/US10373052B2

## CPC

- G06V 20/52: Surveillance or monitoring of activities, e.g. for recognising suspicious objects (recognising microscopic objects G06V20/69)
- G06F 18/2413: based on distances to training or reference patterns
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/0499: Feedforward networks
- G06T 7/246: using feature-based methods, e.g. the tracking of corners or segments
- G06T 7/248: {involving reference images or patches}
- G06T 7/269: using gradient-based methods
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06T 2207/10016: Video; Image sequence
- G06T 2207/10024: Color image
- G06T 2207/20021: Dividing image into blocks, subimages or windows
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/20104: Interactive definition of region of interest [ROI]
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method of tracking an object across a stream of images comprises determining a region of interest (ROI) bounding the object in an initial frame of an image stream. A HOG map is provided for the ROI by: dividing the ROI into an array of M×N cells, each cell comprising a plurality of image pixels; and determining a HOG for each of the cells. The HOG map is stored as indicative of the features of the object. Subsequent frames are acquired from the stream of images. The frames are scanned ROI by ROI to identify a candidate ROI having a HOG map best matching the stored HOG map features. If the match meets a threshold, the stored HOG map indicative of the features of the object is updated according to the HOG map for the best matching candidate ROI.

## Claims

### Claim 1

An image processing system being arranged to track an object across a stream of images, the system comprising a processor arranged to:
a) determine a region of interest (ROI) bounding said object in an initial acquired frame of said stream of images;
b) provide a histogram of gradients (HOG) map for said ROI by:
i) dividing said ROI into an array of M×N cells, each cell comprising a plurality of image pixels;
ii) determining a HOG for each of said cells, each HOG comprising a plurality of q bins, each bin corresponding to a range of orientation angles, and each bin having a value being a function of a number of instances of a pixel gradient in a cell corresponding to the bin;
c) store said HOG map as indicative of the features of said object by initially weighting each neuron of a first layer of neurons of a multi-layer neural network according to the HOG map for said ROI from said initial acquired frame;
d) acquire a subsequent frame from said stream of images;
e) scan at least a portion of said subsequent acquired frame ROI by ROI to identify a candidate ROI having a HOG map best matching the stored HOG map features, including the processor executing said neural network on each candidate ROI to provide an output proportional to the level of match between the HOG map values used for the weights of the first layer of neurons and the HOG map values provided for a candidate ROI;
f) responsive to said match meeting a threshold, update the stored HOG map indicative of the features of said object according to the HOG map for the best matching candidate ROI including updating the weights for said neurons according to the HOG map for the best matching candidate ROI from said subsequent acquired frame; and
g) repeating steps d) to f) until said match fails to meet said threshold.

### Claim 2 (depends on 1)

An image processing system according to claim 1 wherein in order to scan said at least portion of the subsequent acquired frame the processor is arranged to multiply HOG map values for a candidate ROI from the subsequent acquired frame with weights stored from previous acquired frames.

### Claim 3 (depends on 1)

An image processing system according to claim 1 wherein said processor is configured to perform a sigmoid activation function on the outputs of neurons from said first layer.

### Claim 4 (depends on 3)

An image processing system according to claim 3 wherein said processor is configured to execute a third layer of said neural network by aggregating the outputs of the neurons of a second layer.

### Claim 5 (depends on 3)

An image processing system according to claim 3 wherein said processor is arranged to provide a piecewise linear approximation f( ) of said sigmoid function.

### Claim 6 (depends on 5)

An image processing system according to claim 5 wherein said approximation f( )is defined as
f
⁡
(
y
i
)
=
{
0
,
if
⁢
⁢
y
i
<
a
0.0625
×
y
i
+
0.25
,
if
⁢
⁢
y
i
∈
[
a
,
b
)
0.1875
×
y
i
+
0.5
,
if
⁢
⁢
y
i
∈
[
b
,
c
)
0.0625
×
y
i
+
0.75
,
if
⁢
⁢
y
i
∈
[
c
,
d
)
1
,
if
⁢
⁢
y
i
≥
d
where
y
i
=
∑
j
=
0
q
-
1
⁢
y
j
,
i
where
y
j
,
i
comprises the product of a stored weight
w
j
,
i
and a HOG map value
b
j
,
i
for a candidate ROI subsequent frame.

### Claim 7 (depends on 1)

An image processing system according to claim 1 wherein said neural network is a non-fully connected network.

### Claim 8 (depends on 1)

An image processing system according to claim 1 wherein said neural network is a forward connected neural network.

### Claim 9 (depends on 1)

An image processing system according to claim 1 further arranged to output the best matching candidate ROI as a boundary for said object.

### Claim 10 (depends on 1)

An image processing system according to claim 1 further arranged to scale said ROI from subsequent acquired frames so that the HOG maps match the size of the stored HOG map.

### Claim 11 (depends on 1)

An image processing system according to claim 1 wherein said range of angles for each bin is non-continuous.

### Claim 12 (depends on 1)

An image processing system according to claim 1 wherein in order to scan said at least a portion of the subsequent acquired frame the processor is arranged to scan across a scan area of the subsequent acquired frame, ROI-by-ROI, said scan area being a function of said best matching candidate ROI from a previous acquired frame and inter-frame movement between a previous acquired frame and said subsequent acquired frame.

### Claim 13 (depends on 1)

An image processing system according to claim 1 wherein said pixel values are intensity values.

### Claim 14 (depends on 1)

An image processing system according to claim 1 wherein in order to determine a ROI in an initial acquired frame the processor is arranged to apply a cascade of Haar features to successive candidate ROI of said frame.

### Claim 15 (depends on 1)

An image processing system according to claim 1 further comprising an interactive application for manually defining a ROI in order to determine the ROI in the initial acquired frame.

### Claim 16 (depends on 1)

An image processing system according to claim 1 wherein each of said HOG map cells comprises 4×4 pixels.

### Claim 17 (depends on 1)

An image processing system according to claim 1 wherein each of said HOG map cells overlap in at least one of x and y directions.

### Claim 18 (depends on 1)

An image processing system according to claim 1 wherein in order to provide a HOG map the processor is arranged to:
allocate a gradient to one of a plurality of sectors, each sector extending through a range of orientation angles and at least some of said sectors being divided from adjacent sectors along lines including gx=2n·gy, where n is any integer value with a magnitude greater than or equal to 1;
associate at least one sector with a bin; and
count each instance of a pixel gradient of a cell associated with a bin to provide a HOG for said cell.

### Claim 19 (depends on 1)

An image processing system according to claim 1 wherein said processor is arranged to update the stored HOG map as a function of the HOG map for the best matching candidate ROI for up to X frames previous to an acquired frame.

### Claim 20 (depends on 19)

An image processing system according to claim 19 wherein said function is an average function.

### Claim 21 (depends on 1)

An image processing system according to claim 1 wherein each bin has a value being a function of the respective magnitudes of pixel gradients in a cell corresponding to the bin, said processor being further arranged to normalize bin values so that bin values for a HOG map extend across a fixed range.
