# US 2021/0081679 A1 · Crowd counting

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

- Number: US 2021/0081679 A1
- Document ID: US20210081679A1
- Status: Published application
- Kind: A1
- Application number: 16/571,221
- Filed: 2019-09-16
- Published: 2021-03-18
- Earliest claimed: 2019-09-16
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Frederic Bauchot
- Web page: https://patentgrep.com/patent/US20210081679A1

## CPC

- G06V 20/53: {Recognition of crowd images, e.g. recognition of crowd congestion}
- G06T 7/215: Motion-based segmentation
- G06V 40/103: {Static body considered as a whole, e.g. static pedestrian or occupant recognition}
- G08B 13/19673: {Addition of time stamp, i.e. time metadata, to video stream}
- H04W 4/023: {using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds}
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- G06T 2207/30242: Counting objects in image
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G08B: SIGNALLING SYSTEMS, e.g. PERSONAL CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Embodiments of the present invention describe receiving, by a first device, an information vector over a short-range communication network established between the first device and a second device. Additionally, embodiments comprise determining the first identifier does not match the second identifier, merging one or more smart maps from the two or more computing devices together, comparing a first set of devices represented in the first set of participants and a second set of devices represented in the second set of participants, identifying pairs of matching devices in the first set of devices and the second set of devices, generating a set of unique devices by discarding one device for each pair of matching devices identified, and outputting a smart map comprising a count of participants equal to the sum of participants associated with the set of unique devices.

## Claims

### Claim 1

A computer-implemented method for counting participants in a crowded environment, the method comprising:
receiving, by a first device, an information vector over a short-range communication network established between the first device and a second device, the first information vector sent by the second device, the first device having a first identifier representing a first group, the first device associated with a first set of participants having a first count, the second device having a second identifier representing a second group, the second device associated with a second set of participants having a second count;
determining the first identifier does not match the second identifier;
merging one or more smart maps from the two or more computing devices together;
comparing a first set of devices represented in the first set of participants and a second set of devices represented in the second set of participants;
identifying pairs of matching devices in the first set of devices and the second set of devices;
generating a set of unique devices by discarding one device for each pair of matching devices identified; and
outputting a smart map comprising a count of participants equal to a sum of participants associated with the set of unique devices.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1 further comprising:
responsive to determining the that the first group and second group are not the same, determining that a second smart map size or second group size is greater than a first smart map size or a first group size or that the second group size is equal to the first group size and the second identifier is greater than the first identifier; and
setting parameters of the merge based on the second group identifier.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein merging comprises:
extracting map information from smart maps associated with the first device and second device, respectively; and
synchronizing time stamps in recent maps associated with the first device and second device, respectively.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3 further comprising:
syncing two or more smart maps;
extracting parameters from the synced two or more smart maps; and
evaluating time stamps from the synced two or more smart maps.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4 further comprising:
reshaping, by the one or more processors, the two or more synced smart maps; and
determining, by the one or more processors, that a mode of the synced two or more synced smart maps are equal to “Same”.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5 further comprising:
merging the synced two or more smart maps together assuming the two or more smart maps comprise same members;
creating a merges smart map, wherein the merged smart map comprises an updated recent ma and updated AM.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1 further comprising:
updating the first information vector with the second group identifier.

### Claim 8

A computer program product for counting participants in a crowd without an infrastructure, the computer program product comprising:
one or more computer readable storage devices and program instructions stored on the one or more computer readable storage devices, the stored program instructions comprising:
program instructions to receive, by a first device, an information vector over a short-range communication network established between the first device and a second device, the first information vector sent by the second device, the first device having a first identifier representing a first group, the first device associated with a first set of participants having a first count, the second device having a second identifier representing a second group, the second device associated with a second set of participants having a second count;
program instructions to determine the first identifier does not match the second identifier;
program instructions to merge one or more smart maps from the two or more computing devices together;
program instructions to compare a first set of devices represented in the first set of participants and a second set of devices represented in the second set of participants;
program instructions to identify pairs of matching devices in the first set of devices and the second set of devices;
program instructions to generate a set of unique devices by discarding one device for each pair of matching devices identified; and
program instructions to output a smart map comprising a count of participants equal to a sum of participants associated with the set of unique devices.

### Claim 9 (depends on 1)

The computer program product of claim 1 further comprising:
responsive to determining the that the first group and second group are not the same, program instructions to determine that a second smart map size or second group size is greater than a first smart map size or a first group size or that the second group size is equal to the first group size and the second identifier is greater than the first identifier; and
program instructions to set parameters of the merge based on the second group identifier.

### Claim 10 (depends on 1)

The computer program product of claim 1, wherein merging comprises:
program instructions to extract map information from smart maps associated with the first device and second device, respectively; and
program instructions to synchronize time stamps in recent maps associated with the first device and second device, respectively.

### Claim 11 (depends on 10)

The computer program product of claim 10 further comprising:
program instructions to sync two or more smart maps;
program instructions to extract parameters from the synced two or more smart maps; and
program instructions to evaluate time stamps from the synced two or more smart maps.

### Claim 12 (depends on 11)

The computer program product of claim 11 further comprising:
program instructions to reshape, by the one or more processors, the two or more synced smart maps; and
program instructions to determine, by the one or more processors, that a mode of the synced two or more synced smart maps are equal to “Same”.

### Claim 13 (depends on 12)

The computer program product of claim 12 further comprising:
program instructions to merge the synced two or more smart maps together assuming the two or more smart maps comprise same members;
program instructions to create a merges smart map, wherein the merged smart map comprises an updated recent ma and updated AM.

### Claim 14 (depends on 1)

The computer program product of claim 1 further comprising:
program instructions to update the first information vector with the second group identifier.

### Claim 15

A computer system for counting participants in a crowd without an infrastructure, the computer system comprising:
one or more computer processors;
one or more computer readable storage devices;
program instructions stored on the one or more computer readable storage devices for execution by at least one of the one or more computer processors, the stored program instructions comprising:
program instructions to receive, by a first device, an information vector over a short-range communication network established between the first device and a second device, the first information vector sent by the second device, the first device having a first identifier representing a first group, the first device associated with a first set of participants having a first count, the second device having a second identifier representing a second group, the second device associated with a second set of participants having a second count;
program instructions to determine the first identifier does not match the second identifier;
program instructions to merge one or more smart maps from the two or more computing devices together;
program instructions to compare a first set of devices represented in the first set of participants and a second set of devices represented in the second set of participants;
program instructions to identify pairs of matching devices in the first set of devices and the second set of devices;
program instructions to generate a set of unique devices by discarding one device for each pair of matching devices identified; and
program instructions to output a smart map comprising a count of participants equal to a sum of participants associated with the set of unique devices.

### Claim 16 (depends on 1)

The computer system of claim 1 further comprising:
responsive to determining the that the first group and second group are not the same, program instructions to determine that a second smart map size or second group size is greater than a first smart map size or a first group size or that the second group size is equal to the first group size and the second identifier is greater than the first identifier; and
program instructions to set parameters of the merge based on the second group identifier.

### Claim 17 (depends on 1)

The computer system of claim 1, wherein merging comprises:
program instructions to extract map information from smart maps associated with the first device and second device, respectively; and
program instructions to synchronize time stamps in recent maps associated with the first device and second device, respectively.

### Claim 18 (depends on 17)

The computer system of claim 17 further comprising:
program instructions to sync two or more smart maps;
program instructions to extract parameters from the synced two or more smart maps; and
program instructions to evaluate time stamps from the synced two or more smart maps.

### Claim 19 (depends on 18)

The computer system of claim 18 further comprising: program instructions to reshape, by the one or more processors, the two or more synced smart maps;
program instructions to determine, by the one or more processors, that a mode of the synced two or more synced smart maps are equal to “Same”;
program instructions to merge the synced two or more smart maps together assuming the two or more smart maps comprise same members; and
program instructions to create a merges smart map, wherein the merged smart map comprises an updated recent ma and updated AM.

### Claim 20 (depends on 1)

The computer system of claim 1 further comprising:
program instructions to update the first information vector with the second group identifier.
