We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29d593f commit 6de5306Copy full SHA for 6de5306
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