I need to pass an image (Image _thresholdedImage) like byte array... I don't know how I can do this. Any idea? Thank you!
_thresholdedImage.Source = ImageSource.FromStream (() => photo.Source);
var tessResult = await _tesseractApi.SetImage(imageBytes);
SetImage(). AssumingSetImage()takes abyte[], use the answer provided in here: stackoverflow.com/a/23731642/5296568 . Adjust the format to the whatever the function expects (Bitmap, maybe?). (I only found the C++ documentation at zdenop.github.io/tesseract-doc/… ).