View Single Post
Old 02-11-2025, 05:55 AM   #8
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 877
Karma: 3501166
Join Date: Jan 2017
Location: Poland
Device: Various
I confirm that it can also work on Windows with internal Python.

* Four libraries: ebooklib, packaging, pdf2image, pytesseract added to plugin.

* Two external programs:
Tesseract from here: https://github.com/UB-Mannheim/tesseract/wiki
Poppler from here: https://github.com/oschwartz10612/po...ndows/releases

* Modifying imports to use PySide6:
Code:
try:
    from PySide6 import QtCore
    from PySide6.QtWidgets import QDialog, QFileDialog, QApplication
    from PySide6.QtUiTools import QUiLoader
except:
    from PyQt6.QtWidgets import QDialog, QFileDialog, QApplication
    from PyQt6 import uic
* Loading UI for PySide6 from here:
https://github.com/Sigil-Ebook/BibiR..._utils.py#L378

* The dialog box with labels in English is more understandable to most:
BeckyEbook is offline   Reply With Quote