上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 一、读取图像 Mat img = imread("1.jpg"); // 读取图像并返回一个Mat变量 namedWindow("img_title", WINDOW_AUTOSIZE); // 新建一个标题为img_title的窗口,根据内容自适应大小 imshow("img_title", im 阅读全文
posted @ 2022-08-25 17:14 cheng4632 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2022-08-25 09:31 cheng4632 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/WWWDDH/article/details/122528449,https://zhuanlan.zhihu.com/p/500651669 1,下载项目https://github.com/CMU-Perceptual-Computing-Lab 阅读全文
posted @ 2022-08-19 14:20 cheng4632 阅读(1724) 评论(0) 推荐(1) 编辑
摘要: 参考:https://blog.csdn.net/weixin_50901683/article/details/113774484 一、内存分为四个区:代码区、全局区、栈区、堆区 程序运行前:在程序编译后,生成exe可执行程序,未执行程序前分为两个区域:代码取、全局区 代码区:存放函数体的二进制代 阅读全文
posted @ 2022-08-18 15:02 cheng4632 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 1,labelimg标注图片生成.xml文件 2,将数据集分为训练集和验证集 train.txt – 该文件内容为所有训练图片名 val.txt – 该文件内容为所有验证集图片名 3,voc_label.py生成绝对路径的txt object_train.txt – 该文件内容为所有训练集的 绝对路 阅读全文
posted @ 2022-08-15 14:06 cheng4632 阅读(307) 评论(0) 推荐(0) 编辑
摘要: python 阅读全文
posted @ 2022-08-11 09:31 cheng4632 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/qq_45275571/article/details/121104644 cmake HelloWorld:https://blog.csdn.net/qq_43577213/article/details/123493828 基本语法:https 阅读全文
posted @ 2022-07-19 16:45 cheng4632 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1,cmd登录 命令:sftp -P 22 username@127.0.0.1 2,sftp工具:WinSCP 3,从github下载win32平台下的sftp代码https://github.com/chenzhongkun/ftp_sftp sftp文件上传下载依赖libssh2,libss2 阅读全文
posted @ 2022-07-19 15:23 cheng4632 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: import onnx # 注意这里导入onnx时必须在torch导入之前,否则可能会出现segmentation fault,别人说的 import torch from model_resnet18 import model # 这里是我的模型 device = torch.device("cu 阅读全文
posted @ 2022-07-07 14:23 cheng4632 阅读(396) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <string.h> #include <iostream> using namespace std; /* 1, C语言中字符用单引号,字符串用双引号 由于C语言中没有真正的字符串类型,可以通过字符数组表示字符串,因为它的元素地址是连续的,这 阅读全文
posted @ 2022-07-06 18:22 cheng4632 阅读(227) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页