OSError could not find the file

Have been trying to run a template matching code, and getting this error (attached)
All 3 .pgm files are in the same folder as the .py
VisualVictimDetector.py (1.2 KB)

Hi, can you upload the pgm stuff?

Not really, I´m getting “Invalid file extension: maze_H.pgm”

Please zip your files up.

All 3 .pgm files are in the same folder as the .py

The images need to be on the camera’s storage (flash or SD card)

Haven´t thought of that possibility
Will try that