Code for the book "Mastering OpenCV with Practical Computer Vision Projects" by Packt Publishing 2012.
C++
2,805
27 commits
updated Jun 9, 2023
Source-Code: https://github.com/MasteringOpenCV/code
Book: http://www.packtpub.com/cool-projects-with-opencv/book
Copyright: Packt Publishing 2012.
Install OpenCV (versions between 2.4.2 to 2.4.11 are supported, whereas OpenCV 3.0 is not yet supported). eg: go to "http://opencv.org/", click on
Downloads, download the latest OpenCV 2.4 version (including prebuilt library), and extract
it to "C:\OpenCV" for Windows or "/OpenCV" for Linux. In OpenCV v2.4.3, the
prebuilt OpenCV library is in "C:\OpenCV\build" or "/OpenCV/build", such as
"C:\OpenCV\build\x64\vc9" for MS Visual Studio 2008 (or "vs10" folder for MS
Visual Studio 2010, or the "x86" parent folder for 32-bit Windows).
Install all the source code of the book. eg: extract the code to "C:\MasteringOpenCV" for Windows or "~/MasteringOpenCV" for Linux.
Install CMake v2.8 or later from "http://www.cmake.org/".
Each chapter of the book is for a separate project. Therefore there are 9 projects for the 9 chapters (remember that Chapter 9 is an online chapter that can be downloaded from "http://www.packtpub.com/cool-projects-with-opencv/book"). You can run each project separately, they each contain a README.md text file describing how to build that project, using CMake in most cases, because CMake can be used with many compilers and many operating systems.
You don't need to have special knowledge in computer vision to read this book, but you should have good C/C++ programming skills and basic experience with OpenCV before reading this book. Readers without experience in OpenCV may wish to read the book Learning OpenCV for an introduction to the OpenCV features, or read "OpenCV 2 Cookbook" for examples on how to use OpenCV with recommended C/C++ patterns, because "Mastering OpenCV with Practical Computer Vision Projects" will show you how to solve real problems, assuming you are already familiar with the basics of OpenCV and C/C++ development.
In addition to C/C++ and OpenCV experience, you will also need a computer, and an IDE of your choice (such as Visual Studio, XCode, Eclipse, or QtCreator, running on Windows, Mac or Linux). Some chapters have further requirements, particularly:
Per-chapter Requirements:








178 followers · starred Jan 2014
7 followers · starred Apr 2023
103 followers · starred Nov 2017
69 followers · starred Nov 2013
Code for the book "Mastering OpenCV with Practical Computer Vision Projects" by Packt Publishing 2012.
C++
2,805
27 commits
updated Jun 9, 2023
Source-Code: https://github.com/MasteringOpenCV/code
Book: http://www.packtpub.com/cool-projects-with-opencv/book
Copyright: Packt Publishing 2012.
Install OpenCV (versions between 2.4.2 to 2.4.11 are supported, whereas OpenCV 3.0 is not yet supported). eg: go to "http://opencv.org/", click on
Downloads, download the latest OpenCV 2.4 version (including prebuilt library), and extract
it to "C:\OpenCV" for Windows or "/OpenCV" for Linux. In OpenCV v2.4.3, the
prebuilt OpenCV library is in "C:\OpenCV\build" or "/OpenCV/build", such as
"C:\OpenCV\build\x64\vc9" for MS Visual Studio 2008 (or "vs10" folder for MS
Visual Studio 2010, or the "x86" parent folder for 32-bit Windows).
Install all the source code of the book. eg: extract the code to "C:\MasteringOpenCV" for Windows or "~/MasteringOpenCV" for Linux.
Install CMake v2.8 or later from "http://www.cmake.org/".
Each chapter of the book is for a separate project. Therefore there are 9 projects for the 9 chapters (remember that Chapter 9 is an online chapter that can be downloaded from "http://www.packtpub.com/cool-projects-with-opencv/book"). You can run each project separately, they each contain a README.md text file describing how to build that project, using CMake in most cases, because CMake can be used with many compilers and many operating systems.
You don't need to have special knowledge in computer vision to read this book, but you should have good C/C++ programming skills and basic experience with OpenCV before reading this book. Readers without experience in OpenCV may wish to read the book Learning OpenCV for an introduction to the OpenCV features, or read "OpenCV 2 Cookbook" for examples on how to use OpenCV with recommended C/C++ patterns, because "Mastering OpenCV with Practical Computer Vision Projects" will show you how to solve real problems, assuming you are already familiar with the basics of OpenCV and C/C++ development.
In addition to C/C++ and OpenCV experience, you will also need a computer, and an IDE of your choice (such as Visual Studio, XCode, Eclipse, or QtCreator, running on Windows, Mac or Linux). Some chapters have further requirements, particularly:
Per-chapter Requirements:








178 followers · starred Jan 2014
7 followers · starred Apr 2023
103 followers · starred Nov 2017
69 followers · starred Nov 2013