First time here? Check out the FAQ!
Here is an implementation based on @berak suggestion : #include <opencv2/opencv.hpp> #include <opencv2/dnn.hp