trueface.utils¶
utility methods
Functions
adjust_brightness_and_contrast (image[, …]) |
|
adjust_gamma (image[, gamma]) |
|
bbox_center (bbox) |
|
bbox_to_rect (bbox) |
|
cosine_probability (clf, cosine_similarity) |
|
det_to_rect (det, frame) |
|
get_rect_overlap_area (rect_a, rect_b) |
|
iou (boxA, boxB) |
|
iou_rect (box_a, box_b) |
|
rect_area (rect) |
|
rect_center (rect) |
|
rect_overlap_ratio (rect_a, rect_b) |
|
rect_to_bbox (rect) |