FaceAligner: added 'head_mode', can be used with HEAD models.

This commit is contained in:
iperov 2021-08-07 19:16:25 +04:00
commit 72166cc190
11 changed files with 177 additions and 40 deletions

View file

@ -1,4 +1,4 @@
from .Affine2DMat import Affine2DMat, Affine2DUniMat
from .math_ import (intersect_two_line, polygon_area, segment_length,
segment_to_vector)
from .math_ import (intersect_two_line, polygon_area, rotation_matrix_to_euler,
segment_length, segment_to_vector)
from .nms import nms