没有浏览器的 webrtc [英] webrtc without a browser

查看:69
本文介绍了没有浏览器的 webrtc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我正在这里使用这个项目.它是一个 python 脚本,它使用 webrtc 运行服务器将客户端/浏览器网络摄像头发送到服务器并执行人脸识别.我想要做的是用连接到 pi 的网络摄像头或 pi cam 做同样的事情,但不使用浏览器.有没有办法用当前的设置来做到这一点,或者有没有更好的方法来做到这一点?

Right now I am using this project here. It is a python script that runs a server using webrtc to send the clients/browsers webcam to the server and perform face recognition. What I want to do is do the same thing with a web cam or pi cam hooked up to the pi but without the use of the browser. Is there a way to do it with the current set up or is there a better method to accomplish this?

推荐答案

您可以使用本机库并将其连接到人脸识别服务器.您可以使用 google implementation of webrtc 或名为 openWebrtc.openWebRTC 的开发人员非常自豪能够在各种硬件(例如 raspberry pi 和 iOS 设备)上运行他们的实现.

You can use the native library and connect it to the face recognition server. You can use either the google implementation of webrtc or a more recent implementation (by Ericsson) called openWebrtc. The developers of openWebRTC are very proud of running their implementation on various pieces of hardware like raspberry pi and iOS devices.

如果您不知道如何使用本机库,您可以为 webrtc 使用 nodejs 绑定(例如 node-webrtceasyrtc)

If you don't what to mess with a native library you can use a nodejs binding for webrtc (for example node-webrtc or easyrtc)

这篇关于没有浏览器的 webrtc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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