Answer by unxnut for Hi everyone,I have been unable to find a solution for my...
Are you using all the functionality in those lib files in your code? For example, are you using object detection and calibration in the same executable? I feel that a number of users indicate that they...
View ArticleAnswer by nikc for Hi everyone,I have been unable to find a solution for my...
I just added these and ONLY these to the Project > Properties > Configuration Properties > Linker > Input > Additional Dependencies: opencv_core243d.lib opencv_imgproc243d.lib...
View ArticleAnswer by sammy for Hi everyone,I have been unable to find a solution for my...
**The first thing to do** (And this is true for absolutely any program, in any language, in any configuration) is to check your input before processing it. So, modify your code with this lines: cv::Mat...
View ArticleComment by mjepson for I think that the problem may lie outside the OpenCV....
Hmm, this might just be it. I will try this tomorrow. Thanks!
View ArticleAnswer by Michael Burdinov for Hi everyone,I have been unable to find a...
I think that the problem may lie outside the OpenCV. OpenCV itself can't read jpg files (it is pretty complicate format), and thus it is using other libraries on your computer that can read jpg (I...
View ArticleAnswer by mjepson for Hi everyone,I have been unable to find a solution for...
I have finally figured it out. In my configuration under Linker, I have added Additional Library Dependencies: opencv_core242d.lib opencv_imgproc242d.lib opencv_highgui242d.lib opencv_ml242d.lib...
View ArticleComment by sammy for Hi everyone,I have been unable to find a solution for my...
Can you post some more code, and the exact line of code where it crashes? It does not seem to crash in `imread`
View ArticleComment by sammy for Hi everyone,I have been unable to find a solution for my...
Indent with four spaces or use ` around it
View ArticleComment by berak for Hi everyone,I have been unable to find a solution for my...
How do I get my code to show up right on this site? put < pre > tags around it
View ArticleComment by mjepson for Hi everyone,I have been unable to find a solution for...
No, imread works, but returns an invalid image. Like I said, it gives a 1 channel image. But when I call imshow with the loaded image, it gives this error. A part of my code: int _tmain(int argc,...
View ArticleComment by unxnut for Hi everyone,I have been unable to find a solution for...
Copy and paste text in the window. Then, highlight it and click on the code button (fifth button on top of input window).
View ArticleCannot display image loaded from disk in release build
Hi everyone, I have been unable to find a solution for my problem, where cv::Mat image = cv::imread("path/to/file.jpg"); works in debug, but not in release build. I am using Visual C++ on Windows and...
View Article