# US 2009/0292701 A1 · Method and a system for indexing and searching for video documents

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

- Number: US 2009/0292701 A1
- Document ID: US20090292701A1
- Status: Published application
- Kind: A1
- Application number: 12/154,671
- Filed: 2008-05-23
- Published: 2009-11-26
- Earliest claimed: 2008-05-23
- Assignees: Advestigo
- Inventors: Aissa Saoudi; Hassane Essafi
- Web page: https://patentgrep.com/patent/US20090292701A1

## CPC

- G06F 16/7854: {using shape (G06F16/7837 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The invention relates to a method of indexing a video document, comprising the following steps: (a) representing the video document in the form of a parallelepipedal volume obtained by juxtaposing on a time axis (t) K successive frames constituting the video document, each frame being represented by a matrix of pixels in a two-dimensional space (x, y); and (b) constructing a space-time video slice (STVSα) of the video document by extracting a set of pixels for each frame of the video document in the same line defined relative to a first direction (x) of the frames, juxtaposing the K lines of pixels corresponding to the K frames on a time axis (t) to form a space-time video slice (STVSα) of length (WSTVSα) defined by the K juxtaposed lines of pixels and of height (HSTVSα) equal to the length of the lines extracted from each of the frames, which length is a function of the dimension of the frames in the second direction (y) and the orientation of the lines, and initializing the calorimetric values of the pixels of the K lines of the space-time video slice (STVSα) on the basis of the content of the lines extracted from the K frames of the video document.

## Claims

### Claim 1

A method of indexing a video document, comprising the following steps:
(a) representing the video document in the form of a parallelepipedal volume obtained by juxtaposing on a time axis (t) K successive frames constituting the video document, each frame being represented by a matrix of pixels in a two-dimensional space (x, y); and
(b) constructing a space-time video slice (STVSα) of the video document by extracting a segment of pixels for each frame of the video document in the same direction at a predetermined angle α relative to a first direction (x) of the frames, juxtaposing the K segments of pixels corresponding to the K frames on a time axis (t) to form a space-time video slice (STVSα) of length (WSTVSα) defined by the K juxtaposed pixel segments and of height (HSTVSα) equal to the length of the segments extracted from each of the frames, which length is a function of the dimension of the frames in the second direction (y) and the angle α, and initializing the colorimetric values of the pixels of the K segments of the space-time video slice (STVSα) on the basis of the content of the segments extracted from the K frames of the video document.

### Claim 2 (depends on 1)

A method according to claim 1, characterized in that the height (HSTVSα) of a space-time video slice (STVSα) depends on the angle a formed by the K segments of the space-time video slice (STVSα) relative to the first direction (x) of the frames, the width (Wframe), and the height (Hframe) of the frame, as follows:
H
S


T


V


S
α
=

W
frame
cos


α

if


(
α
diag
<
α
<
α
diag

ou


Π


α
diag
<
α
<
Π
+
α
diag
)

H
frame
sin


α

Otherwise
where αdiag represents the angle between the first diagonal interframe and one of the lines in the first direction x, and where:
α
diag
=
arc


tan
(
W
frame
H
frame
)

### Claim 3 (depends on 1)

A method according to claim 1, characterized in that the calorimetric values of the l pixels of the K segments of the space-time video slice (STVSα) are initialized on the basis of the content of the segments extracted from the K frames of the video document by the following function:
S


T


V


S
α

(
l
,
k
)
=
Tr
k
(
(
l
-
H
S


T


V


S


α
2
)
*
sin

(
α
)
+
H
frame
2
,
(
H
S


T


V


S


α
2
-
l
)
*
cos

(
α
)
+
W
frame
2
)
where

:


l
=
0


…


(
H
S


T


V


S
α
-
1
)

### Claim 4 (depends on 1)

A method according to claim 1, characterized in that space-time normalization of the space-time video slices (STVSα) is effected by space normalization of the dimensions of the frames relative to a fixed reference height (Wref) and time normalization of the number of frames per second relative to a fixed reference number of frames per second (Rref).

### Claim 5 (depends on 1)

A method according to claim 1, characterized in that contours present in space-time video slices (STVSα) are detected by calculating the gradient images of the space-time video slices (STVSα) and binarizing those gradient images.

### Claim 6 (depends on 5)

A method according to claim 5, characterized in that the histogram of occurrences of black segments and white segments in the binarized gradient images is determined and changes of plane are detected by filtering the histogram to retain only values above a predetermined threshold.

### Claim 7 (depends on 6)

A method according to claim 6, characterized in that salient positions in the video document are determined on the basis of the changes of plane detected and on the basis of events corresponding to sudden movements of objects in the scene or sudden movements of the camera.

### Claim 8 (depends on 7)

A method according to claim 7, characterized in that it includes time segmentation of the video document and partitioning of the resulting space-time video slices (STVSα) taking account of the portions delimited between the positions of each pair of successive salient positions.

### Claim 9 (depends on 7)

A method according to claim 7, characterized in that it includes time segmentation of the video document and partitioning of the resulting space-time video slices (STVSα) by extracting for each salient position a space-time video slice (STVSα) segment with a fixed length forming a junction image straddling that salient position.

### Claim 10 (depends on 7)

A method according to claim 7, characterized in that it includes time segmentation of the video document and partitioning of the space-time video slices (STVSα) created by extracting for each salient position two space-time video slice (STVSα) segments with a fixed length forming junction images situated on either side of the corresponding salient position.

### Claim 11 (depends on 9)

A method according to claim 9, characterized in that a normalized characteristics vector (V) representing a contour map of the junction image is extracted from each junction image.

### Claim 12 (depends on 10)

A method according to claim 10, characterized in that a normalized characteristics vector (V) representing a contour map of the junction image is extracted from each junction image.

### Claim 13 (depends on 9)

A method according to claim 9, characterized in that a video fingerprint is constructed for each video document comprising a table of characteristics vectors corresponding to the junction images, a contour map of the space-time video slice created, a binary decision tree resulting from classifying all the characteristics vectors, and a header containing metadata concerning the video document.

### Claim 14 (depends on 10)

A method according to claim 10, characterized in that a video fingerprint is constructed for each video document comprising a table of characteristics vectors corresponding to the junction images, a contour map of the space-time video slice created, a binary decision tree resulting from classifying all the characteristics vectors, and a header containing metadata concerning the video document.

### Claim 15 (depends on 13)

A method according to claim 13, characterized in that it includes a step of comparing a video fingerprint of a query video document and video fingerprints of a set of candidate video documents in order to detect and locate sequences shared by the query video document and each of the candidate video documents.

### Claim 16 (depends on 13)

A method according to claim 13, characterized in that it includes a step of comparing a video fingerprint of a query video document and a video fingerprint of a candidate video document, this comparison step comprising a first step, for each of the characteristics vectors of the video fingerprint of the query video document, of searching for the K closest adjacent vectors in a binary decision tree of the video fingerprint of the candidate video document and a second step, for each pair of characteristics vectors consisting of a characteristics vector of the video fingerprint of a query video document and a characteristics vector of the video fingerprint of a candidate video document, of determining the correlation between contour maps of the corresponding junction images and retaining as valid only a pair of characteristics vectors and a pair of corresponding junction images if a correlation score is above a predetermined threshold.

### Claim 17

A system for indexing and searching for a query video document in a set of preexisting video documents, characterized in that it comprises a first indexing module comprising a sub-module for constructing a time-space video slice of a video document, for extracting a video fingerprint of each of the preexisting video documents and of each of the query video documents, a second indexing module for indexing video fingerprints extracted from preexisting video documents to create a database of video fingerprints of preexisting video documents, a search module for searching the video fingerprints database of the preexisting video documents for candidate video fingerprints close to a video fingerprint of a query video document, a comparison module for comparing a video fingerprint of a query video document to each of the candidate video fingerprints fingerprint by fingerprint, and a module for selecting pertinent video fingerprints from the candidate video fingerprints as a function of the results supplied by the comparison module.

### Claim 18

A method of indexing a video document, comprising the following steps:
(a) representing the video document in the form of a parallelepipedal volume obtained by juxtaposing on a time axis (t) K successive frames constituting the video document, each frame being represented by a matrix of pixels in a two-dimensional space (x, y); and
(b) constructing a space-time video slice (STVSα) of the video document by extracting a set of pixels for each frame of the video document in the same line defined relative to a first direction (x) of the frames, juxtaposing the K lines of pixels corresponding to the K frames on a time axis (t) to form a space-time video slice (STVSα) of length (WSTVSα) defined by the K juxtaposed lines of pixels and of height (HSTVSα) equal to the length of the lines extracted from each of the frames, which length is a function of the dimension of the frames in the second direction (y) and the orientation of the lines, and initializing the calorimetric values of the pixels of the K lines of the space-time video slice (STVSα) on the basis of the content of the lines extracted from the K frames of the video document.

### Claim 19 (depends on 18)

A method according to claim 18, characterized in that the lines of pixels are straight line segments.

### Claim 20 (depends on 18)

A method according to claim 18, characterized in that the lines of pixels are curved lines.

### Claim 21 (depends on 20)

A method according to claim 20, characterized in that the lines of pixels are of spiral shape.

### Claim 22 (depends on 14)

A method according to claim 14, characterized in that it includes a step of comparing a video fingerprint of a query video document and video fingerprints of a set of candidate video documents in order to detect and locate sequences shared by the query video document and each of the candidate video documents.

### Claim 23 (depends on 14)

A method according to claim 14, characterized in that it includes a step of comparing a video fingerprint of a query video document and a video fingerprint of a candidate video document, this comparison step comprising a first step, for each of the characteristics vectors of the video fingerprint of the query video document, of searching for the K closest adjacent vectors in a binary decision tree of the video fingerprint of the candidate video document and a second step, for each pair of characteristics vectors consisting of a characteristics vector of the video fingerprint of a query video document and a characteristics vector of the video fingerprint of a candidate video document, of determining the correlation between contour maps of the corresponding junction images and retaining as valid only a pair of characteristics vectors and a pair of corresponding junction images if a correlation score is above a predetermined threshold.
