Is there a way to find a resolution for an image in OpenCV. I'm not looking for width and height, but the resolution.
I can find the resolution in ImageMagick like this:
identify -format "%w x %h %x x %y" mypic.jpg
4175 x 4175 300 x 300%
The resolution for the above image is 300