OpenCV And MEX Files quick guide

How to use openCV library in MATLAB

You are now following this Submission

This document was created as part of a final project for a BSc degree at the Academic College of Tel-Aviv Yaffo, by Rachely Esman and Yoad Snapir, under the supervision of Tal Hassner.
As part of the project, we used Intel's OpenCV library, calling its functions from MATLAB. We found the subject tricky and thus decided to share the experience of our work with others describing the common pitfalls.
You can use this document freely according to the copyrights noted below but under your sole responsibility.

Cite As

Rachel Esman (2026). OpenCV And MEX Files quick guide (https://se.mathworks.com/matlabcentral/fileexchange/21818-opencv-and-mex-files-quick-guide), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Image Aquisition

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

updated