上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 1.预编译 gcc -E hello.c -o hello.i g++ -E hello.cpp -o hello.ii + 将所有的#define宏展开 + 处理所有预编译指令,包括#if, #ifdef, #elif, #else, #endif + 处理#include指令,将所包含的文件插入 阅读全文
posted @ 2020-10-27 17:28 尘归风 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 来源:https://www.cnblogs.com/tuzhenxian/p/11265973.html 阅读全文
posted @ 2020-09-02 19:45 尘归风 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 0、执行 ps -e|grep ssh,若看到ssh-agent,sshd则表示未安装服务,或未启动服务 1.安装ssh sudo apt install openssh-server 2.启动服务 /etc/init.d/ssh start 阅读全文
posted @ 2020-08-07 10:44 尘归风 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 1.安装rar,unrar包 sudo apt install rar, unrar 2.压缩文件并设置密码 rar -p a filename.rar origin_file 3. 解压,会提示输入密码 unrar x filename.rar 阅读全文
posted @ 2020-08-07 10:32 尘归风 阅读(179) 评论(0) 推荐(0) 编辑
摘要: TAB替换为空格::set ts=4:set expandtab:%retab! 空格替换为TAB::set ts=4:set noexpandtab:%retab! 加!是用于处理非空白字符之后的TAB,即所有的TAB,若不加!,则只处理行首的TAB 阅读全文
posted @ 2020-07-18 10:16 尘归风 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 下载对应版本的opencv-contrib CMake编译 如果有错误查看日志 打开日志文件,使用里面的地址从浏览器里面下载文件。 文件下载之后,放置在文件相应位置,并修改文件名。 进入Vs编译 关于OpenCV4.0.1+contrib配置时运行程序出现“无法定位程序入口点”问题的解决办法 解决方 阅读全文
posted @ 2020-04-12 22:43 尘归风 阅读(1397) 评论(0) 推荐(0) 编辑
摘要: 如果需要卸载之前版本 make uninstall cd .. rm -rf build rm -rf /usr/local/include/opencv2 /usr/local/include/opencv /usr/include/opencv /usr/include/opencv2 /usr 阅读全文
posted @ 2020-04-05 22:56 尘归风 阅读(1932) 评论(0) 推荐(0) 编辑
摘要: 1 #include "opencv2/opencv.hpp" 2 3 #define WINDOW_NAME "[程序窗口]" 4 5 6 void on_MouseHandle(int event, int x, int y, int flags, void* param); 7 void Dr 阅读全文
posted @ 2020-04-02 15:26 尘归风 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 读取图片 Example 2-1 1 #include "opencv2/opencv.hpp" 2 3 int main(void) { 4 cv::Mat img = cv::imread("wang.jpg"); 5 cv::namedWindow("Example 2-1", cv::WIN 阅读全文
posted @ 2020-03-26 23:25 尘归风 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 1 #include "opencv2/core/core.hpp" 2 #include <iostream> 3 4 using namespace cv; 5 using namespace std; 6 7 int main(int argc, char** argv) { 8 Mat M( 阅读全文
posted @ 2020-03-26 19:15 尘归风 阅读(167) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页