3

Maybe I'm being a bit slow, but I can't find the equivalent of CaptureFromFile for grabbing video frames one by one from a file in OpenCV in Java on Android.

Can anyone put me out of my misery please and show me where to look?

Many thanks

Barry

Barry
  • 1,258
  • 3
  • 13
  • 27

2 Answers2

2

OpenCV does not support video reading/writing on Android yet.

Andrey Kamaev
  • 29,582
  • 6
  • 94
  • 88
1

Take a look at solution in here. Also, it seems like Open CV is available thrue Android NDK, here you may find how to use it. In addition, you may take a look at Processing, which i believe supports Open CV and able to export code as apk.

Community
  • 1
  • 1
Gökhan Barış Aker
  • 4,445
  • 5
  • 25
  • 35