OSError could not find the file

Discussion related to "under the hood" OpenMV topics.
FeKTapano
Posts: 5
Joined: Tue Jan 02, 2018 8:39 pm

OSError could not find the file

Postby FeKTapano » Tue May 22, 2018 5:55 pm

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
Attachments
VisualVictimDetector.py
(1.2 KiB) Downloaded 2 times
Captura de Tela (6).png
Captura de Tela (6).png (102.46 KiB) Viewed 114 times
User avatar
kwagyeman
Posts: 1935
Joined: Sun May 24, 2015 2:10 pm

Re: OSError could not find the file

Postby kwagyeman » Tue May 22, 2018 6:33 pm

Hi, can you upload the pgm stuff?
Nyamekye,
FeKTapano
Posts: 5
Joined: Tue Jan 02, 2018 8:39 pm

Re: OSError could not find the file

Postby FeKTapano » Wed May 23, 2018 1:33 pm

Not really, I´m getting "Invalid file extension: maze_H.pgm"
User avatar
kwagyeman
Posts: 1935
Joined: Sun May 24, 2015 2:10 pm

Re: OSError could not find the file

Postby kwagyeman » Wed May 23, 2018 8:32 pm

Please zip your files up.
Nyamekye,
User avatar
iabdalkader
Posts: 463
Joined: Sun May 24, 2015 3:53 pm

Re: OSError could not find the file

Postby iabdalkader » Thu May 24, 2018 10:13 am

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)
FeKTapano
Posts: 5
Joined: Tue Jan 02, 2018 8:39 pm

Re: OSError could not find the file

Postby FeKTapano » Thu May 24, 2018 7:20 pm

Haven´t thought of that possibility
Will try that

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests