C++
noahbl
学海无涯
展开
-
OpenCV findContours
//修改自https://visualgdb.com/tutorials/raspberry/opencv/camera/ #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include <ctime> #include <iostream> using nam...转载 2019-07-19 14:38:42 · 1166 阅读 · 0 评论 -
c++便笺
#include<algorithm> std::reverse(str.begin(), str.end());//反转string std::sort(vec.begin(), vec.end());//默认升序 std::sort(vec.begin(), vec.end(), greater<double>());//依次greater than(即降序) ...原创 2019-09-24 11:04:19 · 271 阅读 · 0 评论