Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

Commit

Permalink
screenshot return value change to PIL.Image, remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed Mar 11, 2016
1 parent 9035a56 commit 8ad0294
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 320 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
CHANGES
=======

* remove log from base.py
* update pypi badge
* add pypi badge

1.0.3
-----

* update watcher api
* remove useless code
* remove useless file
* finish rebuild
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ filename | string | **Optional** 保存的文件名

返回值

opencv image
PIL.Image (1.0.4+)

1.0.3的版本返回的是 Opencv Image Object

### 点击图片(制作中)
`touch_image(img)`
Expand Down
5 changes: 4 additions & 1 deletion atx/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@
SCREENSHOT_METHOD_MINICAP = 'minicap'

IMAGE_MATCH_METHOD_TMPL = 'template'
IMAGE_MATCH_METHOD_SIFT = 'sift'
IMAGE_MATCH_METHOD_SIFT = 'sift'

EVENT_UIAUTO_CLICK = 1 <<0
EVENT_UIAUTO_SWIPE = 2 <<0
Loading

0 comments on commit 8ad0294

Please sign in to comment.