简体   繁体   中英

OpenCV - How do I get started?

I just don't seem to be able to get OpenCV to work properly. Here's what I want to accomplish:

Use CodeBlocks (which I installed using codeblocks-10.05mingw-setup.exe) with OpenCV (installer: OpenCV-2.4.2.exe) on my Windows x64.

I've tried a lot of different configurations which will only bother you if I posted them all, so I hope you don't mind if I just ask the simple question: how do I get this to work?

I think I'm missing the smallest detail right now, so a detailed description of how to get started would be welcome.

If the OpenCV installer did the job, you should have by now OpenCV libraries and headers already installed in your system.

I would then go ahead and try to compile a hello world basic code, like the one you can get from here . If you would like to program using an IDE, like VisualC++ in Windows, you can follow this guide that will help you setting up the environment.

OpenCV team just introduced their new web site . There you can find Introduction to OpenCV section with installation instructions, including detailed instructions for Windows . Don't forget to cleanup your system before installation to avoid problems with mixing different install options. If you still can't get it working with CodeBlocks, follow Dan's advice and try compiling from command line.

When you are done with installation, go on and read there great new tutorials !

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM