- sudo apt-get install libopencv-dev,Online installation library, [yes/no] encountered during the process, press Enter directly, default yes
2.dpkg -s libopencv-dev, Check if the installation is successful
- https://opencv.org/ inOnline help documentation, many, many methods above
C++: void putText(Mat& img,
const string& text,
Point org,
int fontFace,
double fontScale,
Scalar color,
int thickness=1,
int lineType=8,
bool bottomLeftOrigin=false )
C++: void cvtColor(InputArray src,
int code,
int dstCn=0 )
C++: void CascadeClassifier::detectMultiScale(const Mat& image,
vector<Rect>& objects,
int minNeighbors=3, int flags=0, Size minSize=Size(), Size maxSize=Size())
C++: void rectangle(Mat& img,
Rect rec,
const Scalar& color,
int thickness=1, int lineType=8, int shift=0 )
C++: bool imencode(const string& ext,
InputArray img,
vector<uchar>& buf,
const vector<int>& params=vector<int>())
C++: void putText(Mat& img,
const string& text,
Point org,
int fontFace,
double fontScale,
Scalar color,
int thickness=1, int lineType=8, bool bottomLeftOrigin=false )```