广告X识别贡献服务端接口

[复制链接]
查看781 | 回复1 | 2023-12-24 11:05:04 | 显示全部楼层 |阅读模式
function 广告X识别(IP地址,x,y,x1,y1)
        snapShot("/mnt/sdcard/test.png",x,y,x1,y1)
        local b64 = getFileBase64("/mnt/sdcard/test.png")
        local 表数据={
        ['b64']= b64 ,
        ['zjby']= "1" ,--如果不为空则填充四周边缘
        }
        local ret= httpPost(IP地址.."/guanbix?",jsonLib.encode(表数据))
        print(ret)
        if ret ~= nil and ret ~= "" and  ret ~=  "{}" then
                ret = jsonLib.decode(ret)
                tap(math.floor(ret["x"])+x,math.floor(ret["y"])+y)
        end
end
广告X识别("124.222.239.48:9999",173,311,366,583)

          只要有图灵

         生活就有希望
回复

使用道具 举报

152324093 | 2024-1-13 04:40:56 | 显示全部楼层
广告一直更新  能管用???
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

35

主题

72

帖子

436

积分

中级会员

Rank: 3Rank: 3

积分
436