Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shakex committed Jul 29, 2020
1 parent d59c8d5 commit f803de3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@

### 运行
1. 进入 `Card-Rectification/` 目录
2. 单张图片处理:`$ python recitify.pyc [input_path] [output_path]`
2. 单张图片处理:`$ python rectify.py [input_path] [output_path]`
- `input_path`: 待校正图像的位置
- `output_path`: 校正后图像的保存位置
- e.g. `$ python recitify.pyc example/card1.jpg result/card1_res.png`
3. 批处理:`$ python recitify.pyc [input_dir] [output_dir]
- e.g. `$ python rectify.py example/card1.jpg result/card1_res.png`
3. 批处理:`$ python rectify.py [input_dir] [output_dir]
- `input_dir`: 待校正图像目录
- `output_dir`: 校正后图像保存目录
- 默认保存图片为.png格式
- e.g. `$ python recitify.pyc example/ result/`
- e.g. `$ python rectify.py example/ result/`
* GPU使用:在GPU可用的情况下,程序会优先使用GPU运行;否则将采用CPU运行。

## 尚未解决的情况
Expand Down

0 comments on commit f803de3

Please sign in to comment.