Ask Your Question

Alessandro's profile - activity

2013-03-28 10:07:22 -0600 answered a question How can I change the sampling period for an OpenCV frame on an Android device?

Hello!

I've never used OpenCV on Android, but, if I understood correctly the problem, I would give a try at the VideoCapture::set method to change the CV_CAP_PROP_EXPOSURE parameter. Though this would be a pretty rough solution to your problem.

2013-03-27 10:06:18 -0600 answered a question how to save ROI's detected in an image

What is exactly that you want to accomplish? If you want to display only the ROIs, I would suggest you to:

  1. Create a blank new output image
  2. For each ROI create a mask image from the ROI and use copy() with the mask as 3rd argument to copy the ROI from the input image to the output.

As Steven pointed out, the C++ interface makes everything better.