会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
无左无右
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
22
23
24
25
26
27
28
29
下一页
2019年11月19日
根据点坐标画框
摘要: 应用场景: 文件夹img,txt, img存放的是原图,txt存放的是img中图片名字一样的.txt。 其中一个txt样例如下: 一个框一行
阅读全文
posted @ 2019-11-19 11:00 无左无右
阅读(709)
评论(0)
推荐(0)
2019年11月14日
透视校正--鼠标沿着物体画4条线
摘要: .pro function.h function.cpp main.cpp
阅读全文
posted @ 2019-11-14 11:03 无左无右
阅读(416)
评论(0)
推荐(0)
2019年10月25日
透视变换 任意角度 三维透视 python c++ opencv两种语言
摘要: 效果图:键盘控制各个x,y,z,还有fov数值 一开始的w, h = img.shape[0:2]这里宽、高错乱,原因未知,只能这么用 python版本的: c++ 版本: include include include "opencv2/opencv.hpp" using namespace st
阅读全文
posted @ 2019-10-25 11:30 无左无右
阅读(2053)
评论(0)
推荐(0)
2019年9月30日
pytorch 孪生网络 训练与预测
摘要: [[1.] [0.] [1.] [0.] [1.] [1.] [0.] [0.]] 0代表相似,1代表不相似 loss曲线: 测试: 数据集: https://i.cnblogs.com/Files.aspx
阅读全文
posted @ 2019-09-30 11:28 无左无右
阅读(2266)
评论(1)
推荐(0)
python matplotlib.pyplot 显示图像
摘要: 1. example1 import cv2 import matplotlib.pyplot as plt img1 = cv2.imread('/media/data_2/everyday/0930/1.jpeg') img2 = cv2.imread('/media/data_2/everyd
阅读全文
posted @ 2019-09-30 10:25 无左无右
阅读(10078)
评论(0)
推荐(0)
2019年9月29日
pytorch note
摘要: 1.模型保存与加载 1.1 #a、保存 推荐仅仅保存模型的state_dict torch.save(model.state_dict(), MODELPATH) # .pt .pth #b、加载 model = TheModelClass(*args, **kwargs) model.load_s
阅读全文
posted @ 2019-09-29 12:00 无左无右
阅读(259)
评论(0)
推荐(0)
2019年9月24日
note
摘要: [toc] 1.打开ipynb文件 可以选择file download as .py 2.训练网络经验 (20191017) 2.1 低维度(channel少的)层不用relu,用了信息会损失很多 2.2 如何确定每层的channel?把每层特征图可视化,有全0的就说明可以减少该层的channel
阅读全文
posted @ 2019-09-24 20:06 无左无右
阅读(481)
评论(0)
推荐(0)
psenet的后处理
摘要: 深度学习ocr交流qq群:1020395892 这是作者提供的图,对应的代码如下: void growing_text_line(vector<Mat> &kernals, vector<vector<int>> &text_line, float min_area) { Mat label_mat
阅读全文
posted @ 2019-09-24 09:34 无左无右
阅读(2047)
评论(2)
推荐(0)
2019年9月17日
ubuntu 自动切换cudnn python 版本
摘要: 需要文件夹cuda8.0 cudnn5, cuda8.0 cudnn6 switch_cudnn.sh 运行: ./switch_cudnn.sh 5 ./switch_cudnn.sh 6 switch_python.sh
阅读全文
posted @ 2019-09-17 09:12 无左无右
阅读(191)
评论(0)
推荐(0)
2019年9月9日
opencv 最小二乘法拟合轮廓点
摘要: int main() { //创建用于绘制的深蓝色背景图像 cv::Mat image = cv::Mat::zeros(480, 640, CV_8UC3); image.setTo(cv::Scalar(100, 0, 0)); //输入拟合点 std::vector points; point
阅读全文
posted @ 2019-09-09 20:56 无左无右
阅读(1155)
评论(0)
推荐(0)
上一页
1
···
22
23
24
25
26
27
28
29
下一页
公告