在Windows下将OpenCV安装为php扩展 [英] Installing OpenCV as php extension under Windows

查看:519
本文介绍了在Windows下将OpenCV安装为php扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请任何人向我推荐有关如何将OpenCV安装为的指南/教程. Windows下的php扩展名?

Could please anyone recommend me a guide/tutorial on how to install OpenCV as php extension under Windows ?

推荐答案

我的方法是从使用OpenCV库的C代码编译可执行文件,然后可以使用 Exec()函数.

My approach is compiling an executable from C code that uses OpenCV library then you can execute your program with Exec() function.

如果您正在寻找纯Php解决方案,请检查

If you are looking for a pure Php solution, check this.

这篇关于在Windows下将OpenCV安装为php扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆