上一页 1 2 3 4 5 6 7 8 ··· 16 下一页
摘要: 1. 一维数据结构Series a. 概念:Series 是pandas 的一维数据结构,有重要的两个属性 index 和values b. 初始化: 可以通过 python 的 List 、dict 、np.array 初始化 如果使用np.array或者python 的list 创建 Serie 阅读全文
posted @ 2017-11-18 17:31 oftenlin 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 1.np.array构造函数 用法:np.array([1,2,3,4,5]) 1.1 numpy array 和 python list 有什么区别? 标准Python的列表(list)中,元素本质是对象。如:L = [1, 2, 3],需要3个指针和三个整数对象,对于数值运算比较浪费内存和CPU 阅读全文
posted @ 2017-11-18 12:40 oftenlin 阅读(90442) 评论(1) 推荐(2) 编辑
摘要: 0、gradle 配置 一、配置类 二、使用方法 // 声明 阅读全文
posted @ 2017-07-23 04:11 oftenlin 阅读(621) 评论(0) 推荐(0) 编辑
摘要: // BaseActivity 是实现的一些公共的变量和方法,可以暂时为空的类public class HomeActivity extends BaseActivity implements View.OnClickListener { // 下面的四个按钮 private TextView mHomeView; private TextView mPondV... 阅读全文
posted @ 2017-07-23 03:59 oftenlin 阅读(6343) 评论(0) 推荐(0) 编辑
摘要: 1) vue.js 的 主要功能 1、模板渲染 2、模块化 3、扩展功能:路由,Ajax 2) vue.js 模板渲染之双向绑定示例 message 绑定到了 input 对象,所有在input中的值修改了之后,上面的P 标签的显示的内容也会根据其改变。 3) app.vue 、main.js和 i 阅读全文
posted @ 2017-07-19 13:42 oftenlin 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 1、OpenCv 颜色追踪 import cv2import numpy as npcap=cv2.VideoCapture(0)cap.set(cv2.CAP_PROP_FRAME_WIDTH, 120);cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 240);while( 阅读全文
posted @ 2017-06-30 16:46 oftenlin 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: 1、cv2.imread(path,cv2.IMREAD_ANYCOLOR) IMREAD_ANYCOLOR=4(全彩模式)/IMREAD_GRAYSCALE=0(灰度模式)2、cv2.imwrite(path,imgMat) 3、cv2.imshow(title,imgMat)4、建立窗口显示图像 阅读全文
posted @ 2017-06-29 14:14 oftenlin 阅读(1005) 评论(0) 推荐(0) 编辑
摘要: 首先,下载并安装 python3.6; 然后,在网址http://www.lfd.uci.edu/~gohlke/pythonlibs/ 上 分别下载 numpy、scipy、matplotlib、opencv 的安装包,可以看到包与包之间的依赖关系,以matplotlib为例,matplotlib 阅读全文
posted @ 2017-06-27 13:27 oftenlin 阅读(790) 评论(0) 推荐(0) 编辑
摘要: 后台代码,主要是SpringMVC 接收多文件上传,不是用的MutilFiles 方式,主要是因为MUI 5+ 不支持文件上传的Key是同一个名字 前台代码 阅读全文
posted @ 2017-03-20 09:31 oftenlin 阅读(7185) 评论(1) 推荐(2) 编辑
摘要: 一、maven 依赖 二、配置文件 application.properties 三、建立Entity和Repository 1、Book 实体类 2、Author 实体类 3、Publisher 实体类 4、Reviewer 5、BookRepository 6、MyStartupRunner 命 阅读全文
posted @ 2017-03-15 14:05 oftenlin 阅读(5938) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页