I checked the Internet for a long time and basically said that the path of imread() was wrong
Later, I saw under a comment that opencv4.5.1 needs to be removed Linker – input – attach dependencies Opencv in_ world451.lib
After deletion, the picture can be read normally