一、简介 本文讲使用OpenCV,不使用FFMPEG的方法进行保存视频。 二、代码 1、引用 2、代码 ...
分类:
其他好文 时间:
2018-09-22 21:16:02
阅读次数:
1072
构造函数 Mat() Mat(int rows,int cols,int type) Mat(Size size,int type) Mat(int rows,int cols,int type,const Scalar &s) Mat(Size size,int type,const Scalar ...
分类:
其他好文 时间:
2018-09-21 15:16:45
阅读次数:
299
连接数据库 首先要在代码中添加对System.Data.SqlClient命名空间的引用: using System.Data.SqlClient; 1.使用SqlConnection对象 (1)连接本地数据库 "Server=(Local);Database=EduBaseDemo;Integra ...
分类:
数据库 时间:
2018-09-17 00:02:22
阅读次数:
245
package vector import ( "math" ) const ( I = 1 II = 2 III = 3 IV = 4 V = 5 VI = 6 VII = 7 VIII = 8 Xplus = 10 Yplus = 11 Xminus = 12 Yminus = 1... ...
分类:
其他好文 时间:
2018-09-14 21:39:41
阅读次数:
174
1 // For example, consider a scalar error e = k - x'y, where both x and y are 2 // two-dimensional column vector parameters, the prime sign indicates ... ...
分类:
其他好文 时间:
2018-09-13 15:05:27
阅读次数:
1242
018-08-30 08:39:52 一、变量与常量基础 1.变量标识符 每一个变量都可以用 变量标识符{变量名} 来表示。 Scalar变量 ${var} 单值变量 单值并不仅仅是像字符串、数值这样的,还有可能是个对象或者字典 List变量 @{var} 多值变量 只有带@的变量才能够确认是Lis ...
分类:
其他好文 时间:
2018-08-30 15:47:32
阅读次数:
1040
定义summary 1.scalar存储结果 a.先在训练的循环外定义: b.在session run的时候run test_scalar,获得值,然后再添加。 2.histogram存储权重,偏执。 a.先在训练的循环外定义: b.在session run的时候run test_scalar,获得 ...
分类:
其他好文 时间:
2018-08-28 18:58:35
阅读次数:
214
1、标量、向量、矩阵和张量 1.1、标量(scalar) 标量就是一个数,它不同于线性代数中的其他大部分研究对象(通常是多个数的数组)。标量一般用斜体的小写字母表示,当介绍标量时,我们会明确它是哪种类型的数,如 s ∈$\mathbb{R}$表示一条线的斜率。 1.2、向量(vector) 向量是由 ...
分类:
其他好文 时间:
2018-08-13 23:51:37
阅读次数:
251