|
|
|
@ -6,7 +6,7 @@ var Tesseract = (function(){
@@ -6,7 +6,7 @@ var Tesseract = (function(){
|
|
|
|
|
//https://rawgit.com/naptha/tesseract.js/master/worker/worker.js for testing
|
|
|
|
|
|
|
|
|
|
var blob = new Blob(["importScripts('https://cdn.rawgit.com/naptha/tessdata/worker/worker.js');"]); |
|
|
|
|
console.log('localhost') |
|
|
|
|
// console.log('localhost')
|
|
|
|
|
var worker = new Worker(window.URL.createObjectURL(blob)); |
|
|
|
|
worker.postMessage({init: {mem: 16777216*6}}) |
|
|
|
|
var bigworker = false |
|
|
|
|