# US 2022/0292706 A1 · Object number estimation device, control method, and program

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

- Number: US 2022/0292706 A1
- Document ID: US20220292706A1
- Status: Published application
- Kind: A1
- Application number: 17/636,431
- Filed: 2019-08-30
- Published: 2022-09-15
- Earliest claimed: 2019-08-30
- Assignees: NEC Corporation
- Applicants: NEC Corporation
- Inventors: Hiroo IKEDA
- Web page: https://patentgrep.com/patent/US20220292706A1

## CPC

- G06T 7/60: Analysis of geometric attributes
- G06V 20/52: Surveillance or monitoring of activities, e.g. for recognising suspicious objects (recognising microscopic objects G06V20/69)
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06V 10/25: Determination of region of interest [ROI] or a volume of interest [VOI]
- G06V 40/10: Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30242: Counting objects in image
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An object count estimation apparatus (2000) includes a first feature extraction network (2042), a first counting network (2044), a second feature extraction network (2062), and a second counting network (2064). The first feature extraction network (2042) generates a first feature map (20) by performing convolution processing on a target image (10). The first counting network (2044) estimates the number of target objects having a size included in a first predetermined range by performing processing on the first feature map (20). The second feature extraction network (2062) generates a second feature map (30) by performing convolution processing on the first feature map (20). The second existence estimation network (2064) estimates the number of target objects having a size included in a second predetermined range by performing processing on the second feature map (30). A size included in the first predetermined range is smaller than a size included in the second predetermined range.

## Claims

### Claim 1

An object count estimation apparatus comprising:
a feature extraction network generating a first feature map and a second feature map by performing convolution processing on a target image;
a first counting network estimating, for each cell in the first feature map, a number of a target object having a size within a first predetermined range for a first estimation region being an image region in the target image related to the cell; and
a second counting network estimating, for each cell in the second feature map, a number of a target object having a size within a second predetermined range for a second estimation region being an image region in the target image related to the cell, wherein
a size of the first feature map is larger than a size of the second feature map, and
a size included in the first predetermined range is smaller than a size included in the second predetermined range.

### Claim 2 (depends on 1)

The object count estimation apparatus according to claim 1, wherein
the feature extraction network generates the first feature map by performing convolution processing on the target image and generates the second feature map by further performing convolution processing on the first feature map.

### Claim 3 (depends on 1)

The object count estimation apparatus according to claim 1, wherein
the first counting network estimates a number of a target object having a size within a first predetermined range for each attribute of a target object, and
the second counting network estimates a number of a target object having a size within a second predetermined range for each attribute of a target object.

### Claim 4 (depends on 1)

The object count estimation apparatus according to claim 1, further comprising:
a first existence estimation network estimating existence of a target object having a size within the first predetermined range for the first estimation region related to each cell in the first feature map; and
a second existence estimation network estimating existence of a target object having a size within the second predetermined range for the second estimation region related to each cell in the second feature map.

### Claim 5 (depends on 4)

The object count estimation apparatus according to claim 4, wherein,
for a first estimation region for which existence of the target object or an existence probability of the target object being equal to or greater than a threshold value is estimated by the first existence estimation network, a number estimated by the first existence estimation network is used as a number of the target object in the first estimation region,
for a first estimation region for which nonexistence of the target object or an existence probability of the target object being less than a threshold value is estimated by the first existence estimation network, a number of the target object in the first estimation region is set to zero,
for a second estimation region for which existence of the target object or an existence probability of the target object being equal to or greater than a threshold value is estimated by the second existence estimation network, a number estimated by the second existence estimation network is used as a number of the target object in the second estimation region, and,
for a second estimation region for which nonexistence of the target object or an existence probability of the target object being less than a threshold value is estimated by the second existence estimation network, a number of the target object in the second estimation region is set to zero.

### Claim 6 (depends on 1)

The object count estimation apparatus according to claim 1, further comprising:
a first attribute estimation network estimating an attribute of a target object having a size within the first predetermined range for the first estimation region related to each cell in the first feature map; and
a second attribute estimation network estimating an attribute of a target object having a size within the second predetermined range for the second estimation region related to each cell in the second feature map.

### Claim 7 (depends on 1)

The object count estimation apparatus according to claim 1, further comprising
a learning unit performing learning of a network by using learning data, wherein
the learning data include a target image, first correct answer object count data indicating a number of a target object having a size within the first predetermined range for the each first estimation region in the target image, and second correct answer object count data indicating a number of a target object having a size within the second predetermined range for the each second estimation region in the target image, and
the learning unit computes a loss by using the first correct answer object count data, the second correct answer object count data, and an output acquired from each of the first counting network and the second counting network by inputting the target image to the feature extraction network and based on the computed loss, performs learning of the feature extraction network, the first counting network, and the second counting network.

### Claim 8 (depends on 7)

The object count estimation apparatus according to claim 7, wherein
the first counting network estimates a number of a target object having a size within a first predetermined range for each attribute of a target object,
the second counting network estimates a number of a target object having a size within a second predetermined range for each attribute of a target object, and
the learning data
further indicates an attribute of each target object included in the target image and
indicates the first correct answer object count data and the second correct answer object count data for each attribute of the target object.

### Claim 9 (depends on 7)

The object count estimation apparatus according to claim 7, further comprising
a learning data generation unit acquiring, for the target image, object information allowing determination of an image region of the each target object and generating the learning data by using the acquired object information, wherein
the learning data generation unit
computes, for the each first estimation region, a total of a number or a ratio of a target object having a size within the first predetermined range, a predetermined ratio or greater of a region representing the target object being included in the first estimation region, by using the object information, and generates the first correct answer object count data indicating the computed total of a number or a ratio for the each first estimation region and
computes, for the each second estimation region, a total of a number or a ratio of a target object having a size within the second predetermined range, a predetermined ratio or greater of a region representing the target object being included in the second estimation region, by using the object information, and generates the second correct answer object count data indicating the computed total of a number or a ratio for the each second estimation region.

### Claim 10 (depends on 7)

The object count estimation apparatus according to claim 7, further comprising:
a first existence estimation network estimating existence of a target object having a size within the first predetermined range for the first estimation region related to each cell in the first feature map; and
a second existence estimation network estimating existence of a target object having a size within the second predetermined range for the second estimation region related to each cell in the second feature map, wherein
the learning data include first correct answer existence data indicating existence of a target object having a size within the first predetermined range for the each first estimation region in the target image and second correct answer existence data indicating existence of a target object having a size within the second predetermined range for the each second estimation region in the target image, and
the learning unit computes a loss by using the first correct answer object count data, the second correct answer object count data, the first correct answer existence data, the second correct answer existence data, and an output acquired from each of the first counting network, the second counting network, the first existence estimation network, and the second existence estimation network by inputting the target image to the feature extraction network and based on the computed loss, performs learning of the feature extraction network, the first counting network, the second counting network, the first existence estimation network, and the second existence estimation network.

### Claim 11 (depends on 10)

The object count estimation apparatus according to claim 10, further comprising
a learning data generation unit acquiring, for the target image, object information allowing determination of an image region of the each target object and generating the learning data by using the acquired object information, wherein
the learning data generation unit
generates the first correct answer existence data indicating existence of the target object for the first estimation region including one or more target objects having a size within the first predetermined range and indicating nonexistence of the target object for the first estimation region including no target object having a size within the first predetermined range or generates the first correct answer existence data indicating existence of the target object for the first estimation region including a predetermined ratio or greater of an image region representing a target object having a size within the first predetermined range and indicating nonexistence of the target object for the first estimation region not including the predetermined ratio or greater of an image region representing a target object having a size within the first predetermined range, by using the object information, and
generates the second correct answer existence data indicating existence of the target object for the second estimation region including one or more target objects having a size within the second predetermined range and indicating nonexistence of the target object for the second estimation region including no target object having a size within the second predetermined range or generates the second correct answer existence data indicating existence of the target object for the second estimation region including the predetermined ratio or greater of an image region representing a target object having a size within the second predetermined range and indicating nonexistence of the target object for the second estimation region not including the predetermined ratio or greater of an image region representing a target object having a size within the second predetermined range, by using the object information.

### Claim 12 (depends on 7)

The object count estimation apparatus according to claim 7, further comprising:
a first attribute estimation network estimating an attribute of a target object having a size within the first predetermined range for the first estimation region related to each cell in the first feature map; and
a second attribute estimation network estimating an attribute of a target object having a size within the second predetermined range for the second estimation region related to each cell in the second feature map, wherein
the learning data include a target image, first correct answer attribute data indicating an attribute of a target object having a size within the first predetermined range for the each first estimation region in the target image, and second correct answer attribute data indicating an attribute of a target object having a size within the second predetermined range for the each second estimation region in the target image, and
the learning unit computes a loss by using the first correct answer object count data, the second correct answer object count data, the first correct answer attribute data, the second correct answer attribute data, and an output acquired from each of the first counting network, the second counting network, the first attribute estimation network, and the second attribute estimation network by inputting the target image to the feature extraction network and based on the computed loss, performs learning of the feature extraction network, the first counting network, the second counting network, the first attribute estimation network, and the second attribute estimation network.

### Claim 13 (depends on 12)

The object count estimation apparatus according to claim 12, further comprising
a learning data generation unit acquiring, for the target image, object information allowing determination of an image region and an attribute of the each target object and generating the learning data by using the acquired object information, wherein
the learning data generation unit
computes, for the each first estimation region, a statistic of an attribute of a target object having a size within the first predetermined range and being included in the first estimation region, by using the object information, and generates the first correct answer attribute data indicating the computed statistic for the each first estimation region and
computes, for the each second estimation region, a statistic of an attribute of a target object having a size within the second predetermined range and being included in the second estimation region, by using the object information, and generates the second correct answer attribute data indicating the computed statistic for the each second estimation region.

### Claim 14 (depends on 9)

The object count estimation apparatus according to claim 9, wherein
the learning data generation unit
determines the each first estimation region in the target image, based on a ratio between a size of the first feature map and a size of the target image and
determines the each second estimation region in the target image, based on a ratio between a size of the second feature map and a size of the target image.

### Claim 15 (depends on 9)

The object count estimation apparatus according to claim 9, wherein
the learning data generation unit
computes a first reference size by multiplying a size of the first estimation region by a first predetermined ratio and computes the first predetermined range, based on the first reference size and
computes a second reference size by multiplying a size of the second estimation region by a second predetermined ratio and computes the second predetermined range, based on the second reference size.

### Claim 16 (depends on 15)

The object count estimation apparatus according to claim 15, wherein
the first predetermined ratio is equal to the second predetermined ratio.

### Claim 17 (depends on 15)

The object count estimation apparatus according to claim 15, wherein
a right end of the first predetermined range is equal to a left end of the second predetermined range,
a ratio of the first reference size to a left end of the first predetermined range is equal to a ratio of the second reference size to a left end of the second predetermined range, and
a ratio of the first reference size to a right end of the first predetermined range is equal to a ratio of the second reference size to a right end of the second predetermined range.

### Claim 18 (depends on 7)

The object count estimation apparatus according to claim 7, wherein
the learning unit
selects part of the first estimation region and the second estimation region that are included in the target image in such a way that a ratio between a number of cells of an estimation region having a number of the target object being zero and a number of cells of an estimation region having a number of the target object not being zero in first correct answer object count data and second correct answer object count data is a predetermined ratio and
performs learning, based on an error between an output of a network for the selected estimation region and learning data.

### Claim 19

(canceled)

### Claim 20

A control method executed by a computer,
the computer including:
a feature extraction network generating a first feature map and a second feature map by performing convolution processing on a target image;
a first counting network estimating, for each cell in the first feature map, a number of a target object having a size within a first predetermined range for a first estimation region being an image region in the target image related to the cell; and
a second counting network estimating, for each cell in the second feature map, a number of a target object having a size within a second predetermined range for a second estimation region being an image region in the target image related to the cell,
the control method comprising:
by the feature extraction network, generating the first feature map and the second feature map from the target image;
by the first counting network, estimating a number of a target object having a size within the first predetermined range for the each first estimation region by using the first feature map; and
by the second counting network, estimating a number of a target object having a size within the second predetermined range for the each second estimation region by using the second feature map, wherein
a size of the first feature map is larger than a size of the second feature map, and
a size included in the first predetermined range is smaller than a size included in the second predetermined range.

### Claim at position 21

21-38. (canceled)

### Claim 39 (depends on 20)

A non-transitory computer readable medium having recorded thereon a program for causing a computer to execute the control method according to claim 20.
