Why don't read the image? Under the debug and release all not line, everyone to look at. Thanks
CodePudding user response:
Close the UAC, firewall, anti-virus software,...As an administrator to run
Another picture
In other logical disk
CodePudding user response:
Opencv compiled libraries and VS is not compatible with you use, you need to use Cmake do a corresponding opencv VS version package with you, and then compile the generated project file, and then use in your applicationCodePudding user response:
Determine the img. Empty () is True, True means that you read in the path of the image may have a problem, figure don't read inCodePudding user response:
This problem is a little complicated.. Pass byCodePudding user response:
To determine if img is null in said, otherwise can't jump to conclusionsCodePudding user response:
if
CodePudding user response:
Step through it into a not to the main function, may be not configured properlyCodePudding user response:
meets a hair the same problem as before, the code for a long time,Finally found that the debug version with the release version or, in turn, the
CodePudding user response:
Did not read the pictures, see if there is something wrong with the pathCodePudding user response: