To prepare the examples for this book, we used the Qt Creator IDE (included in the Qt 5.2 bundle) and OpenCV 2.4.9 compiled with MinGW g++ 4.8 and Qt functionality. Qt Creator is a free multiplatform IDE with very helpful features for C++ programming. However, the user can choose the tool chain to build the executables that best fit its needs.
Our first Qt Creator project with OpenCV will be quite a simple flip-image tool, named
flipImage. This tool reads a color image file and transforms it into a grayscale image, flipped and saved into an output file.
For this application, we choose to create a new code project by navigating to File | New File or File | Project…, and then navigate to