# US 2021/0287374 A1 · Image processing apparatus, image processing method, and non-transitory computer-readable storage medium

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

- Number: US 2021/0287374 A1
- Document ID: US20210287374A1
- Status: Published application
- Kind: A1
- Application number: 17/189,301
- Filed: 2021-03-02
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Yasuo Bamba; Hajime Muta
- Web page: https://patentgrep.com/patent/US20210287374A1

## CPC

- G06T 7/10: Segmentation; Edge detection (motion-based segmentation G06T7/215)
- G06T 7/246: using feature-based methods, e.g. the tracking of corners or segments
- G06T 1/0007: {Image acquisition}
- G06T 2207/30121: CRT, LCD or plasma display
- G06T 2207/30196: Human being; Person
- G06T 2207/30242: Counting objects in image
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image processing apparatus comprises a setting unit configured to set, based on a detection line that is set in a display screen, a patch region in the display screen, the patch region including a detection region serving as a region for detecting a position of an object, and a counting region encompassed by the detection region, and a counting unit configured to count, from among intersection points between a movement vector in the detection region of an object moving inside the display screen or a locus based on the movement vector and the detection line in the detection region, intersection points located in the counting region.

## Claims

### Claim 1

An image processing apparatus comprising:
a setting unit configured to set, based on a detection line that is set in a display screen, a patch region in the display screen, the patch region including a detection region serving as a region for detecting a position of an object, and a counting region encompassed by the detection region; and
a counting unit configured to count, from among intersection points between a movement vector in the detection region of an object moving inside the display screen or a locus based on the movement vector and the detection line in the detection region, intersection points located in the counting region.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1,
wherein the setting unit determines a size of the counting region in the patch region according to a speed of the object in the display screen.

### Claim 3 (depends on 1)

The image processing apparatus according to claim 1,
wherein the setting unit determines a position of each of individual patch regions in the display screen such that the counting regions in the individual patch regions do not overlap.

### Claim 4 (depends on 1)

The image processing apparatus according to claim 1,
wherein the setting unit determines the position of the patch region in the display screen such that a ratio between a size of the detection region and a size of an object appearing in the patch region is substantially constant.

### Claim 5 (depends on 1)

The image processing apparatus according to claim 1,
wherein the counting unit performs the counting in parallel for each patch region.

### Claim 6 (depends on 1)

The image processing apparatus according to claim 1,
wherein the counting unit obtains a sum of the numbers of the intersection points counted for each patch region as the number of objects that have passed over the detection line.

### Claim 7 (depends on 6)

The image processing apparatus according to claim 6, further comprising
an output unit configured to output the sum obtained by the counting unit.

### Claim 8 (depends on 1)

The image processing apparatus according to claim 1, further comprising
an acquisition unit configured to acquire a moving image captured by an image capturing apparatus that captures images of a monitoring target region,
wherein an image of each frame in the moving image is displayed in the display screen.

### Claim 9 (depends on 8)

The image processing apparatus according to claim 8,
wherein the image processing apparatus is integrated with the image capturing apparatus.

### Claim 10

An image processing method performed by an image processing apparatus, comprising:
setting, based on a detection line that is set in a display screen, a patch region in the display screen, the patch region including a detection region serving as a region for detecting a position of an object and a counting region encompassed by the detection region; and
counting, from among intersection points between a movement vector in the detection region of an object moving inside the display screen or a locus based on the movement vector and the detection line in the detection region, intersection points located in the counting region.

### Claim 11

A non-transitory computer-readable storage medium storing a computer program for causing a computer to function as:
a setting unit configured to set, based on a detection line that is set in a display screen, a patch region in the display screen, the patch region including a detection region serving as a region for detecting a position of an object, and a counting region encompassed by the detection region; and
a counting unit configured to count, from among intersection points between a movement vector in the detection region of an object moving inside the display screen or a locus based on the movement vector and the detection line in the detection region, intersection points located in the counting region.
