OpenCV Tutorials and free Source-Code for Computer Vision, by Shervin Emami.
Please view this website with a JavaScript-enabled web browser, such as Firefox.

OpenCV

Last updated on 3rd October, 2010 by Shervin Emami. Posted originally on 2nd June, 2010.

OpenCV is a great library for creating Computer Vision software using state-of-the-art techniques, and is freely available for Windows, Linux, Mac and even Android & iPhone. OpenCV was originally designed by Intel in 1999 to show how fast Intel CPUs can run. So most of OpenCV runs very fast on Intel CPUs, now including some SSE2 optimizations.

However, OpenCV is mainly used for tasks that are complex in nature, often requiring post-grad experience in the fields of Computer Vision or Artificial Intelligence (AI). So this website tries to make it easier with tutorials and source-code. All source code on this site are free to use for educational or commercial purposes, but may not be used for military-funded projects.

If you have never used OpenCV before, you should first read my Introduction To OpenCV.
Warning: OpenCV is for creating futuristic applications that perhaps no-one else has done before, so it's important that you are good at computer programming BEFORE you start using OpenCV!

If you are a complete beginner to OpenCV and computer vision, you might consider the book Instant OpenCV Starter for a quick intro. There are also many other books on OpenCV, listed at opencv.org/books.html. Most of the existing books are for OpenCV beginners.

If you are already experienced with OpenCV but looking for more projects & ideas, consider the "Mastering OpenCV with Practical Computer Vision Projects" (2013) [source code] book that I worked on, it explains whole projects so it is for intermediate and advanced OpenCV users. Also, the book "Instant OpenCV for iOS" [2013] covers simple topics like Apple iOS / iPhone / iPad development but also some advanced topics such as Apple's Accelerate framework and ARM NEON SIMD optimization, and both authors are official OpenCV developers.

I have a deal with Packt Publishing where you can get a 50% discount if you buy any of these 5 eBooks through these links (valid until 19th April 2016):