Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enable live streaming with MJPEG #26
MJPEG will be implemented (C++ sockets), this will allow a user to view a live stream on the dashboard page. The MJPEG stream will work with any device: IP camera, USB camera or Rapsberry Pi camera.
First send the HTTP header
Keep sending the frames
A toggle will be place on the dashboard wich makes it possible to switch between the activity (latest sequence of detection) and a live stream using a MJPEG image.
Following library will be used to draw the MJPEG on the canvas: https://github.com/WPI-RAIL/mjpegcanvasjs