person-detection-0302#

Use Case and High-Level Description#

This is a person detector that is based on Resnet50 backbone with ATSS head for 1280x720 resolution.

Example#

Specification#

Metric

Value

AP @ [ IoU=0.50:0.95 ]

0.447 (internal test set)

GFlops

370.2079

MParams

51.1641

Source framework

PyTorch*

Average Precision (AP) is defined as an area under the precision/recall curve.

Inputs#

Image, name: image, shape: 1, 3, 720, 1280 in the format B, C, H, W, where:

  • B - batch size

  • C - number of channels

  • H - image height

  • W - image width

Expected color order is BGR.

Outputs#

  1. The boxes is a blob with the shape 100, 5 in the format N, 5, where N is the number of detected bounding boxes. For each detection, the description has the format: [x_min, y_min, x_max, y_max, conf], where:

    • (x_min, y_min) - coordinates of the top left bounding box corner

    • (x_max, y_max) - coordinates of the bottom right bounding box corner.

    • conf - confidence for the predicted class

  2. The labels is a blob with the shape 100 in the format N, where N is the number of detected bounding boxes. In case of person detection, it is equal to 1 for each detected box with person in it and 0 for the background.

Demo usage#

The model can be used in the following demos provided by the Open Model Zoo to show its capabilities: