@anytestforpm/ocr 1.4.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/ocr.js +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/ocr.js
CHANGED
|
@@ -18,7 +18,8 @@ const OCR_LANGUAGE_MAP = {
|
|
|
18
18
|
NG: "eng",
|
|
19
19
|
BD: "ben+eng",
|
|
20
20
|
TR: "tur",
|
|
21
|
-
US: "eng"
|
|
21
|
+
US: "eng",
|
|
22
|
+
SA: "eng"
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
const setResponseData = (val) => {
|
|
@@ -47,7 +48,8 @@ export const hello = (val) => {
|
|
|
47
48
|
|
|
48
49
|
/**
|
|
49
50
|
* @description initialization ocr config
|
|
50
|
-
* @param {String} region
|
|
51
|
+
* @param {String} region region
|
|
52
|
+
* @param {String} apiHost api url
|
|
51
53
|
*/
|
|
52
54
|
export const initOCR = (region, apiHost) => {
|
|
53
55
|
try {
|