Skip to content

Commit

Permalink
Merge pull request #9 from bryanhanner/master
Browse files Browse the repository at this point in the history
updates API key
  • Loading branch information
bryanhanner authored Jan 13, 2018
2 parents 774beaa + 17b6e37 commit a0a78a1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions a11ytext.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ <h2>Convert PDFs and Images to Text</h2>
//**********************************************
// *** Update or verify the subscription keys' string values with your valid subscription keys for each service. ***
// **********************************************
var handKey = "77a01c5eff1f47c4812a001a082c7728";
var ocrKey = "fe66b70c2b2e45b4a7cb2a39b001e17e";
var subKey = "3a7bbf9d9a01440f921be938e591b274";

// Replace or verify the region.
//
Expand Down Expand Up @@ -272,19 +271,16 @@ <h2>Convert PDFs and Images to Text</h2>
document.getElementById("sourceImage").style.display = 'block';

// Request parameters.
var subKey;
var params;
var uriAdd;
var processFunc;
if (document.getElementById("handwritingCheck").checked) {
subKey = handKey;
params = {
"handwriting": "true",
};
uriAdd = "RecognizeText?";
processFunc = handToText;
} else {
subKey = ocrKey;
params = {
"language": "unk",
"detectOrientation ": "true",
Expand Down

0 comments on commit a0a78a1

Please sign in to comment.