mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-16 10:03:41 -07:00
added new extractor: S3FD,
all extractors now produce less false-positive faces
This commit is contained in:
parent
9440224556
commit
fbf39d2727
10 changed files with 83 additions and 112 deletions
|
@ -19,4 +19,7 @@ def rotationMatrixToEulerAngles(R) :
|
|||
x = math.atan2(-R[1,2], R[1,1])
|
||||
y = math.atan2(-R[2,0], sy)
|
||||
z = 0
|
||||
return np.array([x, y, z])
|
||||
return np.array([x, y, z])
|
||||
|
||||
def polygon_area(x,y):
|
||||
return 0.5*np.abs(np.dot(x,np.roll(y,1))-np.dot(y,np.roll(x,1)))
|
Loading…
Add table
Add a link
Reference in a new issue