Skip to content

debug 'jaw' case code in visualize_facial_landmarks function#218

Open
yoonho0922 wants to merge 1 commit intoPyImageSearch:masterfrom
yoonho0922:patch-1
Open

debug 'jaw' case code in visualize_facial_landmarks function#218
yoonho0922 wants to merge 1 commit intoPyImageSearch:masterfrom
yoonho0922:patch-1

Conversation

@yoonho0922
Copy link

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

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
Copy link
Author

FACIAL_LANDMARKS_68_IDXS have 8 object
but color have 7 object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant