esimov / pigo

Fast face detection, pupil/eyes localization and facial landmark points detection library in pure Go.
MIT License
4.39k stars 310 forks source link

Bug on demo #22

Closed Archie1978 closed 2 years ago

Archie1978 commented 5 years ago

Hello, I had a bug when I execute demo. It's nothing bad ;) .

github.com/esimov/pigo/examples/facedet # python2 demo.py Traceback (most recent call last): File "demo.py", line 66, in cv2.circle(frame, (int(det[1]), int(det[0])), int(det[2]/2.0), (0, 0, 255), 2) OverflowError: signed integer is greater than maximum

esimov commented 5 years ago

Hi, when this error happening? Always or sometimes? Can you give me more details?

MoNsTeR-creator commented 5 years ago

If a value exceeds the largest integer representation, the Microsoft compiler generates an error.