forked from hcesar/captcha-solver-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
22 lines (19 loc) · 841 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
Captcha Source: <a href="http://www.detran.sp.gov.br/wps/PA_CNHWeb/jcaptcha?id=9999">http://www.detran.sp.gov.br/wps/PA_CNHWeb/jcaptcha?id=9999</a><br />
<br />
<div style ="width:220px;height:70px;overflow:hidden; display:inline-block"><img id="captcha" /></div> <a onclick="reload()" href="javascript:;">New Sample Captcha</a><br />
<input id="btnBreak" type="button" onclick="breakCaptcha()" value="Solve Captcha" /><br />
<div id="container" style="display:none">
Segmentation: <canvas id="segmentacao" width="220" height="70"></canvas><br />
Detected Text: <input type="text" id="ocr" />
</div>
</body>
<script src="captcha.js"></script>
<script src="gocr.js"></script>
</html>