title: Accessing Ximea API via OpenCV in Python
body: <p>OpenCV has a great support for XIMEA cameras. However, I cannot find a way to access the XIMEA-specific functions and key words. I found on other sites (and on Stackoverflow), that there are key words like <code>CV_CAP_XIAPI</code> or <code>CV_CAP_PROP_XI_DOWNSAMPLING</code>, but I can't find them in Python. </p>
  
  <p>In detail, the cameras have an auto-exposure feature and I would like to deactivate that. If I set the <code>CV_CAP_PROP_EXPOSURE</code> to a specific value, it changes, however, after a couple of (milli)seconds, the auto-exposure takes over again. Is there a way to force the camera to stick to that value? </p>
  
  <p>Thank you for your help.</p>
  
  <p>Best,
  anki</p>
  
  <p>Btw, there's a direct XIMEA Python binding called <a href="https://github.com/pupil-labs/pyximea" rel="nofollow">pyximea</a>, but I haven't solved building it on Windows yet, so, I rely on OpenCV (which is great and would be even better when I could directly access the API).</p>