Ask Your Question
0

How to record video from VideoCamera in Android?

asked 2013-08-27 03:36:59 -0600

mnabeelazam gravatar image

updated 2013-08-27 03:43:56 -0600

Hi,

I am using openCV in Android application. I want to Capture video from camera using OpenCV. I have gone through the documentation but I couldn't get much help in Java.

Can anyone please help me to achieve this?

thanks

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-08-27 04:51:58 -0600

Moster gravatar image

updated 2013-08-27 04:52:45 -0600

If you only want to capture the camera frames and display or process them, this will work fine on android. The only thing that wont work is saving them to an avi or similar. The VideoWriter class is not functional on android.

edit flag offensive delete link more
-2

answered 2013-08-27 03:42:36 -0600

edit flag offensive delete link more

Comments

Thanks for the quick reply. I have spent some time over the internet to find something. Actually I want to achieve Video Filtering. I couldn't find much in Android/Java.

mnabeelazam gravatar imagemnabeelazam ( 2013-08-27 06:18:46 -0600 )edit
1

I am guessing you are looking for ready made solutions. I have to dissappoint you, because it will be hard to find. Try to split your problem into subfunctionality, then find a solution for each part. Ask questions if you get stuck while programming, but illustrate the work you have done so far.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-27 06:25:12 -0600 )edit

Actually, I just want to know if it is possible what I want to achieve before I jump into OpenCv. I have done image filtering in an applicaiton using android native EffectFactory for applying filters on images.

Now I was looking into OpenCv if I can achieve this or not. Here is the reference application. I was looking for this kind of video filtering.

https://play.google.com/store/apps/details?id=com.socialcam.android&hl=en

mnabeelazam gravatar imagemnabeelazam ( 2013-08-27 08:07:28 -0600 )edit

Yes this is possible. This are basically operations on image channels, which can be applied perfectly in OpenCV as far as I know.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-27 08:11:48 -0600 )edit

Question Tools

Stats

Asked: 2013-08-27 03:36:59 -0600

Seen: 5,283 times

Last updated: Aug 27 '13