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