title: Converting numpy array to cv:Mat in Opencv 3
body: <p>All the available solution I found dates back to 3 years which  uses modules like <code>cv</code> and functions like <code>cv.fromarray</code> which are not available in the latest version (?).</p>
  
  <p>What is the current way of converting a numpy array to cv::Mat. </p>
  
  <p>By the way, I am just trying to have a simple interface for data transfer between Opencv-python and Opencv-C++. I can't use the Filestorage approach in Python. What is a good way of doing this? Manually converting to cv::Mat seems like a possible solution, but doing all these internal conversion manually in my opinion is ugly.</p>