https://github.com/wolfg1969/programming-computer-vision-with-python-practice
https://github.com/wolfg1969/programming-computer-vision-with-python-practice
book computer example matplotlib numpy pil python scipy tutorial vision
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wolfg1969/programming-computer-vision-with-python-practice
- Owner: wolfg1969
- License: mit
- Created: 2017-12-25T06:03:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-16T09:46:18.000Z (over 7 years ago)
- Last Synced: 2024-10-11T23:29:12.132Z (7 months ago)
- Topics: book, computer, example, matplotlib, numpy, pil, python, scipy, tutorial, vision
- Language: Jupyter Notebook
- Size: 1.94 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Programming Computer Vision with Python 练习
## 安装运行环境
```bash
$ wget http://programmingcomputervision.com/downloads/pcv_data.zip
$ unzip pcv_data.zip
$ git clone https://github.com/wolfg1969/Programming-Computer-Vision-with-Python-practice.git
$ cd Programming-Computer-Vision-with-Python-practice
$ pip install --user pipenv
$ pipenv install
$ cd PCV
$ pipenv run python setup.py install
```
## 运行脚本
```bash
$ cd Programming-Computer-Vision-with-Python-practice
$ pipenv run python PCV/examples2/ch1_image_representation.py
```## 启动 Jupyter Notebook
```bash
$ pipenv run jupyter notebook
```## matplotlib 在 Mac OS 下报错的解决办法
```
RuntimeError: Python is not installed as a framework.
```修改 ~/.matplotlib/matplotlibrc
```
backend: TkAgg
```https://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python