Skip to content
This repository was archived by the owner on May 19, 2022. It is now read-only.

Commit

Permalink
添加到pypi源,支持pip安装
Browse files Browse the repository at this point in the history
  • Loading branch information
airob0t committed Nov 24, 2019
1 parent 5a13353 commit b1df5c6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
(https://www.gaoding.com/koutu)

## 更新:
- 1.自动改变头像大小
- 2.自动从纯色背景中抠图
- 3.需要安装opencv
- 自动改变头像大小
- 自动从纯色背景中抠图
- 支持pip安装

## ToDo
- 自动从复杂背景下抠图
Expand All @@ -23,6 +23,15 @@
- opencv

## 下载
## pip安装
`pip install idcardgenerator`

```
from idcardgenerator import gui
gui.run()
```
文件会生成在运行目录

### Windows
[下载](https://github.com/airob0t/idcardgenerator/releases/download/win_v1.3/idcardgenerator.exe)
### Mac
Expand Down
2 changes: 1 addition & 1 deletion idcardgenerator/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def generator():
def run():
global ename, esex, enation, eyear, emon, eday, eaddr, eidn, eorg, elife, ebgvar
root = Tk()
root.title(u'AIRobot身份证图片生成器')
root.title(u'AIRobot身份证图片生成器 请遵守法律法规')
# root.geometry('640x480')
root.resizable(width=False, height=False)
Label(root, text=u'姓名:').grid(row=0, column=0, sticky=W, padx=3, pady=3)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup

setup(name='idcardgenerator',
version='0.0.1',
version='0.0.2',
description='idcardgenerator',
url='https://github.com/airob0t/idcardgenerator',
author='airobot',
Expand Down

0 comments on commit b1df5c6

Please sign in to comment.