C# Class face_detection_tool.Evaluation

Exibir arquivo Open project: AlfredXiangWu/face_detection_tool

Public Methods

Method Description
singleImageMatch ( ImageInfo image_info, double thr ) : int

Evaluate single image to compute true positive samples and false positive samples

Private Methods

Method Description
computeArea ( double xtl, double ytl, double xbr, double ybr ) : double

Compute rectangle area

computeIoU ( double gt_face_fr, double detect_face_fr ) : double

Compute the IoU score of two bounding box

Method Details

singleImageMatch() public method

Evaluate single image to compute true positive samples and false positive samples
public singleImageMatch ( ImageInfo image_info, double thr ) : int
image_info ImageInfo
thr double
return int