Hi there,
I've spent several months on this project. Now I would like to share with you what I've achieved with B4J in a few months.
ImageTrans is an image and comics translation tool. Below is an example of translation from English to Chinese of American golden age comics from Boy Loves Girls magazine.
It has the following major functions:
1. Localize and recognize text in images with state-of-art OCR technology provided by Tesseract, Microsoft, OCRSpace, Baidu and Youdao.
2. A homebrew comics text localization method based on connected-components grouping on binarized images and text/nontext image classification retrained on MobileNet with Tensorflow.
3. Text mask generation and text erasure using OpenCV's findContours and inpaint methods.
4. Foreground color and background color detection explained here: https://www.b4x.com/android/forum/threads/detect-dominant-colors-of-images.114547/
5. Computer-aided translation functions like translation memory, terminology management and machine translation.
6. Text reinjection utilizing controls like Pane, ImageView and Label. Use pane.snapshot to generate target images.
I've spent several months on this project. Now I would like to share with you what I've achieved with B4J in a few months.
ImageTrans is an image and comics translation tool. Below is an example of translation from English to Chinese of American golden age comics from Boy Loves Girls magazine.
It has the following major functions:
1. Localize and recognize text in images with state-of-art OCR technology provided by Tesseract, Microsoft, OCRSpace, Baidu and Youdao.
2. A homebrew comics text localization method based on connected-components grouping on binarized images and text/nontext image classification retrained on MobileNet with Tensorflow.
3. Text mask generation and text erasure using OpenCV's findContours and inpaint methods.
4. Foreground color and background color detection explained here: https://www.b4x.com/android/forum/threads/detect-dominant-colors-of-images.114547/
5. Computer-aided translation functions like translation memory, terminology management and machine translation.
6. Text reinjection utilizing controls like Pane, ImageView and Label. Use pane.snapshot to generate target images.