09 2020 档案
摘要:#include <iostream> #include <string> using namespace std; /** * 截取str后的元素 * @param stream 待截取字符串 * @param str 截取定位字符串 * @return */ static auto cutNex
阅读全文
摘要:根据定义及概念可知,若直接通过cvtColor转换颜色空间,则输出灰度图像为单通道的,此时channels为1. 那么为了获得三通道的灰度图像,则可将三个三通道灰度叠加在一起. Mat gray; cvtColor(img, gray, COLOR_BGR2GRAY); Mat imageB; ve
阅读全文
摘要:#include <iostream> #include <vector> #include <algorithm> #include <set> using namespace std; /** * vector去除重复元素 * @tparam T * @param result * @retur
阅读全文
摘要:使用以下两个命令清理缓存进行ssh清除:$ssh-keygen -f "/home/leoxae/.ssh/known_hosts" -R xxx.xxx.xxx.xxx(指定IP)$ssh-keygen -f "/home/leoxae/.ssh/known_hosts" -R git.xxx.x
阅读全文

浙公网安备 33010602011771号