Closed abhilb closed 3 years ago
When there is only one face in the input image, the original implementation gives an error
Traceback (most recent call last): File "python/detect.py", line 96, in <module> x1=d[0], y1=d[1], x2=d[2], y2=d[3], score=d[-1])) IndexError: invalid index to scalar variable.
This commit fixes that error.
Thanks for the contribution!
When there is only one face in the input image, the original implementation gives an error
This commit fixes that error.