Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Read camera data without camera visualization.

Hello All.

I started to use openCV on android studio and as my first code I followed this link:

https://docs.opencv.org/2.4/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.html#hello-opencv-sample

This method is call every x seconds given some fps and it shows the inputFrame.rgba() Mat in CameraBridgeViewBase. I

public Mat onCameraFrame(CvCameraViewFrame inputFrame) { return inputFrame.rgba(); }

I can also process the inputFrame.rgba() Mat before return it. But what I want is to get a Mat when I call some function or method. Could you please help me?

There is some Class or Class method that I can call everywhere or when I want and get a Mat from camera?

What I need is to get a frame every seconds and do not show it in a widget but process it.

Thanks in advace.