Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want supported chinese language. use other OCR engine. #217

Open
fzhyzamt opened this issue Dec 28, 2021 · 3 comments
Open

I want supported chinese language. use other OCR engine. #217

fzhyzamt opened this issue Dec 28, 2021 · 3 comments

Comments

@fzhyzamt
Copy link

Is your feature request related to a problem? Please describe.
I want supported chinese language. use other OCR engine.

Describe the solution you'd like
Due to the existence of GFW, the use of Google OCR is not reliable in China...
Does the current program architecture support me to add an OCR engine?
In addition, if I want to add a language, is there any guide I can refer to?

Additional context
no

@dapal-003
Copy link
Contributor

The OCR occurs locally, there are no requests made with any images to scan what is on them. So it'll be as reliable as the model delivered. There really isn't any alternative to tesseract that is not paid, so we can't use it.

As for the GFW, Wfinfo uses google and github services to make sure that the database and the program itself stays up to date. They have become integral to the entire function of the program and wouldn't work without them.

We don't have any Chinese speaking developers, getting languages that we do supported is already too difficult for us to handle. There isn't a dedicated guide on how to implement it because it was never something we thought of adding till the KO dev made a pr. It'll likely not happen

@Maelstrom-Portal
Copy link

It is possible to add a proxy setting into the application (HTTP/HTTPS/SOCKS5)? I've tried using some software to apply proxy on WFInfo only, but connection was rejected at 127.0.0.1:443. Global proxy works, but the proxy would also affect other applications as well, which is something I would prefer not to happen.

The error log was the following:

STARTING WFINFO 9.4.2.0 at 2022/1/1 2:11:15

[2022/1/1 2:11:16 9.4.2] Checking for Updates to Databases
[2022/1/1 2:11:18 9.4.2] LOADING FAILED
[2022/1/1 2:11:18 9.4.2] System.Net.WebException: 无法连接到远程服务器 ---> System.Net.Sockets.SocketException: 由于目标计算机积极拒绝,无法连接。 127.0.0.1:443
在 System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
在 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- 内部异常堆栈跟踪的结尾 ---
在 System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
在 System.Net.WebClient.DownloadString(Uri address)
在 WFInfo.Data.Update()
在 WFInfo.Main.ThreadedDataLoad()
[2022/1/1 2:11:55 9.4.2] Connecting to websocket
[2022/1/1 2:11:55 9.4.2] Unable to connect to socket: The value specified for the Value is null.

@D1firehail
Copy link
Contributor

I have no need or way to verify if it works myself, but it should be possible to assign proxy settings to the WebClient object or as a web.config setting. Regardless, it'd really only be useful for people playing on the global version of Warframe (not the china-specific one) and only if the game itself doesn't necessitate a global proxy, since the prices used are from warframe.market and specifically for the global version on pc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants