Skip to main content

RetinaFace Post-Processing

Module for post-processing of RetinaFaceNet inference results.

Model outputs are floating points tensors:

  1. name: face_rpn_cls_prob, shape: 1, 16800, 2, format: B, A*C, 2, represents detection scores for 2 classes: background and face.

  2. name: face_rpn_bbox_pred, shape: 1, 16800, 4, format: B, A*C, 4, represents detection box deltas.

  3. name: face_rpn_landmark_pred, shape: 1, 16800, 10, format: B, A*C, 10, represents facial landmarks.

For each output format:

  • B - batch size
  • A - number of anchors
  • C - sum of products of dimensions for each stride, C = H32 * W32 + H16 * W16 + H8 * W8
  • H - feature height with the corresponding stride
  • W - feature width with the corresponding stride

Detection box deltas have format [dx, dy, dh, dw], where:

  • (dx, dy) - regression for center of bounding box
  • (dh, dw) - regression by height and width of bounding box

Facial landmarks have format [x1, y1, x2, y2, x3, y3, x4, y4, x5, y5], where:

  • (x1, y1) - coordinates of left eye
  • (x2, y2) - coordinates of rights eye
  • (x3, y3) - coordinates of nose
  • (x4, y4) - coordinates of left mouth corner
  • (x5, y5) - coordinates of right mouth corner

Release files for retinaface-post-processing 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for retinaface-post-processing 0.0.4
File Size Uploaded
retinaface_post_processing-0.0.4.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for retinaface-post-processing 0.0.4
File Interpreter ABI Platform
retinaface_post_processing-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / retinaface_post_processing-0.0.4.tar.gz

Download URL retinaface_post_processing-0.0.4.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3b569553ba060e206a411998fdb28f5d80b55ce19821e547d5766d6e83d20b80
BLAKE2b-256 checksum
How to use checksums
9cdcf6280c2e453a4bdb82892865fd89921a368292698ec8c51870fe0f8d2b46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / retinaface_post_processing-0.0.4-py3-none-any.whl

Download URL retinaface_post_processing-0.0.4-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
290fa2cac2b8b91d3eed5026879354c21caab2c08ee3f1ccea52bee5a21c4fef
BLAKE2b-256 checksum
How to use checksums
88a824d7bf09dab5fba3f6d2e676bdb71713e809162f958d05273bc1bb6496eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page