Auto.js 获取识别图片文本,自动截图,识别屏幕截图的图片文本,函数方法
log(识别屏幕图片文本());
function 识别屏幕图片文本(){
auto();
if(!requestScreenCapture()){//请求截图
toast("请求截图失败");
exit();
}
/** ↓↓↓ 随机获取个 百度Key ↓↓↓ **/
var ran=random(0,4);//01234 = 5个数
var client_id = ["eHeQnn85DOzRv2C4pFaEuuuN","O5Lu3QImOgiHCuNyCnNOuQoA","jZEblQEp3LRuiTz0IYEuwARV","S60pdjcSOXaeyEF3P2FTKj19","V0iYjZsleamGrHENbo7HG5Gx"];//V0iYjZsleamGrHENbo7HG5Gx是我的
var client_secret = ["T9nntp1HPuYlg35OPYOpjxycz11YGAZ2","ulsfaDXGG91KWIy27stY1LKlFcNldfip","RolvRwHWYLwaXg8N1M5BBbTkCu2p9bC0","A1MzZhsp4SjdnkKaH8b1Ucom6xmMt7Cb","wj1Teh0MfAbMc2oBYGXVmzqpcEaczhcs"];
var baidukey = "&client_id="+ client_id[ran] +"&client_secret="+ client_secret[ran];</