• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






任重道远-HSY

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 11 12 13 14 15 16 17 18 19 下一页

2018年3月23日

操纵元
摘要: 1 #include 2 #include 3 //#include 4 using namespace std; 5 int main() 6 { 7 8 /*cout << " mor"<<setw(4)<<10<<endl;和下面效果一样 9 fd和10之间空2格*/ 10 11 cout << "fd"; 12 cou... 阅读全文
posted @ 2018-03-23 23:38 任重道远-HSY 阅读(170) 评论(0) 推荐(0)
 

2018年3月21日

传递引用
摘要: 而关于值传递,指针传递,引用传递这几个方面还会存在误区, 所有我觉的有必要在这里也说明一下~ 下文会通过例子详细说明哦 值传递: 形参是实参的拷贝,改变形参的值并不会影响外部实参的值。从被调用函数的角度来说,值传递是单向的(实参->形参),参数的值只能传入, 不能传出。当函数内部需要修改参数,并且不 阅读全文
posted @ 2018-03-21 10:37 任重道远-HSY 阅读(171) 评论(0) 推荐(0)
 

2018年3月19日

TensorFlow常用函数
摘要: 【1】卷积层(Convolutional Layer),构建一个2维卷积层,常用的参数有 inputs表示输入要的Tensor,filters表示卷积核的数量,kernel_size表示卷积核的大小,padding表示卷积的边界处理方式, 有valid和same两种方式,valid方式不会在原有输入 阅读全文
posted @ 2018-03-19 22:30 任重道远-HSY 阅读(187) 评论(0) 推荐(0)
 

2018年1月16日

OpenCV 调用双摄像头
摘要: 1 #include 2 #include 3 4 using namespace cv; 5 using namespace std; 6 7 int main() 8 { 9 //initialize and allocate memory to load the video stream from camera 10 VideoCapture cam... 阅读全文
posted @ 2018-01-16 19:22 任重道远-HSY 阅读(521) 评论(0) 推荐(0)
 
OpenCV之Vec3f
摘要: 对于mat的理解,可以认为mat.at<Vec3f>是mat的一种访问形式,其有点类似vector。 阅读全文
posted @ 2018-01-16 19:08 任重道远-HSY 阅读(2263) 评论(0) 推荐(0)
 

2018年1月10日

OpenCV SVM
摘要: 1 #include 2 #include 3 #include 4 5 using namespace cv; 6 7 int main() 8 { 9 // Data for visual representation 10 int width = 512, height = 512; 11 Mat image = Mat:... 阅读全文
posted @ 2018-01-10 20:32 任重道远-HSY 阅读(243) 评论(0) 推荐(0)
 
数字识别(测试)
摘要: 1 #include 2 #include 3 #include 4 5 using namespace cv; 6 using namespace std; 7 8 char* WcharToChar(const wchar_t* wp) 9 { 10 char *m_char; 11 int len = WideCharToMultiByte(CP... 阅读全文
posted @ 2018-01-10 11:45 任重道远-HSY 阅读(292) 评论(0) 推荐(0)
 

2018年1月9日

ofstream和ifstream
摘要: ofstream(输出流)是从内存到硬盘,ifstream(输入流)是从硬盘到内存。 //#include #include using namespace std; int main() { ifstream in; ofstream out; in.open("a.txt"); out.open("b.txt"); int x, y, z; ... 阅读全文
posted @ 2018-01-09 17:52 任重道远-HSY 阅读(167) 评论(0) 推荐(0)
 
C++字符串和向量
摘要: 陷阱:C字符串使用=和== char a_string[10]; a_string="Hello" 非法 strcpy(a_string,"Hello"); 合法 阅读全文
posted @ 2018-01-09 13:19 任重道远-HSY 阅读(124) 评论(0) 推荐(0)
 
OpenCV批量读入(处理)
摘要: 1 #include 2 #include 3 #include 4 5 using namespace cv; 6 using namespace std; 7 char* WcharToChar(const wchar_t* wp) 8 { 9 char *m_char; 10 int len = WideCharToMultiByte(CP_ACP... 阅读全文
posted @ 2018-01-09 12:34 任重道远-HSY 阅读(278) 评论(0) 推荐(0)
 
上一页 1 ··· 11 12 13 14 15 16 17 18 19 下一页