@xuda.io/drive_module 1.1.967 → 1.1.969
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/index.js +1 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1735,6 +1735,7 @@ const ocr_drive_file = async function (app_id, doc) {
|
|
|
1735
1735
|
|
|
1736
1736
|
// Detect the language from the extracted text
|
|
1737
1737
|
const detectedLang = franc(initialText);
|
|
1738
|
+
debugger;
|
|
1738
1739
|
const tesseractLang = detectedLang || "eng";
|
|
1739
1740
|
ocr = await tesseract.recognize(target_file, tesseractLang);
|
|
1740
1741
|
|