Ask Your Question

mrki's profile - activity

2015-05-07 08:19:59 -0600 asked a question Capture image on android (with effect)

I will try to simplify my problem. Lets say i just want to see grayscale images using camera, i do it this way:

public Mat onCameraFrame(CvCameraViewFrame inputFrame) {

return inputFrame.gray(); }

And this works just fine, i can now dinamically see grey image on my screen. But problem is when i try to capture this image (frame). Instead of capturing it in grey, it captures it in color (it ignores all the effects i do in onCameraFrame). To capture image i use the same way done in Tutorial 3 - Camera Control.

So, to recap, problem is whatever i do in onCameraFrame (make image grey, detect circles...) when i capture image i dont get any of those effects.

How can i fix this ? Please help me :((