dlib icon indicating copy to clipboard operation
dlib copied to clipboard

Image turns blue

Open praveenlovely opened this issue 10 years ago • 2 comments

Hi,

I have a quick question. I am using your library to extract specific points from a face image using python. After I use the dlib detector, the image turns bluish. Is there any specific reason for this and is there a way to prevent it? Please explain.

praveenlovely avatar Oct 25 '16 16:10 praveenlovely

Nothing in dlib should be making blue images.

davisking avatar Oct 25 '16 18:10 davisking

@praveenlovelyl, this can happen if you misinterpret BGR image as RGB. Try performing a color transformation.

vicproon avatar Nov 01 '16 07:11 vicproon