Commit 0d2b8f4b authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed the channel ordering of rgba images (by Eduard)

parent 81d6400f
......@@ -522,9 +522,9 @@ static CGFloat DegreesToRadians(CGFloat degrees) {return degrees * M_PI / 180;};
}
// check if matrix data pointer or dimensions were changed by the delegate
bool iOSimage = true;
bool iOSimage = false;
if (height == image.rows && width == image.cols && format_opencv == image.type() && bufferAddress == image.data && bytesPerRow == image.step) {
iOSimage = false;
iOSimage = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment