Unsupported Image Format

Discussion related to "under the hood" OpenMV topics.
susamsokagi
Posts: 12
Joined: Fri Nov 15, 2019 9:21 am

Unsupported Image Format

Postby susamsokagi » Wed Feb 12, 2020 6:19 am

Hello,

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?
Screenshot_3.png
Template:
template.jpg
template.jpg (823 Bytes) Viewed 1848 times
User avatar
kwagyeman
Posts: 4003
Joined: Sun May 24, 2015 2:10 pm

Re: Unsupported Image Format

Postby kwagyeman » Wed Feb 12, 2020 2:57 pm

Can you save it as a BMP file? Pgm should work however. We support both the binary and ASCII pgm formats.
Nyamekye,
susamsokagi
Posts: 12
Joined: Fri Nov 15, 2019 9:21 am

Re: Unsupported Image Format

Postby susamsokagi » Wed Feb 12, 2020 5:51 pm

kwagyeman wrote:
Wed Feb 12, 2020 2:57 pm
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
User avatar
kwagyeman
Posts: 4003
Joined: Sun May 24, 2015 2:10 pm

Re: Unsupported Image Format

Postby kwagyeman » Thu Feb 13, 2020 12:02 am

Can you upload the image in .pgm format? Please put it in a zip file for the forums.
Nyamekye,
susamsokagi
Posts: 12
Joined: Fri Nov 15, 2019 9:21 am

Re: Unsupported Image Format

Postby susamsokagi » Thu Feb 13, 2020 5:36 am

Hi,

Thank you for answer. Sure, here is it in .zip folder.
Attachments
template.zip
(610 Bytes) Downloaded 67 times
susamsokagi
Posts: 12
Joined: Fri Nov 15, 2019 9:21 am

Re: Unsupported Image Format

Postby susamsokagi » Thu Feb 13, 2020 5:55 am

Hello again,

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

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 9 guests