Skip to content

Conversation

@katsunori-waragai
Copy link

@katsunori-waragai katsunori-waragai commented Nov 6, 2023

why

img[:, :, ::-1] is not suitable for some case.

https://stackoverflow.com/questions/75926662/face-recognition-problem-with-face-encodings-function

It suggest to use cv2.cvtColor(img, cv2.COLOR_BGR2RGB)

what

replaced by cv2.cvtColor(img, cv2.COLOR_BGR2RGB)

Copy link

@dhavalvoraa dhavalvoraa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ran into same issue

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.

3 participants