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

2 Answers 2

2

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

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks Andrey, I thought I was losing my mind when I couldn't find it. Do you happen to know when a new release might support video files?
I don't expect video support in next major release.
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.

1 Comment

Thanks Gökhan, from what Andrey said I'm going to have to find another route :/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.