1. 图像读取与存储 1.1. PIL from PIL import Image import numpy as np def imageloadDirectlyResize(path,resize): ''' 直接通过PIL image 加载图像,resize操作 ''' img = Image.open(path) img=img.resize((196,196)) img.show() #print(type(img)) #<class 'PIL.Image.Image'> #img.save("1.jpg") return np.asarray(img) #196*196*3 1.2. skimage from skimage import io img=io.imread('img.jpg') io.imshow(img) io.show() io.imsave('img_copy.jpg', img) 1.3. matplotlib import matplotlib.pyplot
1. 查看&安装&显示字体 cat /proc/version fc-list :lang=zh-cn #显示中文字体 sudo apt install -y --force-yes --no-install-recommends fonts-wqy-microhei #下载安装字体 sudo apt install -y --force-yes --no-install-recommends ttf-wqy-zenhei 2. 词云绘制 # coding:utf-8 import jieba # 分词 import matplotlib.pyplot as plt # 数据
pkg-config是一个linux下的命令,用于获得某一个库/模块的所有编译相关的信息。如果你写了一个库,不管是静态的还是动态的,要提供给
1. IMU,肌电信号 1.1. Serendipity Wen, Hongyi, Julian Ramos Rojas, and Anind K. Dey. “Serendipity: Finger gesture recognition using an off-the-shelf smartwatch.” Proceedings of the 2016 CHI Conference on Human Factors in Computing Systems. 2016. 107 1.1.1. Relative Expanding interaction space: SkinWatch [9] provides gesture input by sensing deformation of skin. Abracadabra [4] enables off-the-screen fine motor control by placing a magnet on the
level: author: Gutao date: 2018
Zhang, Yu, et al. “Findroidhr: Smartwatch gesture input with optical heartrate monitor.” Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 2.1 (2018): 1-42.
Paper: Findroidhr
泛化 *=* 实现 *>* 组合 *>* 聚合 *>* 关联 *>* 依赖 继承关系(generalization) 继承关系用一条带空心箭头的直线表示。如下图所示(A继承自B): 继承