View Full Version : C Wrapper dll SetFrameReadyCallback Image flipped

March 13, 2014, 09:53:41
Hello again!

I am using IC_SetFrameReadyCallback of the C Wrapper dll (tisgrabber.dll version with QT environment.
In the callback fonction, the image I get from the buffer is always flipped (vertically or horizontally), either showed by a QT windows or saved by Opencv.
I tried with IC_SnapImage and IC_StartLive, the image is correct.
It looks like that the image in the buffered is set to be flipped but I don't find how to get the flip property, or how to set it by the C Wrapper dll.
My camera is DMK 72AUC02.

Thanks in advance for any advice.

Best regards,

Stefan Geissler
March 13, 2014, 12:56:42

This is normal. If the image provided from IC Imaging Control is forwared to OpenCV, the image is bottom up.

I suggest to flip the image with the appropriate OpenCV function.

March 13, 2014, 15:39:56
Thank you Stefan for your answer, I will flip it by OpenCV function.