编程笔记
文章平均质量分 61
burning_keyboard
深度学习,目标检测,模式识别方向
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
rhel6 无管理员权限,无网络,OCR开发环境配置
rhel6 无管理员权限,无网络,OCR开发环境配置还是银行ocr的任务,保密要求很高,没有网络,没有管理员权限,在redhat6.7系统上部署开发环境,包括python计算环境,opencv, tensorflow, ctpn, leptonica, tesseract。1. 非管理员断网安装rpm包$HOME = /home/cuizhou/usr 代替管理员时的/usr把...原创 2018-03-12 21:36:47 · 497 阅读 · 0 评论 -
std::function函数 与std::bind
#include <iostream>#include <functional>using namespace std;void printA(int a){ cout << a << endl;}void printB(int a, int b)原创 2018-09-13 15:29:13 · 286 阅读 · 0 评论 -
c++ 异常与调试
常用异常处理[参考] https://www.cnblogs.com/ranjiewen/p/5549929.html1. assert 函数头文件:#include <assert.h>可以在头文件前加预定义宏关闭:#define NDEBUG 1assert 只在debug编译中有效,例如cmake -D CMAKE_BUILD\_TYPE=release .. ...原创 2018-09-12 00:24:35 · 2100 阅读 · 0 评论 -
clion activate
http://idea.lanyus.com/原创 2018-09-03 13:59:32 · 821 阅读 · 0 评论 -
Qt Windows 笔记
Qt Windows 笔记1. 窗口关闭问题[参考] https://blog.youkuaiyun.com/u012997311/article/details/51283526GUI在关闭QWidget及其子类窗口时需销毁窗口如果主窗口定义在堆上:MainWindow *w = new MainWindow ; w->show();在子类窗口构造函数中添加 setA...原创 2018-08-31 10:45:11 · 241 阅读 · 0 评论 -
c++小工具
C++ 常用小工具1. 文件遍历使用boost#include &lt;boost/filesystem.hpp&gt;using namespace boost::filesystem;void readfiles(string dir){ for(directory_iterator itr=directory_iterator(dir); itr!=dir...原创 2018-07-21 19:19:43 · 1237 阅读 · 0 评论 -
C++ 模板中的类型获取(一)
C++ 模板中的类型获取1. 类型判断严格类型比较:std::is_same&amp;lt;T1, T2&amp;gt;::valuecout &amp;lt;&amp;lt; std::is_same&amp;lt;int, int&amp;gt;::value &amp;lt;&amp;lt; endl; // truecout &amp;l原创 2018-05-16 14:43:08 · 13002 阅读 · 0 评论 -
[C++] template value type extraction
https://shininglionking.blogspot.tw/2014/08/c-template-value-type-extraction.html转载 2018-05-14 18:08:56 · 299 阅读 · 0 评论 -
CmakeList 组织编译项目的基本用法
基本语句外部编译源码文档结构--projecct --main.cpp --class1.cpp --class1.h --Cmakelist.txt --build项目名 PROJECCT(hello)版本说明CMAKE_MINIMUM_REQUIRED(VERSION 3.2)编译可执行文件ADD_EXECUTABLE(hello原创 2017-08-21 19:53:31 · 1266 阅读 · 0 评论 -
Rhel6断网时开发环境配置
Rhel6 断网时的开发环境配置和银行合作,对方环境要求是,断网,rhel6 系统,OCR环境需要python,opencv,tensorflow,tesseract。解决方案:yum 代替 ubuntu 下的 apt,配置本地源1. rhel最基本的包管理工具rpmredhat6 可用的 rpm 资源列表:http://mirrors.163.com/centos/6/os...原创 2018-03-12 13:18:55 · 274 阅读 · 0 评论 -
环境配置
离线环境下搭建Ubuntu开发环境参考:http://blog.youkuaiyun.com/candcplusplus/article/details/521563241. apt-get本地源大法好首先,如果安装的包没有其他依赖,可以直接把deb包拷贝到默认包缓存路径下,通过apt-get安装但是多数情况下,安装包是需要其他依赖的,这最好就是先在有网的机器上联网把依赖包一起下载,制作成...原创 2018-03-01 22:20:17 · 505 阅读 · 0 评论 -
Socket通信:Linux服务器与多个Android客户端
Socket通信:Linux服务器与多个Android客户端1. Linux Server:#include //head files of Linux#include#include //for fork and read#include //for socket#include //for socket#include // for bzero#incl原创 2018-01-29 13:05:27 · 1455 阅读 · 2 评论 -
Ubuntu OpenCv 常见问题
Ubuntu OpenCV 常见问题1. 编译安装OpenCV 参考:http://blog.youkuaiyun.com/tkchengzi/article/details/52939526 http://www.cnblogs.com/lvchaoshun/p/6410880.html安装依赖安装GCC:sudo apt-get install build-essential原创 2017-12-29 12:06:51 · 665 阅读 · 0 评论 -
python 常用基础操作
python 基础操作(一)1.python版本切换在windows中如果安装了python2和python3,可以直接进入python的安装路径,把python.exe重命名即可。关于pip指向的python,详细可以参考这篇博客:http://blog.youkuaiyun.com/zyx19950825/article/details/61919038在ubuntu中如果安装的是anaconda,设置原创 2017-08-31 13:52:31 · 408 阅读 · 0 评论 -
Ubuntu 基本操作
Ubuntu 基本操作ldd application.bin 查看依赖项ls -n file1 file2 建立软链接ldconfig 软链接生效nvidia-smi -l 查看实时GPU使用状况kill -s 9 PID 杀死进程sudo fdisk -l 查看硬盘挂载sudo ntfsfix /dev/sdc1 修复硬盘ls 查看当前目录下存在的文件locate *keywor原创 2017-09-04 16:46:28 · 623 阅读 · 0 评论
分享