From 3422cb6620e89b1937aa15ba2662cbce5da74ddf Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 15 Dec 2022 17:36:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20'SrcVerify.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcVerify.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 SrcVerify.js 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