@anytestforpm/ocr 1.2.2 → 1.2.3
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 +3 -3
- package/ocr.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# Install
|
|
2
2
|
npm i @anytestforpm/ocr
|
|
3
3
|
# Language Support
|
|
4
|
-
|
|
4
|
+
支持地區為: VN IN ID BR MM TH EN
|
|
5
5
|
# Usage Example
|
|
6
|
-
1.初始化OCR的辨識語系及API
|
|
6
|
+
1.初始化OCR的辨識語系及API路由設定,就會自動取得后台設定檔
|
|
7
7
|
```javascript
|
|
8
8
|
import { initOCR } from '@anytestforpm/ocr';
|
|
9
9
|
|
|
10
10
|
mounted() {
|
|
11
11
|
//initOCR
|
|
12
|
-
//@param {String} VN IN ID BR MM
|
|
12
|
+
//@param {String} VN IN ID BR MM ...
|
|
13
13
|
//@param {String} API URL
|
|
14
14
|
if (process.env.NODE_ENV === 'production') {
|
|
15
15
|
initOCR('VN','https://your-api-domain/api/xxx');
|
package/ocr.js
CHANGED