Skip to content

Commit

Permalink
Fixed bug in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Balearica committed Sep 7, 2024
1 parent 15f8a84 commit a480d31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/recognizeConvert.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ export function checkCharWarn(warnArr) {
* @param {boolean} [scribeMode=false] - Whether this is HOCR data from this program.
*/
export async function convertOCRPage(ocrRaw, n, mainData, format, engineName, scribeMode = false) {
await gs.getGeneralScheduler();
let res;
if (format === 'hocr') {
res = await gs.convertPageHocr({ ocrStr: ocrRaw, n, scribeMode });
Expand Down

0 comments on commit a480d31

Please sign in to comment.