OpenCV2.4.0 - imread() no effect with Windows (Bug #1930)
Description
Hi there,
I'm using the new OpenCV 2.4.0, compiled with VisualStudio 2010 (Win64), CMake 2.8.8 under Windows 7. I built "debug" as well as "release" configurations and tested both with the same result:
While using the function imread() I always see a gray image (with the correct window size), no matter whether using bmp, jpg or any other stuff.
Trying to capture a single frame and then displaying it with imshow() leads to no errors.
While compiling, no errors/warnings were found. There are also no errors during runtime.
I tried both using absolute and relative path for the image, but it had no effect at all.
Any ideas?
Greetings
Florian
Associated revisions
Merge pull request #1930 from alalek:cmake_msvs_subfolders
History
Updated by Andrey Kamaev almost 13 years ago
You have to use cv::waitKey
instead of getchar
.
Please, refer to waitKey
documentation for the details.
- Status changed from Open to Cancelled
- Target version set to 2.4.1
- Assignee changed from Alexander Reshetnikov to Andrey Kamaev