开发者

OpenCV on Erlang

开发者 https://www.devze.com 2023-03-21 02:57 出处:网络
I would like to use OpenCV in my Erlang application. One solution would be to write an Erla开发者_StackOverflow中文版ng port etc., but I\'m sure it has been done before.

I would like to use OpenCV in my Erlang application. One solution would be to write an Erla开发者_StackOverflow中文版ng port etc., but I'm sure it has been done before.

The ideal result would be to be able to configure OpenCV from Erlang, and never touch a line of C code. But is this possible ? How would you do that ?


Why not wrap the specific OpenCV configuration in a C application using the OpenCV C lib and call that app using Result = os:cmd('myapp'). That way you don't have to mess around with possible interoperability issues and have a clear separation between you C and Erlang code.

0

精彩评论

暂无评论...
验证码 换一张
取 消