current position:Home>After opencv and vs are configured, I wrote a code to extract pictures. Why did it run and report errors?

After opencv and vs are configured, I wrote a code to extract pictures. Why did it run and report errors?

2022-01-26 22:30:19 CSDN Q & A

Excuse me, I'm opencv and vs After the configuration is completed, I wrote a code to extract pictures , Why does it report an error when running ?
The code is as follows

img


An error is as follows

img




Refer to the answer 1:

Chinese path ? Let's see if this is the problem .opencv The environment path is best not to bring Chinese .
\\ Change to / have a look .
And that is debug Models and release Mode configuration opencv_world The file is mismatched ?




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201262230166181.html

Random recommended