PyImageSearch / imutils

A series of convenience functions to make basic image processing operations such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and Python.
MIT License
4.53k stars 1.02k forks source link

debug 'jaw' case code in visualize_facial_landmarks function #218

Open yoonho0922 opened 4 years ago

yoonho0922 commented 4 years ago

Code 'cv2.line(overlay, ptA, ptB, colors[i], 2)' IndexError: list index out of range

because of color[7]. List color have only 7 object

yoonho0922 commented 4 years ago

FACIAL_LANDMARKS_68_IDXS have 8 object but color have 7 object