ofxDlib face detection problem

Hello everybody, I am using @bakercp addon ofxDlib to get the features out of a face. I am using the master branch on a mac mini 2, and I am able to run this example:

faceDetector.drawFeatures();

I have noticed that the program works correctly with pngs or jpgs images. But as soon a .png image has transparencies the detected points are all shifted to the right. Is it a known issue? is there a workaround?

Guessing you might need to do img.setImageType(OF_IMAGE_COLOR); or convert the pixels to OF_IMAGE_COLOR before passing to dlib.

The shift is probably due to the extra data causing an offset?

Thanks @theo, that was the problem. I am converting it to OF_IMAGE_COLOR and pass it to the detector, then I draw the image using the original alpha image.