Merge pull request #3714 from uqtimes:fixUIImageToMat
This commit is contained in:
commit
1d356b6a48
@ -120,5 +120,4 @@ void UIImageToMat(const UIImage* image,
|
||||
CGContextDrawImage(contextRef, CGRectMake(0, 0, cols, rows),
|
||||
image.CGImage);
|
||||
CGContextRelease(contextRef);
|
||||
CGColorSpaceRelease(colorSpace);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user