Adding Image Overlay OpenCV for Android
问题 I am looking for a way to overlay an image in openCV(2.4.3) for Android. Basically, I am doing some image filtering, and I want the user to be able to see the cleanly filtered video stream, but in the upper hand corner see a preview of what the filter is doing: I have tried setting an ROI on the filtered image, and the using AddWeighted in JNI code like this In Activity: liveFrame.copyTo(mRgba); //going to be used as the unfiltered stream //image filtering happends here... Rect roi = new Rect