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

[0.1.1]编写自定义模型的C函数接口extern "C" __declspec(dllexport) #408

Open
Flamse opened this issue May 15, 2024 · 0 comments
Open

Comments

@Flamse
Copy link

Flamse commented May 15, 2024

版本0.1.1已经可以在Windows中运行,并且也添加了自己训练的模型。现在想将自己的模型封装成C函数接口并在C#中使用,存在一些问题。接口代码已经写完,按照Windows打包DLL教程输出了DLL,但在使用C++测试C接口时,封装了OpenCV的接口无法读取图片。

是否打包成C函数接口DLL需要和添加模型中的教程类似?在添加的模型类中再定义该模型的C函数接口,模型类和接口函数一起按照添加模型教程中的方法走一遍。

谢谢。

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

1 participant