# US 8,578,299 B2 · Method and computing device in a system for motion detection

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

- Number: US 8,578,299 B2
- Document ID: US8578299B2
- Status: Granted
- Kind: B2
- Application number: 12/901,372
- Filed: 2010-10-08
- Published: 2012-04-12
- Granted: 2013-11-05
- Earliest claimed: 2010-10-08
- Assignees: Industrial Technology Research Institute; Cywee Group Limited
- Applicants: Po-Lung Chen; Chien-Chun Kuo; Wen-Yang Wang; Duan-Li Liao; Zhou Ye; Sheng-Wen Jeng
- Inventors: Po-Lung Chen; Chien-Chun Kuo; Wen-Yang Wang; Duan-Li Liao; Zhou Ye; Sheng-Wen Jeng
- Web page: https://patentgrep.com/patent/US8578299B2

## CPC

- G06V 20/64: Three-dimensional [3D] objects
- G06F 3/005: {Input arrangements through a video camera}
- G06F 3/011: {Arrangements for interaction with the human body, e.g. for user immersion in virtual reality (blind teaching G09B21/00)}
- G06F 3/012: {Head tracking input arrangements}
- G06F 3/017: {Gesture based interaction, e.g. based on a set of recognized hand gestures (interaction based on gestures traced on a digitiser G06F3/04883)}
- G06T 7/11: Region-based segmentation
- G06T 7/194: involving foreground-background segmentation
- G06T 7/246: using feature-based methods, e.g. the tracking of corners or segments
- G06V 40/20: Movements or behaviour, e.g. gesture recognition (recognition of facial expressions G06V40/16)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A computing device in a system for motion detection comprises an image processing device to determine a motion of an object of interest, and a graphical user interface (GUI) module to drive a virtual role based on the motion determined by the image processing device. The image processing device comprises a foreground extracting module to extract a foreground image from each of a first image of the object of interest taken by a first camera and a second image of the object of interest taken by a second camera, a feature point detecting module to detect feature points in the foreground image, a depth calculating module to calculate the depth of each of the feature points based on disparity images associated with the each feature point, the depth calculating module and the feature point detecting module identifying a three-dimensional (3D) position of each of the feature points, and a motion matching module to identify vectors associated with the 3D positions of the feature points and determine a motion of the object of interest based on the vectors.

## Claims

### Claim 1

A computing device in a system for motion detection, the computing device comprising:
an image processing device to determine a motion of an object of interest; and
a graphical user interface (GUI) module to drive a virtual role based on the motion determined by the image processing device, the image processing device comprising:
a foreground extracting module to extract a foreground image from each of a first image of the object of interest taken by a first camera and a second image of the object of interest taken by a second camera;
a feature point detecting module to detect feature points in the foreground image;
a depth calculating module to calculate the depth of each of the feature points based on disparity images associated with the each feature point, the depth calculating module and the feature point detecting module identifying a three-dimensional (3D) position of each of the feature points, wherein the depth calculating module includes:
a disparity image searching unit to search for disparity images associated with a feature point based on the foreground image each of the first and second images, and
a search unit to search for the feature point based on the disparity images; and
a motion matching module to identify vectors associated with the 3D positions of the feature points and determine a motion of the object of interest based on the vectors.

### Claim 2 (depends on 1)

The computing device of claim 1 further comprising a database to store a T-pose image with predetermined feature points, wherein the feature point detecting module includes:
a first segmenting unit to segment the foreground image into boxes and identify at least one feature point in each of the boxes; and
a comparing unit to compare the feature points of the foreground image with the predetermined feature points of the T-pose image.

### Claim 3 (depends on 2)

The computing device of claim 2, wherein the feature point detecting module further includes:
a first identifying unit to identify a head portion of the foreground image based on a head template from the database;
a second identifying unit to identify a trunk portion and a shoulder portion of the foreground image based on the T-pose image; and
a second segmenting unit to segment the foreground image into sections.

### Claim 4 (depends on 1)

The computing device of claim 1, wherein the depth calculating module further includes a depth calculating unit to calculate the depth of a feature point in an equation below:
Z
=
L
×
f
dx
,
where Z is the depth of the feature point, f is a focal length of each of the first and second cameras, L is the center-to-center distance between the first and second cameras, and dx is the distance of the object in disparity images.

### Claim 5 (depends on 1)

The computing device of claim 1, wherein the motion matching module includes:
a vector forming unit to form a vector associated with two of the feature points; and
a posture identifying unit to identify a posture of the object in the foreground image based on a set of vectors.

### Claim 6 (depends on 5)

The computing device of claim 5 further comprising a database to store a plurality of sets of vectors and a plurality of sets of postures, wherein each set of vectors represents a posture of an object, and each set of postures represents a motion of an object.

### Claim 7 (depends on 6)

The computing device of claim 6, wherein the motion matching module further includes:
a motion similarity unit to identify a set of postures in the database that is similar to a current set of postures based on vector products of vectors associated with the set of postures in the database and vectors associated with the current set of postures.

### Claim 8 (depends on 5)

The computing device of claim 5 further comprising a database to store a plurality of sets of continuous postures, wherein each set of continuous postures includes a set of continuous index numbers assigned thereto and similar postures include a same index number.

### Claim 9 (depends on 8)

The computing device of claim 8, wherein the motion matching module further includes:
a motion smoothness unit to identify the similarity of postures based on the index numbers thereof.

### Claim 10

A method of motion detection, the method comprising:
extracting a foreground image from each of a first image of an object of interest taken by a first camera and a second image of the object of interest taken by a second camera;
detecting feature points in the foreground image;
calculating the depth of each of the feature points based on disparity images associated with the each feature point, the steps of calculating the depth and detecting the feature points identifying a three-dimensional (3D) position of each of the feature points, wherein calculating the depth of a feature point further includes:
searching for disparity images associated with a feature point based on the foreground image each of the first and second images, and
searching for the feature point based on the disparity images;
identifying vectors associated with the 3D positions of the feature points; and
determining a motion of the object of interest based on the vectors.

### Claim 11 (depends on 10)

The method of claim 10 further comprising:
storing a T-pose image with predetermined feature points in a database;
segmenting the foreground image into boxes and identifying at least one feature point in each of the boxes; and
comparing the feature points of the foreground image with the predetermined feature points of the T-pose image.

### Claim 12 (depends on 11)

The method of claim 11, wherein detecting the feature points further includes:
identifying a head portion of the foreground image based on a head template from the database;
identifying a trunk portion and a shoulder portion of the foreground image based on the T-pose image; and
segmenting the foreground image into sections.

### Claim 13 (depends on 10)

The method of claim 10, wherein calculating the depth of a feature point further includes calculation in an equation below:
Z
=
L
×
f
dx
,
where Z is the depth of the feature point, f is a focal length of each of the first and second cameras, L is the center-to-center distance between the first and second cameras, and dx is the distance of the object in disparity images.

### Claim 14 (depends on 10)

The method of claim 10, wherein identifying vectors associated with the 3D positions of the feature points further includes:
forming a vector associated with two of the feature points; and
identifying a posture of the object in the foreground image based on a set of vectors.

### Claim 15 (depends on 14)

The method of claim 14 further comprising:
store a plurality of sets of vectors and a plurality of sets of postures in a database, wherein each set of vectors represents a posture of an object, and each set of postures represents a motion of an object.

### Claim 16 (depends on 15)

The method of claim 15, wherein determining a motion of the object of interest based on the vectors further includes:
identifying a set of postures in the database that is similar to a current set of postures based on vector products of vectors associated with the set of postures in the database and vectors associated with the current set of postures.

### Claim 17 (depends on 14)

The method of claim 14 further comprising:
storing a plurality of sets of continuous postures in a database; and
assigning a set of continuous index numbers to each set of continuous postures, wherein similar postures include a same index number.

### Claim 18 (depends on 17)

The method of claim 17, wherein determining a motion of the object of interest based on the vectors further includes:
identifying the similarity of postures based on the index numbers thereof.
