@xuda.io/drive_module 1.1.945 → 1.1.947

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.
Files changed (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1728,7 +1728,7 @@ const ocr_drive_file = async function (app_id, doc) {
1728
1728
  const tesseract = require("node-tesseract-ocr");
1729
1729
  ocr = await tesseract.recognize(target_file, {
1730
1730
  // lang: "eng",
1731
- lang: "heb",
1731
+ // lang: "heb",
1732
1732
  oem: 1,
1733
1733
  psm: 3,
1734
1734
  });
@@ -1977,7 +1977,6 @@ exports.run_drive_pending_ocr = async function (req) {
1977
1977
  for (let app of app_res.docs) {
1978
1978
  const app_drive_res = await db_module.find_app_couch_query(app._id, opt);
1979
1979
  for await (let doc of app_drive_res.docs) {
1980
- console.log(opt, doc);
1981
1980
  await ocr_drive_file(app._id, doc);
1982
1981
  }
1983
1982
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.945",
3
+ "version": "1.1.947",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {