# US 2022/0292282 A1 · Identifying last person in queue

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

- Number: US 2022/0292282 A1
- Document ID: US20220292282A1
- Status: Published application
- Kind: A1
- Application number: 17/201,001
- Filed: 2021-03-15
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: JAYAKORN VONGKULBHISAL
- Web page: https://patentgrep.com/patent/US20220292282A1

## CPC

- G06V 40/10: Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06T 7/70: Determining position or orientation of objects or cameras (camera calibration G06T7/80)
- G06V 20/53: {Recognition of crowd images, e.g. recognition of crowd congestion}
- G06T 2207/30196: Human being; Person
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method, a computer program product, and a computer system identifies a last person of a queue. The method includes receiving an image of the queue where the image includes a plurality of individuals comprising the queue. The method includes determining positions and facing directions of the individuals comprising the queue. The method includes identifying the last person of the queue based on a vector field analysis according to the positions and the facing directions of the individuals comprising the queue. The method includes generating instructions to join the queue based on the identified last person of the queue. The instructions include a modified image indicating the last person of the queue in the image.

## Claims

### Claim 1

A computer-implemented method for identifying a last person of a queue, the method comprising:
receiving an image of the queue, the image including a plurality of individuals comprising the queue;
determining positions and facing directions of the individuals comprising the queue;
identifying the last person of the queue based on a vector field analysis according to the positions and the facing directions of the individuals comprising the queue; and
generating instructions to join the queue based on the identified last person of the queue, the instructions being a modified image indicating the last person of the queue in the image.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein determining the positions and the facing directions is based on detecting each of the individuals, the queue in which each of the individuals is a part, and a three-dimensional pose estimation.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the vector field analysis is based on a vector field utilizing a function that takes a three-dimensional position and returns a three-dimensional direction indicative of a head of the queue.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the vector field analysis utilizes a negative vector field of the vector field, the negative vector field being indicative of an end of the queue, and wherein one of the individuals occupying a space coinciding with the end of the queue is identified as the last person of the queue.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, wherein the vector field analysis includes fixed point iterations of the vector field until a confidence that the last person of the queue has been identified has reached a confidence threshold.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the vector field analysis includes filtering the facing directions to find straight lines of the facing directions pointing toward a head of the queue.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the image is captured with a first-person perspective.

### Claim 8

A computer program product for identifying a last person of a queue, the computer program product comprising:
one or more non-transitory computer-readable storage media and program instructions stored on the one or more non-transitory computer-readable storage media capable of performing a method, the method comprising:
receiving an image of the queue, the image including a plurality of individuals comprising the queue;
determining positions and facing directions of the individuals comprising the queue;
identifying the last person of the queue based on a vector field analysis according to the positions and the facing directions of the individuals comprising the queue; and
generating instructions to join the queue based on the identified last person of the queue, the instructions being a modified image indicating the last person of the queue in the image.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein determining the positions and the facing directions is based on detecting each of the individuals, the queue in which each of the individuals is a part, and a three-dimensional pose estimation.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the vector field analysis is based on a vector field utilizing a function that takes a three-dimensional position and returns a three-dimensional direction indicative of a head of the queue.

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein the vector field analysis utilizes a negative vector field of the vector field, the negative vector field being indicative of an end of the queue, and wherein one of the individuals occupying a space coinciding with the end of the queue is identified as the last person of the queue.

### Claim 12 (depends on 10)

The computer program product of claim 10, wherein the vector field analysis includes fixed point iterations of the vector field until a confidence that the last person of the queue has been identified has reached a confidence threshold.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein the vector field analysis includes filtering the facing directions to find straight lines of the facing directions pointing toward a head of the queue.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the image is captured with a first-person perspective.

### Claim 15

A computer system for identifying a last person of a queue, the computer system comprising:
one or more computer processors, one or more computer-readable storage media, and program instructions stored on the one or more of the computer-readable storage media for execution by at least one of the one or more processors capable of performing a method, the method comprising:
receiving an image of the queue, the image including a plurality of individuals comprising the queue;
determining positions and facing directions of the individuals comprising the queue;
identifying the last person of the queue based on a vector field analysis according to the positions and the facing directions of the individuals comprising the queue; and
generating instructions to join the queue based on the identified last person of the queue, the instructions being a modified image indicating the last person of the queue in the image.

### Claim 16 (depends on 15)

The computer system of claim 15, wherein determining the positions and the facing directions is based on detecting each of the individuals, the queue in which each of the individuals is a part, and a three-dimensional pose estimation.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein the vector field analysis is based on a vector field utilizing a function that takes a three-dimensional position and returns a three-dimensional direction indicative of a head of the queue.

### Claim 18 (depends on 17)

The computer system of claim 17, wherein the vector field analysis utilizes a negative vector field of the vector field, the negative vector field being indicative of an end of the queue, and wherein one of the individuals occupying a space coinciding with the end of the queue is identified as the last person of the queue.

### Claim 19 (depends on 17)

The computer system of claim 17, wherein the vector field analysis includes fixed point iterations of the vector field until a confidence that the last person of the queue has been identified has reached a confidence threshold.

### Claim 20 (depends on 15)

The computer system of claim 15, wherein the vector field analysis includes filtering the facing directions to find straight lines of the facing directions pointing toward a head of the queue.
