OpenCV android initialization
<p>I have written code that works on other systems for opencv, but on android I am having issues grabbing and passing images to my opencv algorithm.  Right now, I do not have any sort of preview set up in my android activity- is this okay?  I have no experience using opencv on android and need to have this done ASAP.  </p>

<p>Right now I am initializing my camera object the same way I would on the computer-- which is obviously not right</p>

<pre><code>VideoCapture camera = new VideoCapture(0);
</code></pre>

<p>After looking at the sample code, I am still not seeing the initialization of the VideoCapture object anywhere.  Is this normal?</p>

<p>EDIT:</p>

<p>Finally, after a lot of research I realized I wasn't initializing opencv correctly in the activity.  Now I'm just not getting a value for </p>

<pre><code>Mat img = new Mat();
camera.read(img);
</code></pre>