APEX_CV:Cannot find input image

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

APEX_CV:Cannot find input image

跳至解决方案
789 次查看
liujinbao
Contributor II

hello,

   When I execute the program: apex_downsample_upsample_cv, the program outputs:

Cannot find input image data/common/in_gray_256x256.png.

2.png

   Other routines that need to open the image are the same result.

1.png

   The BSP version I am using is VisionSDK_S32V2_RTM_1_3_0_img_yocto

pastedImage_1.png

 The version of visionSDK I am using is  VisionSDK_S32V2_RTM_1_3_0_HF1

 The board model I am using is SBC-S32V234.

 

SBC-S32V234

SBC-S32V234

标记 (4)
0 项奖励
1 解答
690 次查看
liujinbao
Contributor II

hello,

   

  The data folder path is as follows:

3.png

The path in the source code is represented as data/common/in_grey_256x256.png,as shown below:

8.png

I copied the data/common/in_grey_256x256.png  to the development board, and the same path as the apex_downsample_upsample_cv.elf file.Program execution succeeded.

The test process is as follows: 

7.png

Thank you very much!!!

在原帖中查看解决方案

0 项奖励
2 回复数
690 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

did you copy data folder (by default located in VSDK folder - c:\NXP\VisionSDK_S32V2_RTM_1_3_0\s32v234_sdk\demos\data ) next to your example executable? 

Jiri

0 项奖励
691 次查看
liujinbao
Contributor II

hello,

   

  The data folder path is as follows:

3.png

The path in the source code is represented as data/common/in_grey_256x256.png,as shown below:

8.png

I copied the data/common/in_grey_256x256.png  to the development board, and the same path as the apex_downsample_upsample_cv.elf file.Program execution succeeded.

The test process is as follows: 

7.png

Thank you very much!!!

0 项奖励