added new extractor: S3FD,
all extractors now produce less false-positive faces
This commit is contained in:
+4
-1
@@ -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)))
|
||||
Reference in New Issue
Block a user