Skip to content

hello-bryan/HelloOpenCV

Repository files navigation

HelloOpenCV

OpenCV VERSION : 4.1.1 opencv android api

project clone

git clone https://github.com/hello-bryan/HelloOpenCV.git

MainActivity

Code

Bitmap to Mat

                    Mat gray = new Mat();
                    Utils.bitmapToMat(bitmap, gray);

Convert gray

                    Imgproc.cvtColor(gray, gray, Imgproc.COLOR_RGBA2GRAY);

Mat to Bitmap

                    Bitmap grayBitmap = Bitmap.createBitmap(gray.cols(), gray.rows(), null);
                    Utils.matToBitmap(gray, grayBitmap);
  • github desktop test 중

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published