Unsupported Image Format


I am trying simple template matching example on OpenMV Cam H7. My template is 25x29 pixels and .pgm. I am receiving unsupported format error. Do you have any ideas why I am getting this error?


Can you save it as a BMP file? Pgm should work however. We support both the binary and ASCII pgm formats.

I tried all formats. Not working

Can you upload the image in .pgm format? Please put it in a zip file for the forums.


Thank you for answer. Sure, here is it in .zip folder.
template.zip (610 Bytes)

Hello again,

Now I have solved the problem by using an online converter from .jpg to .pgm.