Home Creators Posts Import Register Favorites Logout

Content

Download link: (for Patreon subscribers)

https://www.patreon.com/posts/sugoi-toolkit-v2-151277984?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link

Menu - Brand New Design

Sugoi Manga Translator - Twice as fast

Before: 25 seconds -> After: 10 seconds

Sugoi Website Translator - Test it out!

Files

Comments

Sob

Am I doing something wrong, or is the Sugoi Manga OCR a bit broken? I don't mean the recognition itself, but UI controls.The Screen Capture Window has "A1.Set Region" button to select region of screen that should be captured, and then there's "A2.Capture" button that used to capture the previously selected region every time when clicked. But since v17 (and in the new v20 too) it works exactly once and never again, I have to use "A1.Set Region" for every subsequent capture and select the region again and again. Possibly related, once every few minutes it seemingly randomly captures the screen by itself, without me doing anything.

MingShiba

I think you already messaged me on Discord right

Sob

Nope, must be someone else with same problem.

MingShiba

Btw, do you know that for Sugoi Manga OCR, you can copy an image and it will be processed? This is the way to go with manga, for manhwa or manhua then yea you'll need to use set region and capture

Sob

So the change was intentional, because the previous functionality was wrong in some way? I guess it's possible, I'm just confused how this is better. I know I can copy an image to clipboard, but it doesn't help if I'm interested in part of screen. And if I'm interested in some (same) part of screen that changes (content), setting the region only once and doing subsequent captures with one click was very nice function. It's not like it stood in the way of copying images to clipboard, if someone likes that. So what's the improvement here? And what's the point of "A2.Capture" button now, when it doesn't work, except once? Does it do something else? It really feels that I must be missing something.

Sob

I'm looking at the code, and it seems like bug. The Capture button calls activateTranslateButton() and that uses global websocket defined in screenCaptureWindow.js. Which, for some unknown reason, gets stuck after first use. Set Region button works, because it opens new websocket for each use. If I change activateTranslateButton() to open new websocket every time, it starts to work. I don't see any functional change in UI code between v16 and v20, so it must be the server part. But not knowing much about Python, I don't see what the problem is.

MingShiba

I just uploaded V20.1, it fixed some bugs for Sugoi Manga OCR, hopefully it will fix yours, test it out

Sob

It didn't help, but I found the problem. It's actually in Code\backendServer\Program-Backend\Sugoi-Japanese-Translator\main.js, where you removed handling of "show translation window" message. When called from server.py in Sugoi Manga OCR, it doesn't respond and it hangs on that. I returned main.js from v16 and now it works great.