首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 一antigate.com capcha识别java API服务。

一antigate.com capcha识别java API服务。

资 源 简 介

A simple library for recognizing capcha images with the antigate.com service. Usage is very simple, just see the example below. import j.antigate.*;public class TypicalAntigate{ static String answer; public static void main (String[] args){ try {/** Just get an InputStream of your image in any way you want. In the example I use a local File **/ File f = new File("C:\capcha.png"); FileInputStream is = new FileInputStream(f); //** You may check your antigate.com balance first **/ String balance = CapchaUtils.getBalance("YOURAPIKEY"); /** Use CapchaAnswer() method to get the capcha text, returns error message if any **/ answer = CapchaBypass.CapchaAnswer(is, "YOURAPIKEY", null, null, null); } catch (IOException | InterruptedException e) { e.printStackTrace(); } System.out.println(answer);}} Method parameters are: CapchaAnswer(InputStream, "YOURAPIKEY", "YES/NO for multiple words", &qu

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.155575s