|
|
|
@ -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
|
|
|
|
|
//https://cdn.rawgit.com/naptha/tesseract.js/master/worker/worker.js
|
|
|
|
|
|
|
|
|
|
var blob = new Blob(["importScripts('https://cdn.rawgit.com/naptha/tesseract.js/master/lib/worker.2015.07.15.v5.js');"]); // changed on build
|
|
|
|
|
var blob = new Blob(["importScripts('https://cdn.rawgit.com/naptha/tesseract.js/master/lib/worker.2015.07.25.v0.js');"]); // changed on build
|
|
|
|
|
// console.log('localhost')
|
|
|
|
|
var worker = new Worker(window.URL.createObjectURL(blob)); |
|
|
|
|
worker.postMessage({init: {mem: 16777216*6}}) |