Read Manga directly on your screen
This project is real-time application that can OCR your screen and detect text in page of your manga.
https://github.com/user-attachments/assets/3b693bc5-8470-48cb-8f22-1a31f5d85b84
` (Key Code: 192) : detect and translate againShift + ` : Clear screenCtrl + Alt : QuitShift + W: Get specific area of your screen to translateWait until your terminal show OCR ready then press ` to start (Re-press if it not detect and show translation)
You can install and run (and modify) with these steps:
git clone https://github.com/Yamakaze-chan/MangaLens.git
cd MangaLens
pip install -r requirements.txt
git clone https://huggingface.co/Yamakaze/MangaLens
.env filecd . > .env
.env and add this#Yolo weight
YOLO_weight = MangaLens/best2.pt
#MangaOCR weight
MangaOCR_weight = ""
MANGA_LANGUAGE_DETECTION_MODEL = MangaLens/manga_effnet_b0.onnx
#Translation pretrained models
JA_TRANS_MODEL = LiquidAI/LFM2-350M-ENJP-MT-GGUF
ZH_TRANS_MODEL = quickmt/quickmt-zh-en
ZH_READ_MODEL = jzhang533/PaddleOCR-VL-For-Manga
KR_TRANS_MODEL = Helsinki-NLP/opus-mt-ko-en
en_vi_weight = vinai/vinai-translate-en2vi-v2
en_vi_token = vinai/vinai-translate-en2vi-v2
python app.py
If you see this project is useful, don't forget to give star to these projects
For any inquiries, please feel free to contact me at [email protected]
@article{tiedemann2023democratizing,
title={Democratizing neural machine translation with {OPUS-MT}},
author={Tiedemann, J{\"o}rg and Aulamo, Mikko and Bakshandaeva, Daria and Boggia, Michele and Gr{\"o}nroos, Stig-Arne and Nieminen, Tommi and Raganato\
, Alessandro and Scherrer, Yves and Vazquez, Raul and Virpioja, Sami},
journal={Language Resources and Evaluation},
number={58},
pages={713--755},
year={2023},
publisher={Springer Nature},
issn={1574-0218},
doi={10.1007/s10579-023-09704-w}
}
@InProceedings{TiedemannThottingal:EAMT2020,
author = {J{\"o}rg Tiedemann and Santhosh Thottingal},
title = {{OPUS-MT} — {B}uilding open translation services for the {W}orld},
booktitle = {Proceedings of the 22nd Annual Conferenec of the European Association for Machine Translation (EAMT)},
year = {2020},
address = {Lisbon, Portugal}
}
@inproceedings{vinaitranslate,
title = {{A Vietnamese-English Neural Machine Translation System}},
author = {Thien Hai Nguyen and
Tuan-Duy H. Nguyen and
Duy Phung and
Duy Tran-Cong Nguyen and
Hieu Minh Tran and
Manh Luong and
Tin Duy Vo and
Hung Hai Bui and
Dinh Phung and
Dat Quoc Nguyen},
booktitle = {Proceedings of the 23rd Annual Conference of the International Speech Communication Association: Show and Tell (INTERSPEECH)},
year = {2022}
}
You can convert to desktop app with PyInstaller
This is a personal, non-profit project developed completely independently. This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with mangalens.app or any other third-party organizations or individuals.
Read Manga directly on your screen
This project is real-time application that can OCR your screen and detect text in page of your manga.
https://github.com/user-attachments/assets/3b693bc5-8470-48cb-8f22-1a31f5d85b84
` (Key Code: 192) : detect and translate againShift + ` : Clear screenCtrl + Alt : QuitShift + W: Get specific area of your screen to translateWait until your terminal show OCR ready then press ` to start (Re-press if it not detect and show translation)
You can install and run (and modify) with these steps:
git clone https://github.com/Yamakaze-chan/MangaLens.git
cd MangaLens
pip install -r requirements.txt
git clone https://huggingface.co/Yamakaze/MangaLens
.env filecd . > .env
.env and add this#Yolo weight
YOLO_weight = MangaLens/best2.pt
#MangaOCR weight
MangaOCR_weight = ""
MANGA_LANGUAGE_DETECTION_MODEL = MangaLens/manga_effnet_b0.onnx
#Translation pretrained models
JA_TRANS_MODEL = LiquidAI/LFM2-350M-ENJP-MT-GGUF
ZH_TRANS_MODEL = quickmt/quickmt-zh-en
ZH_READ_MODEL = jzhang533/PaddleOCR-VL-For-Manga
KR_TRANS_MODEL = Helsinki-NLP/opus-mt-ko-en
en_vi_weight = vinai/vinai-translate-en2vi-v2
en_vi_token = vinai/vinai-translate-en2vi-v2
python app.py
If you see this project is useful, don't forget to give star to these projects
For any inquiries, please feel free to contact me at [email protected]
@article{tiedemann2023democratizing,
title={Democratizing neural machine translation with {OPUS-MT}},
author={Tiedemann, J{\"o}rg and Aulamo, Mikko and Bakshandaeva, Daria and Boggia, Michele and Gr{\"o}nroos, Stig-Arne and Nieminen, Tommi and Raganato\
, Alessandro and Scherrer, Yves and Vazquez, Raul and Virpioja, Sami},
journal={Language Resources and Evaluation},
number={58},
pages={713--755},
year={2023},
publisher={Springer Nature},
issn={1574-0218},
doi={10.1007/s10579-023-09704-w}
}
@InProceedings{TiedemannThottingal:EAMT2020,
author = {J{\"o}rg Tiedemann and Santhosh Thottingal},
title = {{OPUS-MT} — {B}uilding open translation services for the {W}orld},
booktitle = {Proceedings of the 22nd Annual Conferenec of the European Association for Machine Translation (EAMT)},
year = {2020},
address = {Lisbon, Portugal}
}
@inproceedings{vinaitranslate,
title = {{A Vietnamese-English Neural Machine Translation System}},
author = {Thien Hai Nguyen and
Tuan-Duy H. Nguyen and
Duy Phung and
Duy Tran-Cong Nguyen and
Hieu Minh Tran and
Manh Luong and
Tin Duy Vo and
Hung Hai Bui and
Dinh Phung and
Dat Quoc Nguyen},
booktitle = {Proceedings of the 23rd Annual Conference of the International Speech Communication Association: Show and Tell (INTERSPEECH)},
year = {2022}
}
You can convert to desktop app with PyInstaller
This is a personal, non-profit project developed completely independently. This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with mangalens.app or any other third-party organizations or individuals.