YAGF, pas mal quand même!

Ответить
Аватара пользователя
Gerardll51
Сообщения: 1391
Зарегистрирован: 13 окт 2013, 23:34
Operating system: ROSA Desktop Fresh R10 release 2016.1 for x86_64
4.9.124-nrj-desktop-1rosa-x86_64. KDE Plasma 4.14.37
NVIDIA Corporation GF110 [GeForce GTX 570] (rev a1). GLX Version : 4.4.0 NVIDIA 340.107. Intel Core2 Duo E8400 (-MCP-). 4 Go RAM

YAGF, pas mal quand même!

Сообщение Gerardll51 » 24 авг 2018, 15:18

Bonjour,

Pas mal quand même ce programme de reconnaissance de caractère YAGF!
C'est rapide et très pratique.
Très bien la distribution Rosa!

Аватара пользователя
Zeffanyx
Сообщения: 1295
Зарегистрирован: 12 сен 2011, 14:25
Operating system: Rosa Fresh R11, OpenMandriva Lx 4 (Cooker)
Откуда: Санкт-Петербург

YAGF, pas mal quand même!

Сообщение Zeffanyx » 24 авг 2018, 20:35

Oui, mais gImagereader est encore mieux

Аватара пользователя
Gerardll51
Сообщения: 1391
Зарегистрирован: 13 окт 2013, 23:34
Operating system: ROSA Desktop Fresh R10 release 2016.1 for x86_64
4.9.124-nrj-desktop-1rosa-x86_64. KDE Plasma 4.14.37
NVIDIA Corporation GF110 [GeForce GTX 570] (rev a1). GLX Version : 4.4.0 NVIDIA 340.107. Intel Core2 Duo E8400 (-MCP-). 4 Go RAM

YAGF, pas mal quand même!

Сообщение Gerardll51 » 25 авг 2018, 01:51

Ah je ne connaissais pas, je regarde! :-)
Merci.
Très bien la distribution Rosa!

Аватара пользователя
Gerardll51
Сообщения: 1391
Зарегистрирован: 13 окт 2013, 23:34
Operating system: ROSA Desktop Fresh R10 release 2016.1 for x86_64
4.9.124-nrj-desktop-1rosa-x86_64. KDE Plasma 4.14.37
NVIDIA Corporation GF110 [GeForce GTX 570] (rev a1). GLX Version : 4.4.0 NVIDIA 340.107. Intel Core2 Duo E8400 (-MCP-). 4 Go RAM

YAGF, pas mal quand même!

Сообщение Gerardll51 » 25 авг 2018, 10:03

Bonjour,

Ne marche pas chez moi!
Erreur_gimageReader.jpg
Pas de rapport d'erreur.
Très bien la distribution Rosa!

Аватара пользователя
Gerardll51
Сообщения: 1391
Зарегистрирован: 13 окт 2013, 23:34
Operating system: ROSA Desktop Fresh R10 release 2016.1 for x86_64
4.9.124-nrj-desktop-1rosa-x86_64. KDE Plasma 4.14.37
NVIDIA Corporation GF110 [GeForce GTX 570] (rev a1). GLX Version : 4.4.0 NVIDIA 340.107. Intel Core2 Duo E8400 (-MCP-). 4 Go RAM

YAGF, pas mal quand même!

Сообщение Gerardll51 » 25 авг 2018, 10:06

Ah si, j'ai ça! :

Код: Выделить всё

gerard@admin-desktop ~ $ gimagereader-qt5 
Erreur de segmentation (core dumped)
Malgré tout si, YAGF marche bien quand même. :)
Si j'arrive à faire marcher gimagereader je comparerai.
Très bien la distribution Rosa!

Аватара пользователя
Gerardll51
Сообщения: 1391
Зарегистрирован: 13 окт 2013, 23:34
Operating system: ROSA Desktop Fresh R10 release 2016.1 for x86_64
4.9.124-nrj-desktop-1rosa-x86_64. KDE Plasma 4.14.37
NVIDIA Corporation GF110 [GeForce GTX 570] (rev a1). GLX Version : 4.4.0 NVIDIA 340.107. Intel Core2 Duo E8400 (-MCP-). 4 Go RAM

YAGF, pas mal quand même!

Сообщение Gerardll51 » 25 авг 2018, 10:20

Je suis arrivé à générer un rapport d'erreur :

Код: Выделить всё

gImageReader 3.2.3 ()


#0  0x00007f8eb10d5eed in poll () from /lib64/libc.so.6
#1  0x00007f8eacc380e4 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f8eacc381fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8eb1bb37bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8eb1b659ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x000000000049ee14 in Utils::busyTask(std::function<bool ()> const&, QString const&) ()
#6  0x000000000048dc21 in Recognizer::recognize(QList<int> const&, bool) ()
#7  0x000000000048dfa3 in Recognizer::recognizeButtonClicked() ()
#8  0x00000000004ab2dd in ?? ()
#9  0x00007f8eb1b8d141 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#10 0x00007f8eb289a942 in QAbstractButton::clicked(bool) () from /usr/lib64/libQt5Widgets.so.5
#11 0x00007f8eb289ab54 in ?? () from /usr/lib64/libQt5Widgets.so.5
#12 0x00007f8eb289c70e in ?? () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007f8eb289c865 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f8eb296bdfa in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007f8eb27e4898 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007f8eb296bed5 in QToolButton::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f8eb27a837c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f8eb27b01c3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007f8eb1b66b5a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#20 0x00007f8eb27aee2f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f8eb27fe226 in ?? () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f8eb2800bbb in ?? () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007f8eb27a837c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007f8eb27af7e7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007f8eb1b66b5a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007f8eb20d013e in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#27 0x00007f8eb20d1ea5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#28 0x00007f8eb20af74b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#29 0x00007f8ea047dba0 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#30 0x00007f8eacc37f17 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x00007f8eacc38158 in ?? () from /lib64/libglib-2.0.so.0
#32 0x00007f8eacc381fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x00007f8eb1bb37bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#34 0x00007f8eb1b659ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#35 0x00007f8eb1b6d994 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#36 0x000000000043d3df in main ()


Thread 7 (Thread 0x7f8e719d8700 (LWP 6658)):
#0  0x00007f8eb10d5fb1 in ppoll () from /lib64/libc.so.6
#1  0x00007f8eb1bafc59 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f8eb1b065ff in ?? () from /usr/lib64/libQt5Core.so.5
#3  0x00007f8eb1b07a57 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8eb1afd09f in QProcess::waitForFinished(int) () from /usr/lib64/libQt5Core.so.5
#5  0x0000000000461f75 in MainWindow::signalHandler(int) ()
#6  <signal handler called>
#7  0x00007ffe79847970 in ?? ()
#8  0x00007f8eb4431410 in tesseract::Tesseract::RecogAllWordsPassN(int, ETEXT_DESC*, PAGE_RES_IT*, GenericVector<tesseract::WordData>*) () from /usr/lib64/libtesseract.so.3
#9  0x00007f8eb4432fd0 in tesseract::Tesseract::recog_all_words(PAGE_RES*, ETEXT_DESC*, TBOX const*, char const*, int) () from /usr/lib64/libtesseract.so.3
#10 0x00007f8eb441d872 in tesseract::TessBaseAPI::Recognize(ETEXT_DESC*) () from /usr/lib64/libtesseract.so.3
#11 0x00000000004898e7 in ?? ()
#12 0x000000000049fd72 in BusyTaskThread::run() ()
#13 0x00007f8eb19d1048 in ?? () from /usr/lib64/libQt5Core.so.5
#14 0x00007f8eb095755a in start_thread () from /lib64/libpthread.so.0
#15 0x00007f8eb10e1e3f in clone () from /lib64/libc.so.6


Thread 6 (Thread 0x7f8e72b4f700 (LWP 6657)):
#0  0x00007f8eb095cb60 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8eb19d168a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x0000000000459414 in Displayer::scaleThread() ()
#3  0x00007f8eb19d1048 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8eb095755a in start_thread () from /lib64/libpthread.so.0
#5  0x00007f8eb10e1e3f in clone () from /lib64/libc.so.6


Thread 5 (Thread 0x7f8e837fe700 (LWP 6641)):
#0  0x00007f8eb10d5eed in poll () from /lib64/libc.so.6
#1  0x00007f8eae451551 in ?? () from /usr/lib64/libusb-1.0.so.0
#2  0x00007f8eb095755a in start_thread () from /lib64/libpthread.so.0
#3  0x00007f8eb10e1e3f in clone () from /lib64/libc.so.6


Thread 4 (Thread 0x7f8e83fff700 (LWP 6640)):
#0  0x00007f8eb095cb60 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8eb19d168a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00000000004a686e in ScannerSane::run() ()
#3  0x00007f8eb1b8d141 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8eb19cbef7 in QThread::started(QThread::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8eb19d102f in ?? () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8eb095755a in start_thread () from /lib64/libpthread.so.0
#7  0x00007f8eb10e1e3f in clone () from /lib64/libc.so.6


Thread 3 (Thread 0x7f8e8ad72700 (LWP 6639)):
#0  0x00007f8eb10d5eed in poll () from /lib64/libc.so.6
#1  0x00007f8eacc380e4 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f8eacc381fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8eb1bb37bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8eb1b659ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8eb19cce8c in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8eb30d85c5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f8eb19d1048 in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8eb095755a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8eb10e1e3f in clone () from /lib64/libc.so.6


Thread 2 (Thread 0x7f8e9daeb700 (LWP 6638)):
#0  0x00007f8eb10d5eed in poll () from /lib64/libc.so.6
#1  0x00007f8ea3f83550 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f8ea3f850d7 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f8ea0421989 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f8eb19d1048 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8eb095755a in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8eb10e1e3f in clone () from /lib64/libc.so.6


Thread 1 (Thread 0x7f8eb4c2a8c0 (LWP 6637)):
#0  0x00007f8eb10d5eed in poll () from /lib64/libc.so.6
#1  0x00007f8eacc380e4 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f8eacc381fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8eb1bb37bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8eb1b659ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x000000000049ee14 in Utils::busyTask(std::function<bool ()> const&, QString const&) ()
#6  0x000000000048dc21 in Recognizer::recognize(QList<int> const&, bool) ()
#7  0x000000000048dfa3 in Recognizer::recognizeButtonClicked() ()
#8  0x00000000004ab2dd in ?? ()
#9  0x00007f8eb1b8d141 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#10 0x00007f8eb289a942 in QAbstractButton::clicked(bool) () from /usr/lib64/libQt5Widgets.so.5
#11 0x00007f8eb289ab54 in ?? () from /usr/lib64/libQt5Widgets.so.5
#12 0x00007f8eb289c70e in ?? () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007f8eb289c865 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f8eb296bdfa in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007f8eb27e4898 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007f8eb296bed5 in QToolButton::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f8eb27a837c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f8eb27b01c3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007f8eb1b66b5a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#20 0x00007f8eb27aee2f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f8eb27fe226 in ?? () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f8eb2800bbb in ?? () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007f8eb27a837c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007f8eb27af7e7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007f8eb1b66b5a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007f8eb20d013e in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#27 0x00007f8eb20d1ea5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#28 0x00007f8eb20af74b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#29 0x00007f8ea047dba0 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#30 0x00007f8eacc37f17 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x00007f8eacc38158 in ?? () from /lib64/libglib-2.0.so.0
#32 0x00007f8eacc381fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x00007f8eb1bb37bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#34 0x00007f8eb1b659ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#35 0x00007f8eb1b6d994 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#36 0x000000000043d3df in main ()
Je ne sais pas si ça peut servir. :-)
Très bien la distribution Rosa!

Аватара пользователя
Zeffanyx
Сообщения: 1295
Зарегистрирован: 12 сен 2011, 14:25
Operating system: Rosa Fresh R11, OpenMandriva Lx 4 (Cooker)
Откуда: Санкт-Петербург

YAGF, pas mal quand même!

Сообщение Zeffanyx » 25 авг 2018, 13:18

J'ai eu le même problème et je l'ai décidé. Cela vous semblera peut-être un peu difficile, mais vous devez faire ce qui suit:
1. Définissez les dépendances pour l'assemblage de gImageReader (urpmi --buildrequires gimagereader-qt5)
2. Reconstruire le package SRC gImagereader
Vous pouvez prendre le paquet ici:
http://mirror.yandex.ru/rosa/rosa2016.1 ... -1.src.rpm

Installez-le dans le dossier d'accueil ~/rpmbuild (rpm -ivh gimagereader-3.2.3-1.src.rpm)
reconstruire avec la commande suivante:

Код: Выделить всё

rpmbuild -ba gimagereader.spec
Installer les paquets du dossier ~/rpmbuild/RPMS/x86_64.

Аватара пользователя
Gerardll51
Сообщения: 1391
Зарегистрирован: 13 окт 2013, 23:34
Operating system: ROSA Desktop Fresh R10 release 2016.1 for x86_64
4.9.124-nrj-desktop-1rosa-x86_64. KDE Plasma 4.14.37
NVIDIA Corporation GF110 [GeForce GTX 570] (rev a1). GLX Version : 4.4.0 NVIDIA 340.107. Intel Core2 Duo E8400 (-MCP-). 4 Go RAM

YAGF, pas mal quand même!

Сообщение Gerardll51 » 26 авг 2018, 11:01

Bonjour Zeffanyx,

Merci pour ton aide! :-)
Ceci dit j'ai quelques soucis :

Код: Выделить всё

admin-desktop gerard # urpmi --buildrequires gimagereader-qt5
Pas de paquetage nommé gimagereader-qt5
Pourtant le programme est bien installé! :

Код: Выделить всё

admin-desktop gerard # urpmf gimagereader-qt5
gimagereader-qt5-3.2.0:/usr/bin/gimagereader-qt5
gimagereader-qt5-3.2.0:/usr/share/appdata/gimagereader-qt5.appdata.xml
gimagereader-qt5-3.2.0:/usr/share/applications/gimagereader-qt5.desktop
gimagereader-qt5-3.2.3:/usr/bin/gimagereader-qt5
gimagereader-qt5-3.2.3:/usr/share/appdata/gimagereader-qt5.appdata.xml
gimagereader-qt5-3.2.3:/usr/share/applications/gimagereader-qt5.desktop
Je ne comprends pourquoi la commande urpmi --buildrequires ne fonctionne pas!?!!
Ca n'a pas de sens.
Très bien la distribution Rosa!

Ответить