I am working on my first UWP app using portable.aforge.net. I am using the article at:
http://www.aforgenet.com/articles/shape_checker/
as my guidelines to get started, but I am having trouble figuring out how to get a valid parameter to pass to the ProcessImage method (which is obviously a very important method here). The three choices for the parameter are:
System.Drawing.Bitmap - This will not work because System.Drawing is (from what I have heard) not available in UWP
BitmapData
AForge.Imaging.UnmanagedImage
I have a MediaCapture and/or SoftwareBitmap from which to create the parameter. System.Drawing.Bitmap will not work because System.Drawing is (from what I have heard) not available in UWP. I am not sure what to do to create the BitmapData or UnmanagedImage (I am not sure what to use for all of their constructors' parameters). Can anybody help me figure out what to pass to the constructors and/or ProcessImage? Thanks.