killkimno / mort Goto Github PK
View Code? Open in Web Editor NEWMORT 번역기 프로젝트 - Real-time game translator with OCR
Home Page: https://blog.naver.com/killkimno/70179867557
License: MIT License
MORT 번역기 프로젝트 - Real-time game translator with OCR
Home Page: https://blog.naver.com/killkimno/70179867557
License: MIT License
Hello!
English GUI is supported from 1.242v.
There are many places that have been translated incorrectly because the translation is not perfect yet.
Please tell me where it's not translated or where it's wrong
Hey i ran into a problem when trying to run the program. It is not on the error list on blog.naver.com so I dont know how to deal with it.
Tried several things as it said something about MORT_CORE and D:\project\MORT...:
I couldnt install similar OCR app YomiNinja as well (doesnt work for both the app ver and the build ver) so potentially there are something wrong with my windows (got a virus attack lol, but everything else is fine)
Here is the full error description:
"""
System.DllNotFoundException: Unable to load DLL
'DLL\MORT_CORE.dlI' or one of its dependencies: A dynamic link
library (DLL) initialization routine failed. [0x8007045A]
at MORT.Form1.initOcr0
at MORT.Form1..ctorl] in
D:\project\MORT\64bit\MORT\MORT\Form1.cs:line 719
"""
After click OK
"""
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Form1'.
at System.Windows.Forms.Control.CreateHandle0
at System.Windows.Forms.Form.CreateHandlefl
at System.Windows.Forms.Control.get_Handle[]
at System.Windows.Forms.Contro|.SetVisibleCore[Boolean value]
at System.Windows.Forms.Form.SetVisibleCore[Boolean value]
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopln
nerlmsoloop reason, ApplicationContext context]
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoop(m
soloop reason, ApplicationContext context]
at MORT.Program.RunMortl] in
D:\project\MORT\64bit\MORT\MORT\Program.cs:line 63
"""
У Вас очень хороший проект и как человек, который через всё это прошёл, позволю себе дать Вам пару советов.
Программу можно серьёзно упростить. Откажитесь от устаревших OCR-движков. Есть современная нейросеть - PaddleOCR и хорошая обёртка для неё - PaddleOCRSharp by raoyutian. Только один недостаток - поддерживаются только английский и китайский языки, всё остальное просто блестяще. Если это принять, то Вы получите огромный прирост в качестве распознавания и сможете совершенно отказаться от предобработки изображения. Совсем.
С практической точки зрения все переводчики кроме мобильного Гугла имеют разного рода ограничения. Используйте только его. Потребуется подготовка текста под его формат, чтобы получить наилучший результат. Но это лучше, чем иметь несколько сервисов перевода, ни один из которых даже не близок к совершенству.
Итого, ограничив распознавание только английским и китайским языком Вы сможете добиться отличных результатов и сосредоточить усилия на распознавании текста на экране в реальном времени, что и требуется Вашим пользователям. Так же изучите программу Luna Translator - она на языке Питон, но там можно узнать много полезного для Вашего проекта.
Удачи!
Hello
Getting this error every time I open the program, clicking the "Apply" button or finishing quick setting. As the result, settings are not applying. Pic 2 is coming after the first one (it's saying application is shutting down) but nothing happens.
By the way russian translate is bad and breaking the interface, how can I change it to english?
Hi, are you using official tesseract trained data? I'd like to use kor.traineddata, but I'm not sure if it's compatible.
https://github.com/tesseract-ocr/tessdata/blob/main/kor.traineddata
Hi. I'm facing a very big problem for me. In the translator settings, you can select a specific window (application) that will be translated. But also there you can choose not a window, but a computer screen (display). I select it, click "ok", but after that an error pops up: "This window cannot be captured. Make sure the window is activated."
Please help me solve this problem. This is the best translator that will help me a lot if I can translate the screen and not the computer window. The application that I want to translate into my native language, its interface with many phrases and words are in separate large and small windows. The "display translation" function + text translation overlay is just right for this. I will be very glad and grateful if you explain to me how to fix this error.
Thank you very much.
Will the program be available in many languages? I would like to be available in many languages (International languages These include:
Englishman
Spanish
Arabian
Russian
French
Chinese). I am interested in Russian. If yes, what?
Interface translation:
저는 한국어를 할 줄 몰라 번역기를 사용하여 '이슈'를 제출하고 있으니 문제가 있다면 용서해 주세요.
새로운 BaiDuOCR 및 BaiDuTranslate API 지원을 요청하세요.
중국에 본사를 둔 회사입니다. 제공하는 API가 중국에서 더 안정적이고 신뢰할 수 있는데 향후 버전에서도 지원되나요?
Hello:
I have tried to use your repo, I have done this: git clone your_repo_url
Open it with Visual Studio 2022 (version 17.10.3)
Update 3 nuget packags to the latest version.
Build the solution, but I got 37 compiler errors.
Since I am not interested to really build this complicated project, but I want to know if I can use part of your repo to do simple OCR job. I need the OCR job to be done locally without send big volume of images online to remote server for processing, since it is not in real time, and no privacy.
I show you a very simple and easy image, let's say its name is: "C:\Images\1.png", I show you the image as an attachment. If I can use your repo to do the OCR job, please show me the simple code for this.
Thanks,
Hi, could you please add the Polish language for translation through Google? The translation option through Deepl doesn't work perfectly; after some time, the languages switch automatically.
Regards.
I do everything right but after i select window its still stuck at waiting attach
Super than ever with a free software for pc, we , user from overall world thanks you, much so much for your kind heart, can you continue build up this ever software for android with history text function store, both for pc and android have this function, we from overall world , maybe much much people need your soft so much, thanks you, thought word not express enough, again, wish you best wish
Hi, first of all, I would like to thank you for this program. It's exactly what I was looking for and it works beautifully. My favorite mode is the overlay mode. However, take a close look at the picture. In overlay mode, it writes over the background subtitles, but the subtitles in the background are still readable. Can we adjust this transparency setting ourselves? It would have been great if we could have adjusted it. Frankly, I looked through the settings a lot but couldn't find an option for this. I made some changes, but it didn't work. I would appreciate it if you could help, and even if such a feature doesn't exist, I would be very happy if you could introduce it. When the program generates subtitles, I don't want to see anything in the background.
How to repeat bug
OS : windows 10 proffesional
Install additional requirement ? : yes all of it
read manual : yes all of it
Please add Translation my memory
https://mymemory.translated.net
Hi, MORT work great with text on dark background, but do you have any trick for some games that don't have a dark background option for subtitles.
I played full story game Wild Heart with MORT and work great because game have in options dark background for subtitles
Currently, the translation in the overlay is displayed as left to right text (LTR), which is not suitable for Arabic script. Arabic should be displayed from right to left (RTL) to ensure proper readability and user experience for Arabic-speaking users.
it is not enough to set alignment to right. the issue happens when there are some English words that have no direct Arabic translation so the translation ends up messy as an example for this text :
the translation is messy and words are misplaced:
the result should be displayed like this:
the issue should be fixed by changing the translation text direction to right-to-left before displaying the result on the overlay.
Could you add the option to completely remove the opacity of the bubbles? Thanks
The text translated in overlay mode goes out of the screen's boundaries/borders. Can you add an option where there is a certain extent the text could go and go to the line below? The only solution right now is to make all the text smaller.
Hey there! love this app, actually it used to work fine, after updating windows and coming back to it, seems it doesnt work now, ive set it up many different ways, but no results are showing, regardless of if i use overlay or text box etc, when choosing window i can see that the console is doing something but my NLLB api isnt recieving any requests, ive tried with deep l and google but both doing nothing
when trying to do image adjustment, i do noticed it pops up with an error, im not sure if this applies to it but maybe it does
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
at MORT.OcrAreaForm.ShowColorPicker(Boolean isShowResult, Boolean isUseRgb, Boolean isUseHSv, Boolean isUseThreshold, ColorGroup colorGroup, Int32 threshold) in D:\project\MORT\64bit\MORT\MORT\OcrAreaForm.cs:line 478
at MORT.FormManager.ShowColorPickResult(Boolean isUseRgb, Boolean isUseHSv, Boolean isUseThreshold, ColorGroup colorGroup, Int32 threshold) in D:\project\MORT\64bit\MORT\MORT\Manager\FormManager.cs:line 478
at MORT.Form1.OnClickShowImgResult(Object sender, EventArgs e) in D:\project\MORT\64bit\MORT\MORT\Form1Button.cs:line 70
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
System.Private.CoreLib
Assembly Version: 7.0.0.0
Win32 Version: 7.0.222.60605
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.2/System.Private.CoreLib.dll
Hello, I want to help translate your program into Russian. How can I do it? Can you give me files with elements of the program, which I can translate and send you, so you can add Russian to the interface?
I can't promise that the translation will be perfect, but it will be easier for Russian-speaking users to understand the program. I can also translate the githab pages into Russian.
It's a very useful plugin to play anime games! Thank you!
According to the description in #11, I have translated the text to Simplified Chinese (most based on English, and partially using GPT and DeepL to translate from Korean, may have some incorrect translations).
If possible, please add Chinese translation to the interface. Thanks.
--
Additionally, I think you can consider using translation contribution tools similar to Crowdin to facilitate future software updates and multilingual support.
this program only make copy results Ocr, doesn't have create Translate Results to clipboard, if will be amazing if have this function, nice work pro :D
I kindly request the addition of EasyOCR to MORT. EasyOCR's impressive accuracy and multilingual support would undoubtedly enhance the functionality of MORT.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.