RetinaFace Post-Processing is a module contains code for post-processing of RetinaFace inference results
Project description
RetinaFace Post-Processing
Module for post-processing of RetinaFaceNet inference results.
Model outputs are floating points tensors:
-
name:
face_rpn_cls_prob
, shape:1, 16800, 2
, format:B, A*C, 2
, represents detection scores for 2 classes: background and face. -
name:
face_rpn_bbox_pred
, shape:1, 16800, 4
, format:B, A*C, 4
, represents detection box deltas. -
name:
face_rpn_landmark_pred
, shape:1, 16800, 10
, format:B, A*C, 10
, represents facial landmarks.
For each output format:
B
- batch sizeA
- number of anchorsC
- sum of products of dimensions for each stride,C = H32 * W32 + H16 * W16 + H8 * W8
H
- feature height with the corresponding strideW
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file retinaface_post_processing-0.0.4.tar.gz
.
File metadata
- Download URL: retinaface_post_processing-0.0.4.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b569553ba060e206a411998fdb28f5d80b55ce19821e547d5766d6e83d20b80 |
|
MD5 | 39316f7ec9e488ebddbdf76ccc4973aa |
|
BLAKE2b-256 | 9cdcf6280c2e453a4bdb82892865fd89921a368292698ec8c51870fe0f8d2b46 |
File details
Details for the file retinaface_post_processing-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: retinaface_post_processing-0.0.4-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 290fa2cac2b8b91d3eed5026879354c21caab2c08ee3f1ccea52bee5a21c4fef |
|
MD5 | d0a55d9470f1724d878eab5dc677e2be |
|
BLAKE2b-256 | 88a824d7bf09dab5fba3f6d2e676bdb71713e809162f958d05273bc1bb6496eb |