wingcd / wechat_taptap Goto Github PK
View Code? Open in Web Editor NEW运用opencv,两百行python代码,让电脑帮你玩微信跳一跳
运用opencv,两百行python代码,让电脑帮你玩微信跳一跳
Traceback (most recent call last):
File "E:\for github\wechat_taptap\taptap.py", line 195, in
threading.Thread(target = run).run()
File "D:\python\lib\threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "E:\for github\wechat_taptap\taptap.py", line 176, in run
ready()
File "E:\for github\wechat_taptap\taptap.py", line 76, in ready
image=cv2.resize(image,(h,w),interpolation=cv2.INTER_CUBIC)
TypeError: integer argument expected, got float
➜ Desktop sudo python ./taptap.py
/sdcard/screenshot.jpg: 1 file pulled. 10.5 MB/s (60494 bytes in 0.005s)
/sdcard/screenshot.jpg: 1 file pulled. 9.3 MB/s (60494 bytes in 0.006s)
Traceback (most recent call last):
File "./taptap.py", line 196, in <module>
threading.Thread(target = run).run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "./taptap.py", line 178, in run
x0,y0 = findRole()
File "./taptap.py", line 86, in findRole
w,h = template.shape[::-1]
AttributeError: 'NoneType' object has no attribute 'shape'
➜ Desktop
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.