Adding images in OpenCV : <p>You can add two images by OpenCV function, <code>cv2.add()</code> or simply by numpy operation, <code>res = img1 + img2</code>. Both images should be of same depth and type, or second image can just be a scalar value.
What should i use to compare their depth and type of images.i have studied about</p>

<pre><code>img.dtype
img.type()
img.depth()
</code></pre>

<p>Please help.</p>
