C++ & OpenCV resources

If you are a complete beginner at C++ (AND||OR) OpenCV then you should do this first. 

    • Books:
      • Not a bad book, very short (56 pages), covers installations of OpenCV on various operating systems , integrations with IDE and very basic image and video manipulations.

      • These books take you to the next step of OpenCV.

                   

  • Setup
    • I’m using OpenCV 2.4.8 on MacOSX 10.9.1 with Xcode 5.0.1, the following is my setup:
      •  Installing opencv

Screen Shot 2014-03-16 at 5.45.06 PM

    • Creating an OpenCV project with Xcode

Screen Shot 2014-03-16 at 5.41.10 PM    Screen Shot 2014-03-16 at 5.42.00 PMScreen Shot 2014-03-16 at 5.35.38 PM    Screen Shot 2014-03-16 at 5.36.02 PM

Screen Shot 2014-03-16 at 5.36.32 PM               Screen Shot 2014-03-16 at 5.51.16 PM

Screen Shot 2014-03-16 at 5.38.13 PM    Screen Shot 2014-03-16 at 5.38.29 PM

  • Optimized_compiler_settings
  • These Compiler settings are a MUST! this makes brain pirate almost realtime with no lag.

 

  • For windows users I embedded this youtube video by Kyle Hounslow that helps you configure it for Visual studio 2010 ( it worked for OpenCV 2.4.8 also)
$ g++ -O3 `pkg-config --cflags --libs opencv` main.cpp -o main
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s