opencv 4.10
This commit is contained in:
@@ -129,7 +129,8 @@ public class ModelAIOperation: BaseOperation
|
||||
|
||||
|
||||
// black and white mask
|
||||
var mask = new Mat(outputSizeArray[0], outputSizeArray[1], MatType.CV_8UC1, resultColor);
|
||||
var mask = new Mat(outputSizeArray[0], outputSizeArray[1], MatType.CV_8UC1);
|
||||
mask.SetArray(resultColor);
|
||||
|
||||
var maskResized = mask.Resize(new Size(currentImage.ImageData.Width, currentImage.ImageData.Height));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user