title: How to add custom metadata to OpenCV/numpy image?
body: <p>I have a question.</p>
  
  <p>I am performing a series of operations (resize, copy, etc.) to some captured images in OpenCV, but I want to set some specific metadata (the attribute names should also be defined by me) to these images, which would survive those operations and can be extracted later on. I am not setting resolution values or any other value that changes after these operations. How can I do this? I heard of pyexiv2, but I have never seen any example involving OpenCV.</p>
  
  <p>Thanks in advance!</p>