识别图片的代码要怎么写?放入VS工作区之后要同步加密的话,main里面读取图片代码是什么?

发布于 2021-05-25 17:34:17

游戏里面截取图片,然后要怎么实现识别图片?

查看更多

关注者
0
被浏览
479
1 个回答
six_ten
six_ten 2021-05-26

function main()
screen.snapshot("/var/touchelf/a.png");
x, y = screen.findImage("/var/touchelf/a.png");
if x ~= -1 and y ~= -1 then

touch.down(0, x, y);        
touch.up(0);

end
end

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览