title: OpenCV TermCriteria Difference between CV_TERMCRIT_EPS and TermCriteria::EPS
body: <p>What is the difference between using <code>CV_TERMCRIT_EPS</code> and using <code>TermCriteria::EPS</code> inside the <code>TermCriteria</code> function?</p>
  <p>I've just taken over a small bit of software written in C++ and am no expert. Using one version of <strong>OpenCV</strong>, the function only recognizes <code>TermCriteria::EPS</code> and on another version, it recognizes both.</p>
  <p><code>TermCriteria(TermCriteria::EPS+TermCriteria::COUNT,10, 1.0), clusterNum, KMEANS_PP_CENTERS, ImgCenters);</code></p>
  <p><code>TermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER,10, 1.0), clusterNum, KMEANS_PP_CENTERS, ImgCenters);</code></p>
  <p>The first works or a few versions of <strong>OpenCV</strong> I have tried but the second only works on some. I can't seem to find anywhere that explains the difference between them.</p>