September 2019
Intermediate to advanced
420 pages
10h 29m
English
Since OpenCV is one of those Python libraries that does not contain a single line of Python code under the hood (I'm kidding, but it's close), you will have to implement your custom estimator in C++. This can be done in four steps:
#include <opencv2/opencv.hpp>#include <opencv2/ml/ml.hpp>#include <stdio.h>
Then, an estimator class can be created by inheriting from the StatModel class:
class MyClass : public cv::ml::StatModel{ public:
Next, you define constructor ...
Read now
Unlock full access