1 | initial version |
Thank you for the answers and comments. I prefer not to use Android NDK at the moment, and thus have tried saving Mat objects as Bitmap
images. A boolean
variable would be set (and amended) via Android's SharedPreferences
class to signify whether the data needs to be read from the phone's storage as .Bmp
(already saved), or need to be processed from scratch (which should, ideally, be only once).
bitmapToMat
.matToBitmap
.I still need to try this method in more depth, but I think it should offer a reasonable alternative.