Browse Source

Merge branch 'gh-pages' of github.com:naptha/tesseract.js into gh-pages

pull/389/head
Kevin Kwok 8 years ago
parent
commit
2f3fd699d7
  1. 2
      demo.js
  2. 12
      index.html

2
demo.js

@ -206,7 +206,7 @@ document.body.addEventListener('drop', function(e){ @@ -206,7 +206,7 @@ document.body.addEventListener('drop', function(e){
var reader = new FileReader();
Tesseract.recognize(file, language)
.progress( progress )
.progress( progressUpdate )
.then( result )
reader.onload = function(e){

12
index.html

@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
-->
<div class='commentary'>
<p><b>Tesseract.js</b> is a pure Javascript port of the popular Tesseract OCR engine. </p>
<p>This library supports <b>over 60 languanges</b>, automatic text <b>orientation and script detection</b>, a simple interface for reading paragraph, word, and character <b>bounding boxes</b>. Tesseract.js can run either in a <b>browser</b> and on a server with <b>NodeJS</b>. </p>
<p>This library supports <b>over 60 languages</b>, automatic text <b>orientation and script detection</b>, a simple interface for reading paragraph, word, and character <b>bounding boxes</b>. Tesseract.js can run either in a <b>browser</b> and on a server with <b>NodeJS</b>. </p>
<p>Check out the <a href='https://github.com/naptha/tesseract.js#tesseractjs'>Example code and API docs on GitHub</a>.</p>
</div>
@ -89,5 +89,15 @@ @@ -89,5 +89,15 @@
<script src="https://cdn.rawgit.com/naptha/tesseract.js/1.0.5/dist/tesseract.js"></script>
<script src="demo.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-83153710-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>
Loading…
Cancel
Save