We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29d593f + 6de5306 commit 059fcdfCopy full SHA for 059fcdf
retinaface/commons/postprocess.py
@@ -87,6 +87,8 @@ def alignment_procedure(
87
88
img = Image.fromarray(img)
89
img = np.array(img.rotate(direction * angle))
90
+ else:
91
+ angle = 0.0 # Dummy value for undefined angle
92
93
# -----------------------
94
0 commit comments