我提出的OCR(光学字符识别)的Web应用程序,而且我发现JavaScript库Ocrad.js,这正是我一直在寻找,但我不能得到它工作。有人能帮助我吗?如何获得Ocrad.js例如工作
这里是我的代码:
<!doctype html>
<html>
<head>
<script src="ocrad.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js"></script>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script>
$(document).ready(function() {
var image = document.getElementById('image');
var string = OCRAD(image);
alert(string);
});
</script>
</head>
<body>
<img src="img.jpg" id="image">
</body>
</html>
请具体得多。 “无法实现它”的意思是什么? – isherwood
我会使用的图像的路径来定义“形象” – pathfinder