Skip to content

Commit 87556cc

Browse files
committed
Ocr sample fix
1 parent 4bd54f9 commit 87556cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/OcrWithTesseract.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void OcrWithTesseract(
3030
const std::wstring& open_path, // source PDF document
3131
const std::wstring& save_path, // searchable PDF document
3232
const std::wstring& data_path, // path to OCR data
33-
const std::string& language, // default OCR language
33+
const std::wstring& language, // default OCR language
3434
OcrTesseractParams& ocr_params
3535
) {
3636
// initialize Pdfix

0 commit comments

Comments
 (0)