@xuda.io/drive_module 1.1.955 → 1.1.956

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 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1754,6 +1754,7 @@ const ocr_drive_file = async function (app_id, doc) {
1754
1754
 
1755
1755
  // Detect the language from the extracted text
1756
1756
  const detectedLang = franc(initialText);
1757
+ const tesseractLang = detectedLang || "eng";
1757
1758
  ocr += await tesseract.recognize(imageData.path, tesseractLang);
1758
1759
  }
1759
1760
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.955",
3
+ "version": "1.1.956",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {