yuvToMat
yuvToMat copied to clipboard
Clip function not found on YuvImage
Thanks for this awesome project (and of course the OpenCV package for gradle)! This really saved me so much trouble. I can convert my images to Mats, but when I try to use the clipping, then for
val yuv = YuvImage(image).clip(left=20, top=20, right=40, bottom=40)
I get a compile error saying
Expression 'YuvImage' of type 'YuvImage.Factory' cannot be invoked as a function. The function 'invoke()' is not found
My versions:
ext.kotlin_version = '1.3.50'
implementation "com.quickbirdstudios:yuvtomat:1.1.0"
implementation 'com.quickbirdstudios:opencv:4.1.0'
Do you have an idea what happens there?