Skip to content

Instantly share code, notes, and snippets.

@jason9075
Created June 12, 2022 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jason9075/f5c66612eada4ca42cf62d105de2de2f to your computer and use it in GitHub Desktop.
Save jason9075/f5c66612eada4ca42cf62d105de2de2f to your computer and use it in GitHub Desktop.
package com.jason9075.myopencv;
import android.graphics.Bitmap;
public class NativeLib {
static {
System.loadLibrary("myopencv");
}
public native String stringFromJNI();
public native void toGrey(Bitmap bitmapIn, Bitmap bitmapOut);
public native ImageInfo getInfo(Bitmap bitmap);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment