Apply the active MSR filters on camera frame

88 Views Asked by At

I use OpenCV for detect eyes in my project and I intend to use Catalano library for use MultiScaleRetinex(for illumination enhancement) but there is problem when I passed camera frame to library, the library just accepted bitmap parameters and I don't know what to do...

Any help will be appreciated

PS:I attache screen shot

screen shot android studio

1

There are 1 best solutions below

0
On

Hi everybody or nobody I solve this with:

Bitmap b21 =  Bitmap.createBitmap(mRgba.cols(), mRgba.rows(),Bitmap.Config.ARGB_8888);

Utils.matToBitmap(mRgba, b21);