cmusatyalab / openface

Face recognition with deep neural networks.
http://cmusatyalab.github.io/openface/
Apache License 2.0
15.13k stars 3.6k forks source link

Web demo #243

Closed hsoltani closed 7 years ago

hsoltani commented 7 years ago

Hi

I want to run the web demo with the video from Hikvision ip camera instead of a webcam. I can stream the video using MJPG-Streamer in the network. The network rtsp address is "rtsp://192.168.2.32/video.cgi?.mjpg". I'd be thankful if anyone can help me.

Thanks, Hannaneh

kernel8liang commented 7 years ago

Hi,

i am very interested how to stream video to remote server, and how to direct it into web demo?

cloud you please give more detail ?

daoanhnhat1995 commented 7 years ago

@hsoltani I was able to do so. Basically, change the stream video src to your source, the code in the web demo already encodes as data string in form of jpg for the web socket server to process it already

deepmore1 commented 7 years ago

@daoanhnhat1995 and where exactly did you changed that ? i mean which source file contains the videocapture funtion ?

daoanhnhat1995 commented 7 years ago

@deepmore1

deepmore1 commented 7 years ago

i changed that value to my video stream URLl but nothing happens, actually what i am trying to find is the like in the Opencv funtion : videocapture("camera ID"); i didnt find in that html file or in the js file you mentioned

deepmore1 commented 7 years ago

i'm really having a hard time here, i couldn't fing the video src linking the webcam iD to the streaming, i'm not using any raspberry card , i just want to redirect the rtsp stream i get from a video surveillance camera to use it for face recognition with web demo instead of the webcam feed.

iamblue commented 7 years ago

You can use ffmpeg to capture the rtmp streaming .