diff --git a/TODO b/TODO
deleted file mode 100644
index c5dfb64..0000000
--- a/TODO
+++ /dev/null
@@ -1,30 +0,0 @@
-Complete module "export": [done]
- make UI; [done]
- make export to .csv [done]
-
-Complete module "image-to-text": [done]
- make UI; [done]
- make use of tesseract/opencv (https://learnopencv.com/deep-learning-based-text-recognition-ocr-using-tesseract-and-opencv/); [done]
-
-Add features:
- autodetect store type
- auto download of stores modules [done]
- auto download of ofd modules [done]
- settings, a window for editing settings. [done]
- add ability to control contrast and rotation of a check image before passing it to OCR [done]
- add ability to scan a qr code and request data from ofd.ru [done]
- add ability to change language from preferences
-
-Refactor:
- Get rid of CPR, use libcurl instead [done]
-
-Build:
- Write script for AppImage deployment [done]
- Find out dependencies packet names on different distros [done for arch, ubuntu]
- Ensure success of building on most popular distros [done for arch, ubuntu]
- Try to compile it on Windows
-
-Issues:
- Captcha is not showing when running in appimage [solved]
- Stores modules are not being downloaded
- I need to pack tesseract data for ru, en [solved]
diff --git a/bugs b/bugs
deleted file mode 100644
index 17980df..0000000
--- a/bugs
+++ /dev/null
@@ -1,3 +0,0 @@
-no icons on some systems (AppImage contains all icons and everything's okay)
-==============================
-
diff --git a/image_redactor/imageredactor.cpp b/image_redactor/imageredactor.cpp
index 6cdd695..1ce4226 100644
--- a/image_redactor/imageredactor.cpp
+++ b/image_redactor/imageredactor.cpp
@@ -32,8 +32,7 @@ void ImageRedactor::wheelEvent(QWheelEvent *event) {
void ImageRedactor::mousePressEvent(QMouseEvent *event)
{
// Pan the image
- if (event->button() == Qt::LeftButton)
- {
+ if (event->button() == Qt::LeftButton) {
setDragMode(QGraphicsView::ScrollHandDrag);
}
}
@@ -41,8 +40,7 @@ void ImageRedactor::mousePressEvent(QMouseEvent *event)
void ImageRedactor::mouseReleaseEvent(QMouseEvent *event)
{
// Reset the drag mode
- if (event->button() == Qt::LeftButton)
- {
+ if (event->button() == Qt::LeftButton) {
setDragMode(QGraphicsView::NoDrag);
}
}
diff --git a/translations/en_US.ts b/translations/en_US.ts
index 5c271ec..faa1153 100644
--- a/translations/en_US.ts
+++ b/translations/en_US.ts
@@ -135,23 +135,23 @@
Stop server
- Stop server
+ Stop serverChoose image on your PC
- Choose image on your PC
+ Choose image on your PCor
- or
+ orUse your phone as a QR code scanner
- Use your phone as a QR code scanner
+ Use your phone as a QR code scanner
@@ -162,17 +162,17 @@
Date and time of purchase
- Date and time of purchase
+ Date and time of purchaseOperation type
- Operation type
+ Operation typeParse an E-Mail
-
+ Parse an E-Mail
@@ -201,7 +201,7 @@
Settings
-
+ Settings
@@ -215,27 +215,27 @@
QR code for binaryeye to connect
- QR code for binaryeye to connect
+ QR code for binaryeye to connectI've scanned
- I've scanned
+ I've scannedCould not start http server. 10 times in a row random port was occupied. Either you should run for a lottery ticket, or the problem is in the program. If the lottery ticket wasn't lucky, please, contact the developer.
- Could not start http server. 10 times in a row random port was occupied. Either you should run for a lottery ticket, or the problem is in the program. If the lottery ticket wasn't lucky, please, contact the developer.
+ Could not start http server. 10 times in a row random port was occupied. Either you should run for a lottery ticket, or the problem is in the program. If the lottery ticket wasn't lucky, please, contact the developer.Could not start http server.
- Could not start http server.
+ Could not start http server.Selected image:
- Selected image:
+ Selected image:
@@ -265,7 +265,7 @@
Check was not found
- Check was not found
+ Check was not foundAn error has occured. Check was matched incorrectly. Vector sizes are different. Please, contact the developer.
@@ -599,7 +599,7 @@
Using locale:
-
+ Using locale:
diff --git a/translations/ru_RU.ts b/translations/ru_RU.ts
index 5d9712f..2827ecb 100644
--- a/translations/ru_RU.ts
+++ b/translations/ru_RU.ts
@@ -135,23 +135,23 @@
Stop server
- Остановить сервер
+ Остановить серверChoose image on your PC
- Выбрать изображение на компьютере
+ Выбрать изображение на компьютереor
- или
+ илиUse your phone as a QR code scanner
- Использовать телефон как сканнер QR
+ Использовать телефон как сканнер QR
@@ -162,17 +162,17 @@
Date and time of purchase
- Дата и время покупки
+ Дата и время покупкиOperation type
- Тип операции
+ Тип операцииParse an E-Mail
-
+ Парсить E-Mail
@@ -197,7 +197,7 @@
Settings
-
+ Настройки
@@ -211,27 +211,27 @@
QR code for binaryeye to connect
- QR код для подключения BinaryEye
+ QR код для подключения BinaryEyeI've scanned
- Просканировал
+ ПросканировалCould not start http server. 10 times in a row random port was occupied. Either you should run for a lottery ticket, or the problem is in the program. If the lottery ticket wasn't lucky, please, contact the developer.
- Не смог поднять HTTP сервер. 10 раз подряд случайно выбранный порт был занят. Либо Вам следует бежать за лоттерейным билетом, или в программе баг. Если лотерейный билет не был выигрышным, пожалуйста, сообщите разработчику.
+ Не смог поднять HTTP сервер. 10 раз подряд случайно выбранный порт был занят. Либо Вам следует бежать за лоттерейным билетом, или в программе баг. Если лотерейный билет не был выигрышным, пожалуйста, сообщите разработчику.Could not start http server.
- Не получилось запустить HTTP сервер.
+ Не получилось запустить HTTP сервер.Selected image:
- Выбранное изображение:
+ Выбранное изображение:
@@ -595,7 +595,7 @@
Using locale:
-
+ Использую локаль:
diff --git a/utils/utils.cpp b/utils/utils.cpp
index ef0f132..496a280 100644
--- a/utils/utils.cpp
+++ b/utils/utils.cpp
@@ -1,4 +1,4 @@
-#include "utils.h"
+#include
#ifdef BUILD_OFD_BINARYEYE_SCAN
# include
# include
@@ -6,7 +6,8 @@
# include
#endif
#ifdef BUILD_OFD_MODE
-# include "../exceptions/ofdrequestexception.h"
+# include
+# include
#endif
#include
#include
@@ -19,12 +20,11 @@
#endif
#include
#include
-#include
+
#include
#include
#include
-
#ifdef BUILD_OFD_BINARYEYE_SCAN
std::string get_local_ip_address() {
struct ifaddrs * ifAddrStruct=NULL;