如何使用Opencv在Android中将PNG从Java类传递到本机类

 收藏

I want to pass a PNG format image file to native class to perform alpha-blending using OpenCV. For that I need all the 4 channels of the PNG. The image file that I want to pass is in my assets folder. I would like to know what is the best way to pass it to the native class? Thank you.

I'm using with Android Studio 3.3.2 and OpenCV4Android 4.1.0

回复