在我做了什么:模块“opencvpluginsample”未安装Kurento媒体服务器
我从https://github.com/Kurento/kms-opencv-plugin-sample下载更新opencv_plugin样本。
使用的cmake-GUI运行cmakelist和产生的所以使用
sudo make install
将如此在路径
usr/local/lib/x86_64-linux-gnu/kurento/modules
产生从JS folderin的KMS-opencv-插件样品,我运行命令
cmake .. -DGENERATE_JS_CLIENT_PROJECT=TRUE
为了产生“kurento模块-opencvpluginsample.min.js”,“kurento-module-opencvpluginsample.map”文件我安装在JS文件夹咕噜,使用命令
NPM安装咕噜咕噜-browserify咕噜-的contrib -clean咕噜-jsdoc咕噜-npm2bower同步minifyify
生成一个DIST文件夹,其包含文件( “kurento模块-opencvpluginsample.min.js”, “kurento-module-opencvpluginsample.map”,“kurento -module-opencvpluginsample.js“)
我为kms-opencv-client创建了一个文件夹,并从链接中的kurento-crowddetector文件夹中复制了所有文件https://github.com/Kurento/kurento-tutorial-js
在KMS-OpenCV的客户端,亭子组分内,我取代了kurento-crowddetector模块与所述的OpenCV-插件-采样模块,其包含来自步骤中生成的JS:6
另外改变了的index.html js的路径,也取代了index.js
模块的名字,我开始了Kurento媒体服务器和也的http服务器
当我从浏览器加载页面
http://10.10.1.3:8080/index.html?ws_uri=ws://10.10.1.3:8888/kurento#
当我点击开始按钮,在出现下列错误
语法错误:模块“opencvpluginsample”未安装Kurento媒体服务器在
难道我在opencv-错过什么插件安装过程
,感谢您的答复,我会尝试和更新 –
它的工作原理,感谢 –
现在本地流工作,不加载,因为在人群中检测远程流,他们使用 常量RegionOfInterest = kurentoClient.register.complexTypes.RegionOfInterest 常量RegionOfInterestConfig = kurentoClient.register.complexTypes.RegionOfInterestConfig 常量RelativePoint = kurentoClient.register.complexTypes.RelativePoint –