Splitting cameracontrol sample in two threads

asked 2013-06-06 06:43:07 -0500

sp_mic88 gravatar image

Good morning to all. I have imported into Eclipse Juno the sample of OpenCv4Android, ver. 2.4.5, called "cameracontrol". It can be found here:Camera Control OpenCv4Android Sample.

Now I want to use this project as base for mine. I want to process every frame with image-processing techniques, so, in order to improve performance, I want to split the main activity of the project in two classes: one that is merely the activity and one (a thread) that is responsible for preview.

How can I do? Are there any examples about this?

edit retag flag offensive close merge delete