Json
schema 规范
相关工具
过滤工具
JsonPath
JMESPath
参考:
特点: json 过滤器,library, 有 python 和 php 等语言对应的包
Npm
FAQ
如何 npm install -g 不需要 sudo
参考:
步骤:
修改 npm 设置
1 2mkdir "${HOME}/.npm-packages" npm config set prefix "${HOME}/.npm-packages"设置 shell 配置
1 2 3 4 5 6 7NPM_PACKAGES="${HOME}/.npm-packages" export PATH="$PATH:$NPM_PACKAGES/bin" # Preserve MANPATH if you already defined it somewhere in your config. # Otherwise, fall back to `manpath` so we can inherit from `/etc/manpath`. export MANPATH="${MANPATH-$(manpath)}:$NPM_PACKAGES/share/man"
Rich
".sql" 文件高亮展示
参考:
举例:
| |
安装 rich 到 python repl
| |
Opencv
教程
- 中文:http://codec.wang/#/opencv/
- 英文: https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_setup/py_intro/py_intro.html#intro
- bilibili 入门 python 接口视频:https://www.bilibili.com/video/BV19J411X7YG?p=1
codebind:
Computer Vision 学习网站
安装
参考:
| |
图像匹配 SIFT 方法
Opencv Python
Tutorials
读取图片
| |
读取视频
GUI 功能
图片基本操作
- 教程
基本操作示例
1 2 3 4 5 6 7 8 9 10 11import/export numpy as np import/export cv2 img = cv2.imread('messi5.jpg',0) cv2import.imshow('image',img) k = cv2.waitKey(0) if k == 27: # wait for ESC key to exit cv2import.destroyAllWindows() elif k == ord('s'): # wait for 's' key to save and exit cv2import.imwrite('messigray.png',img) cv2import.destroyAllWindows()图像转换示例