You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Utils.bitmapToMat(param1, param2), the only available Utils are from package org.opencv.android. I cant find Utils from package org.bytedeco.opencv.android .
This lead to error since param2 will require org.opencv.core.Mat instead of org.bytedeco.opencv.opencv_core.Mat
I've tried rough casting it like param2 as org.opencv.core.Mat but it lead to error "unable to cast".
Are there any alternative way to convert bitmap to mat easily?
and also why package org.opencv.* still exist in the library? Is that how wrappers work?
Hi,
Build target : Android 21+
Language : Kotlin
My gradle :
When using
Utils.bitmapToMat(param1, param2)
, the only available Utils are from packageorg.opencv.android
. I cant find Utils from packageorg.bytedeco.opencv.android
.This lead to error since param2 will require
org.opencv.core.Mat
instead oforg.bytedeco.opencv.opencv_core.Mat
I've tried rough casting it like
param2 as org.opencv.core.Mat
but it lead to error "unable to cast".Are there any alternative way to convert bitmap to mat easily?
and also why package
org.opencv.*
still exist in the library? Is that how wrappers work?Originally posted by @nofurylion in #549 (comment)
The text was updated successfully, but these errors were encountered: