title: Can't use JavaCV OpenCVFrameGrabber?
body: <p>I am really stuck on a project right now.  I have been struggling to find anything that will let me get frames from a video in Java.  Finally I found OpenCV which seemed very promising.  I can't figure out how to get it to work though.</p>
  
  <p>I found another question where the asker posted this code:</p>
  
  <pre><code>OpenCVFrameGrabber grabber = new OpenCVFrameGrabber("D:/2.avi");        
  grabber.start();
  IplImage frame = grabber.grab();
  </code></pre>
  
  <p>My problem is that I can't get OpenCVFrameGrabber to be recognized no matter what.  I have a tiny block of code set up as follows:</p>
  
  <pre><code>import org.opencv.*;
  
  public class Hello {        
      public static void main(String[] args) {
          OpenCVFrameGrabber grabber = new OpenCVFrameGrabber("");
      }    
  }
  </code></pre>
  
  <p>I am using Eclipse and as you can see I got to the point where I just imported the entire opencv library, but OpenCVFrameGrabber still can't be found.  I am really stuck and have no idea what to do to use the OpenCVFrameGrabber.</p>