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.54k stars 1.03k forks source link

"imutils/face_utils/helpers.py", line 83, in visualize_facial_landmarks color[i] index out or range #156

Open stepodev opened 5 years ago

stepodev commented 5 years ago

FACIAL_LANDMARKS_68_IDXS provides 8 landmarks, "colors" in line 65 provides only 7 colors. Leads to index out of range bug if "jaws" have to be drawn.