![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 86
stevedish_xiaojia
这个作者很懒,什么都没留下…
展开
-
Python学习网址和安装
1、Python学习网址Zhoumofan的学习:https://www.youtube.com/user/MorvanZhou鱼c工作室:https://www.youtube.com/channel/UCGj-3RuJeNdzTsACq8beDRg/feed?disable_polymer=1 2、Python环境安装Python环境搭建之OpenCV :htt...原创 2018-10-14 19:38:46 · 103 阅读 · 0 评论 -
Python基础知识
1.1.1 Python显示帮助>>> import cv2>>> help(cv2.imread)显示python的内置函数>>> dir(__builtins__)1.1.2 变量,字符串,操作符变量:变量名可以包括字母,数字,下划线,但是不能数字开头;大小写敏感字符串:可以是单引号和双引号。转义符号(\)打印单引号...原创 2018-10-14 19:45:56 · 124 阅读 · 0 评论 -
Numpy模块的操作
1 Ndarray的创建和属性import numpy as nparray = np.array([[1,2,3],[2,3,4]]) ##创建2行3列的数组,默认dtype是int32>>> print(array)[[1 2 3] [2 3 4]]>>> type(array)<class 'numpy.ndarray'>&...原创 2018-10-14 21:14:18 · 125 阅读 · 0 评论 -
Pandas模块的操作
1 dateframe的创建pandas其实就是一个带有行名字和列名字的矩阵,有点类似于表数据。有表行号,和列标号。Dataframe的创建一般有两种方式:一种是通过给定一个numpy数组来创建,另一种是通过传入一个字典来创建>>> s = pd.Series([1,3,6,np.nan,44,1]) ##创建一个一维的pandas>>> s0 ...原创 2018-10-14 21:16:08 · 173 阅读 · 0 评论 -
Python中opencv的使用
1 Python的opencv安装OpenCV-Python Tutorials:https://docs.opencv.org/3.0-beta/doc/py_tutorials/py_tutorials.htmlpython 安装目录:C:\Users\w00250712\AppData\Local\Programs\Python2 图像基本操作 获取图像的属性:shape:...原创 2018-10-14 21:23:10 · 709 阅读 · 0 评论