mtmn
Data Structures | Enumerations | Functions
mtmn.h File Reference
#include "dl_lib.h"
Include dependency graph for mtmn.h:

Go to the source code of this file.

Data Structures

struct  net_config_t
 
struct  mtmn_net_t
 

Enumerations

enum  net_type_en { PNET = 0, RNET = 1, ONET = 2 }
 

Functions

mtmn_net_tpnet (dl_matrix3du_t *in)
 Forward the pnet process, coarse detection. More...
 
mtmn_net_trnet_with_score_verify (dl_matrix3du_t *in, float threshold)
 Forward the rnet process, fine determine the boxes from pnet. More...
 
mtmn_net_tonet_with_score_verify (dl_matrix3du_t *in, float threshold)
 Forward the onet process, fine determine the boxes from rnet. More...
 

Enumeration Type Documentation

Enumerator
PNET 
RNET 
ONET 

Function Documentation

mtmn_net_t* onet_with_score_verify ( dl_matrix3du_t *  in,
float  threshold 
)

Forward the onet process, fine determine the boxes from rnet.

Parameters
inImage matrix, rgb888 format
thresholdScore threshold to detect human face
Returns
Scores for every box, box offset, and landmark with respect.
mtmn_net_t* pnet ( dl_matrix3du_t *  in)

Forward the pnet process, coarse detection.

Parameters
inImage matrix, rgb888 format, size is 320x240
Returns
Scores for every pixel, and box offset with respect.
mtmn_net_t* rnet_with_score_verify ( dl_matrix3du_t *  in,
float  threshold 
)

Forward the rnet process, fine determine the boxes from pnet.

Parameters
inImage matrix, rgb888 format
thresholdScore threshold to detect human face
Returns
Scores for every box, and box offset with respect.