Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clip function not found on YuvImage #2

Open
jcklie opened this issue Aug 30, 2019 · 0 comments
Open

Clip function not found on YuvImage #2

jcklie opened this issue Aug 30, 2019 · 0 comments

Comments

@jcklie
Copy link

jcklie commented Aug 30, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant