Fork me on GitHub
上一页 1 2 3 4 5 6 ··· 37 下一页
摘要: 最近项目中用到需要给出每一个字在string中的索引,但是又因为中文字符跟英文字符长度不一样,得分开处理, 在这里记录一下。 想要达到的效果如下: 将 “测试3.1415engEng”分割开 代码: 参考: https://blog.csdn.net/cy_tec/article/details/8 阅读全文
posted @ 2019-07-01 17:43 hellowOOOrld 阅读(2533) 评论(0) 推荐(0)
摘要: 之前接触过全局二值化(OTSU算法),还有OPENCV提供的自适应二值化,最近又了解到一种新的局部二值化算法,Sauvola算法。 转载自:http://www.dididongdong.com/archives/4048 值得注意的是,计算r×r邻域内像素值的时候,一种优化的策略是,使用OPENC 阅读全文
posted @ 2019-06-17 17:14 hellowOOOrld 阅读(12758) 评论(0) 推荐(0)
摘要: 先上效果图,把vimrc 和bashrc 备份一下。。 vimrc: bashrc: 阅读全文
posted @ 2019-06-04 15:22 hellowOOOrld 阅读(2278) 评论(0) 推荐(0)
摘要: 本地是 Ubuntu 1804 最近想查看服务器上的图片,之前都是scp到本地,感觉太麻烦,于是查到有一种方法,ssh图形界面那种: 1.在File 界面下,左侧文件栏的最后一列有 “+ Other Locations” 点击**“+ Other Locations”** 可显示硬件相关的硬盘与网络 阅读全文
posted @ 2019-04-18 15:37 hellowOOOrld 阅读(1583) 评论(0) 推荐(0)
摘要: 1.使用预训练模型,需要修改训练的prototxt,将layer name改为与要使用模型的layer name相同即可。 Borrowing Weights from a Pretrained Network To borrow the weights of an already trained 阅读全文
posted @ 2019-04-16 17:58 hellowOOOrld 阅读(680) 评论(0) 推荐(0)
摘要: You need to generate caffe.pb.h manually using protoc as follows. 阅读全文
posted @ 2019-04-09 11:17 hellowOOOrld 阅读(2595) 评论(0) 推荐(0)
摘要: 总是分不太清楚LIBRARY_PATH和LD_LIBRARY_PATH环境变量的区别,每次都是现查一下,转载到这里,备忘。。。 转载自:https://www.cnblogs.com/panfeng412/archive/2011/10/20/library_path-and-ld_library_ 阅读全文
posted @ 2019-04-09 11:05 hellowOOOrld 阅读(196) 评论(0) 推荐(0)
摘要: Given a string S of '(' and ')' parentheses, we add the minimum number of parentheses ( '(' or ')', and in any positions ) so that the resulting paren 阅读全文
posted @ 2018-12-05 12:57 hellowOOOrld 阅读(339) 评论(0) 推荐(0)
摘要: 最近需要长期修改远端服务器上的代码,调试。vim操作又不是很6,想到了远程操作的办法,找到一篇好用的bolg,记录一下。 原文链接:https://blog.csdn.net/qq_38401919/article/details/80728516 在远程服务器上编写文件是一件很糟糕的事情,vim和 阅读全文
posted @ 2018-11-13 12:27 hellowOOOrld 阅读(2929) 评论(0) 推荐(0)
摘要: 感谢原创作者,写的好详细。不忍错过,所以转载过来了。。。 原文地址: https://www.cnblogs.com/icemoon1987/p/3320326.html 在这篇文章中,我总结了一些C/C++语言中的 const 修饰符的常见用法,供大家参考。 const 的用法,也是技术性面试中常 阅读全文
posted @ 2018-10-09 20:54 hellowOOOrld 阅读(476) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 37 下一页