title: ERROR: identifier "CvBGCodeBookModel" is undefined
body: <p>I'm using hand gesture recognizer. So, I referred below links for recognizing hand:</p>
  
  <ul>
  <li><a href="http://anikettatipamula.blogspot.ro/2012/02/hand-gesture-using-opencv.html" rel="nofollow">http://anikettatipamula.blogspot.ro/2012/02/hand-gesture-using-opencv.html</a></li>
  <li><a href="https://docs.google.com/file/d/0B7lDtwez94H3Z1JZLXVuOFM2emM/edit?pli=1" rel="nofollow">https://docs.google.com/file/d/0B7lDtwez94H3Z1JZLXVuOFM2emM/edit?pli=1</a></li>
  </ul>
  
  <p>But I'm getting the following error:</p>
  
  <pre><code>ERROR: identifier "CvBGCodeBookModel" is undefined
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;ctype.h&gt;
  #include "opencv2\core\core.hpp"       // Mat is defined here.
  #include "opencv2\imgproc\imgproc.hpp"
  #include "opencv2\highgui\highgui.hpp"
  //VARIABLES for CODEBOOK METHOD: 
  CvBGCodeBookModel* model = 0;
  
  ...
  
  model = cvCreateBGCodeBookModel();
  cvCvtColor( rawImage, yuvImage, CV_BGR2YCrCb );//YUV For codebook method
  cvBGCodeBookClearStale( model, model-&gt;t/2 );
  </code></pre>