diff --git a/SrcVerify.js b/SrcVerify.js new file mode 100644 index 0000000..f92df22 --- /dev/null +++ b/SrcVerify.js @@ -0,0 +1,10 @@ +let Verify ={ + ocr: function(url){ + let img = convertBase64Image(url).replace('data:image/jpeg;base64,',''); + let code = post("http://124.221.241.174:9898/ocr/b64/text", {headers: {"Content-Type": "application/json"}, body: img}); + return code; + }, + slide: function(){ + + } +} \ No newline at end of file