i have an app and want to crop a custom rectangle from that shap. have any one solution how to crop. my code is > Rect rect=new Rect(1000,1000, mat.size().width, mat.size().height);
Mat output=new Mat(mat, rect);
Bitmap b=converMat2Bitmat(output);
↧