Skip to content

Clip function not found on YuvImage #2

@jcklie

Description

@jcklie

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions