我該怎麼辦:產生如何通過額外的參數中公里插件
1.I因此,對於該KMS-OpenCV的-插件樣本
2.To調用(使用鏈接https://github.com/Kurento/kms-opencv-plugin-sample)。來自client-js的opencv-plugin,我修改了crowddetector-client-js「https://github.com/Kurento/kurento-tutorial-js/tree/master/kurento-crowddetecto r」(將文件夾名稱重命名爲kurento-module-opencvpluginsample)。
3.Modification我做:
1.Updated the opencv js file path in the index.html
2.Replaced the "kurento-module-crowddetector" to "kurento-module-opencvpluginsample"(with the newly generated JS files)
3.Modified the module name in the index.js
4.Removed the old reference to crowddetector.
4,我開始了 「KurentoMediaServer」,然後選擇 「HTTP服務器」,加載頁面的瀏覽器
http://10.10.1.3:8080/index.html?ws_uri=ws://10.10.1.3:8888/kurento#
5.It 作品成功。
6.我也嘗試用opencv-plugin-sample中的默認給定代碼替換opencv人臉檢測代碼,它也可以。
我需要知道:
1.什麼我需要做的,如果我想在這個過程中添加額外的參數()?
2.如果我想在cpp中添加另一種方法,我該怎麼辦?
感謝您的回覆,@ santoscadenas –
是的,如果你有機會請加入房間http://chat.stackexchange.com/rooms/36966/kurento-media-server –
遵循示例opencv過濾器,並運行良好用int或double,但是創建一個需要一個String的方法會產生一個錯誤! – geekInMe