Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing latest articles
Browse All 12 View Live
↧

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 Article


Answer 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 Article


Answer 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 Article

Comment 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 Article

Answer 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 Article


Answer 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 Article

Comment 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 Article

Comment by sammy for Hi everyone,I have been unable to find a solution for my...

Indent with four spaces or use ` around it

View Article


Comment 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 Article


Comment 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 Article

Comment 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 Article

Cannot 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
Browsing latest articles
Browse All 12 View Live