Robert Cudmore    archive    tags    search    software


mjpg-streamer on a Raspberry Pi

This post covers downloading, installing and running mjp-streamer on a raspberry pi. There are two options for installation and streaming depending on if you stream from (1) a rapsberry pi camera module or (2) a USB camera.



Use OpenCV to acquire video

Goals

  • Use raspberry to record video from USB camera and stream to disk.
  • Use python and opencv
  • will save either as a sequence of .tif or as an uncompressed videofile

Install opencv

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libopencv-dev python-opencv



Plotting with bokeh on the Raspberry Pi

Goal is to get plotting with bokeh on the Raspberry Pi.



Python calling bash to get drive space remaining

I need to have some Python code tell me how much drive space is left. Here is what I came up with.



Monitoring mice in their home cage

[Aug 4, 2014, updated] [March 2015, moved to cudmore.github.io]