Ask Your Question
1

How to stream live video on html page (web server)

asked 2014-02-19 20:48:57 -0600

tonyyyyyy gravatar image

How can I process some video / live video from a web cam then display / stream them on a web page?

Does opencv has some libraries to do such things?

edit retag flag offensive close merge delete

Comments

What do you want to do with the video? I mean, what processing?

prakharmohan gravatar imageprakharmohan ( 2014-02-19 21:37:35 -0600 )edit

just for example face detection in openCV, background detection to count how many cars for instance. But, it will be shown live on a web. Thanks for help

tonyyyyyy gravatar imagetonyyyyyy ( 2014-02-19 21:41:39 -0600 )edit

Accept the answer if it helps :)

prakharmohan gravatar imageprakharmohan ( 2014-02-20 05:44:01 -0600 )edit

hi Prakhar, thanks for the help, but where is the accept button? i dont see it. Or, how to accept ?

tonyyyyyy gravatar imagetonyyyyyy ( 2014-02-20 06:43:02 -0600 )edit

The tick near the answer?

prakharmohan gravatar imageprakharmohan ( 2014-02-20 07:03:53 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-02-19 22:27:11 -0600

prakharmohan gravatar image

Okay. This is completely new. I have never attempted this. So you can follow the guide here and see is that works out for you.

If it is too complicated a crude algorithm will be to:

  1. Get images from the web cam instead of the video.
  2. Apply face detection algorithm to the image.
  3. Stream the video.

For face detection on images follow this guide.

For streaming you can use the SO question here.

Hope this helps. :)

Anything else, feel free to comment!

edit flag offensive delete link more

Comments

Hi. First URL I got permission denied.

sarit gravatar imagesarit ( 2015-07-31 08:29:08 -0600 )edit

Question Tools

Stats

Asked: 2014-02-19 20:48:57 -0600

Seen: 18,792 times

Last updated: Feb 19 '14