3

I am looking to get Live camera feed and add effects to it and display it. Which is the right technology to go forward with. Any open source

3 Answers 3

2

You can configure camera class to provide you the preview buffer (but copies). This is provided throuh PreviewBuffer Callback interface. You have implement the interface and set it on the camera. During preview you will get the preview buffers. http://developer.android.com/reference/android/hardware/Camera.PreviewCallback.html

Then you can apply custom processing algorithm on the buffer and use either Surface or opengl surface to draw the same.

Shash316

1
0

Check out OpenCV... it will require you to do some work in C/C++, JNI and the Android NDK but it is a really nice library and should do what you need pretty easily.

0

Kieran is right, OpenCV would be a good and easy way with a lot of capabilities. See http://opencv.willowgarage.com/wiki/AndroidTrunk for details of the android implementation.

And checkout the sample application: https://code.ros.org/svn/opencv/trunk/opencv/android/apps/OpenCV_SAMPLE/ This should get you a good starter as it is an example using processors for the live image.

2
  • I am not able to get the example. Please provide me some link for it. Oct 12, 2011 at 7:03
  • Password protected exemple :)
    – user457015
    Dec 4, 2013 at 2:26

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.