-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
运行之后一直显示 'Sorry! Failed! Maybe you need to update the code.'
试了几个方法排除bug,在这一行
im = Image.open(StringIO.StringIO(browser.get_screenshot_as_png())).crop((400, 310, 630, 530)).convert('L')
用crop裁剪的时候得到的图片是这个

貌似是没有拿到正确的解锁图片,打印了一下im的size是(2100,1326)
在getType函数里面打印了 print im.load()[i,j],ims[png][i][j] 结果是(87,255),所以 isGoingOn参数一直都是False
运行平台是Mac,不知道是不是跟屏幕的分辨率有关...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels