Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加tools文件夹及图片取模工具 #2

Merged
merged 1 commit into from
Feb 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "tools/A-Eye-Image2array-tool"]
path = tools/A-Eye-Image2array-tool
url = https://github.com/imliubo/A-Eye-Image2array-tool.git
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,19 @@ PCB和外壳的设计效果:
上面的文章是基础介绍可以先看看,详细的项目教程要等我过阵子有空了整理,如果大家有K210开发基础的话可以自己先尝试玩玩,愿意分享经验的也可以联系我帮你推广。


### 4.工具

tools目录下有图片取模小工具**A-Eye-Image2array.py**,可以将图片转成C数组.

该工具以子模块的形式存在于项目中,拉取项目时请使用以下命令,以确保拉取完整.
```bash
git clone --recursive https://github.com/david-pzh/A-Eye.git
```

使用方法:
```bash
python A-Eye-Image2array.py A_Eye.jpg
```

示例:
![A-Eye](https://github.com/imliubo/A-Eye-Image2array-tool/blob/master/example/A-Eye_example.jpg)
1 change: 1 addition & 0 deletions tools/A-Eye-Image2array-tool
Submodule A-Eye-Image2array-tool added at 8357f9