Comments (12)
请安装opencv 3
from wechat_autojump.
有teamviewer吗,打开告诉我id和passwd,我给你看看
from wechat_autojump.
不好意思问了那么低级的问题,我更正后opencv没问题了(版本3.4.0.12)
然后还是有报错,看起来像cv的问题
C:\Users\donglan01\Desktop\tiaoyitiao\Wechat_AutoJump-master>python play.py --phone Android --sensitivity 2.045
1666 KB/s (3412 bytes in 0.002s)
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in cv::resize, file C:\projects
\opencv-python\opencv\modules\imgproc\src\resize.cpp, line 4044
Traceback (most recent call last):
File "play.py", line 175, in
AI.run()
File "play.py", line 160, in run
self.play()
File "play.py", line 149, in play
self.target_pos = self.get_target_position(self.state, self.player_pos)
File "play.py", line 100, in get_target_position
pos = multi_scale_search(target, state_cut, 0.4, 15)
File "play.py", line 18, in multi_scale_search
resized = cv2.resize(screen, (int(W * scale), int(H * scale)))
cv2.error: C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4044: error: (-215) ssize
.width > 0 && ssize.height > 0 in function cv::resize
似乎网上说是和截的图片名字有关,麻烦您看看。
很感兴趣你的项目,非常感谢你的付出!
from wechat_autojump.
恩,以为是直接连接
from wechat_autojump.
你没开啊
from wechat_autojump.
之前那个错了。。抱歉
from wechat_autojump.
我还想试试
from wechat_autojump.
恩,连接吧
from wechat_autojump.
再告诉一下id和passwd
from wechat_autojump.
感谢作者的付出和帮助,检查发现,过低版本的Android手机可能没有press time参数,不能实现触屏操作。所以需要比较高版本的Android手机
from wechat_autojump.
前面报的错貌似是你操作的问题
from wechat_autojump.
啊,对,adb建议用官网的。。我好像是从某个国内网站下的
from wechat_autojump.
Related Issues (20)
- 你好,环境搭建起来了,报错,帮忙确认下是否是版本问题呢 HOT 2
- 小米5,程序已启动,但是游戏没反应? HOT 1
- Tensorflow训练 HOT 1
- No module named wda HOT 1
- 运行出错,AttributeError: 'NoneType' object has no attribute 'shape' HOT 8
- 找不到"cv2"模块 HOT 36
- 苹果7刷榜无法成功 HOT 6
- python tra in.py 出错 HOT 1
- 请教下,自己训练遇到的疑问 HOT 3
- 国行苹果7, iOS 11.2.5,在Mac上执行python nn_play.py --phone IOS --sensitivity 2.045 报错 HOT 3
- 我的小米4c,跑起来是跑起来了,但是总是跳不到中心,关于android 的配置,希望大神指点下 HOT 4
- 关于图像读入后的GBR2GREY转换 HOT 1
- 现在和谐了啊。。 HOT 1
- iOS设备下 运行python nn_play.py --phone IOS --sensitivity 2.045提示错误如下 HOT 1
- 环境配置完了出现这个问题
- No module named 'tensorflow' HOT 1
- 棋盘中心点坐标获取 HOT 1
- fix grammar
- ios运行出错 HOT 2
- Errno 61 Connection refused HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wechat_autojump.