1

I want to image process android front camera frames inside a service. I use OpenCV and therefore using CameraBridgeViewBase which asks for camera view. I dont want to record the video. i need to process each frame in real time.

any solution ?

Nadav
  • 220
  • 4
  • 12

1 Answers1

0

According to the examples of fadden available (have a look here), you can do it using a SurfaceTexture instead of a SurfaceView for getting the frames. It was also answered here before, but unfortunately never validated.

I could get frames from a service this way.

Community
  • 1
  • 1
JonasVautherin
  • 7,297
  • 6
  • 49
  • 95
  • Hi, How could you get frames? onFrameAvailable method returns a surface texture, how did you convert it to fame? – Dania Feb 10 '16 at 10:22