Book Image

Mastering OpenCV 4 - Third Edition

By : Roy Shilkrot, David Millán Escrivá
Book Image

Mastering OpenCV 4 - Third Edition

By: Roy Shilkrot, David Millán Escrivá

Overview of this book

Mastering OpenCV, now in its third edition, targets computer vision engineers taking their first steps toward mastering OpenCV. Keeping the mathematical formulations to a solid but bare minimum, the book delivers complete projects from ideation to running code, targeting current hot topics in computer vision such as face recognition, landmark detection and pose estimation, and number recognition with deep convolutional networks. You’ll learn from experienced OpenCV experts how to implement computer vision products and projects both in academia and industry in a comfortable package. You’ll get acquainted with API functionality and gain insights into design choices in a complete computer vision project. You’ll also go beyond the basics of computer vision to implement solutions for complex image processing projects. By the end of the book, you will have created various working prototypes with the help of projects in the book and be well versed with the new features of OpenCV4.
Table of Contents (12 chapters)

Technical requirements

These technologies and installations are required to build and run the code in this chapter:

  • OpenCV 4 (compiled with the sfm contrib module)
  • Eigen v3.3+ (required by the sfm module)
  • Ceres solver v2+ (required by the sfm module)
  • CMake 3.12+
  • Boost v1.66+
  • OpenMVS
  • CGAL v4.12+ (required by OpenMVS)

The build instructions for the components listed, as well as the code to implement the concepts in this chapter, will be provided in the accompanying code repository. Using OpenMVS is optional, and we may stop after getting the sparse reconstruction. However, the full MVS reconstruction is much more impressive and useful; for instance, for 3D printing replicas.

Any set of photos with sufficient overlap may be sufficient for 3D reconstruction. For example, we may use a set of photos I took of the Crazy Horse memorial head in South Dakota that is bundled with this...