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

Hello, I did share. #21

Closed
liuww111 opened this issue Jan 10, 2019 · 2 comments
Closed

Hello, I did share. #21

liuww111 opened this issue Jan 10, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@liuww111
Copy link

https://www.cnblogs.com/RainbowInTheSky/p/10247921.html
Thank you for your packing.
Small suggestion:
Errors in using Chinese,I used GB2312,is OK
image

@takuya-takeuchi
Copy link
Owner

thanks.

It is not issue of FRDT but DlibDotNet.

This method is called frequency anywhere.
If improve, expose encoding value and user can change it.

DlibDotNet.StringEncoding = "gb2312"; // static property

@takuya-takeuchi
Copy link
Owner

takuya-takeuchi commented Jan 14, 2019

Hi, I update package to 1.2.3.7.
Could you try the following code in the head of your code?

FaceRecognition.InternalEncoding = System.Text.Encoding.GetEncoding("gb2312");

...

This property changes encoding which convert System.String to byte[] in DlibDotNet.
This function allows user to choice encoding.
It could work.

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

No branches or pull requests

2 participants