Giter VIP home page Giter VIP logo

pingpongcam's Introduction

pingpongcam

Streaming three webcams through Gstreamer and Nginx so you can see the waiting list and the table

This was created for viewing our ping pong whiteboard and the table in one convenient web page. It uses three 800x600 webcams to composite an image of the white board with the two views of the table superimposed.

installation

This may install some extra stuff, I have not optimized this yet. I ran this with Gstreamer 1.10 and Nginx 1.10.3:

brew install gstreamer
brew install gst-libav 
brew install gst-plugins-base --with-opencv  # just guessing
brew install  gst-plugins-good  --with-jpeg --with-libdv --with-check --with-gdk-pixbuf
brew install gst-plugins-bad --with-opencv --with-rtmpdump
brew install gst-plugins-ugly --with-x264 --with-libshout --with-dirac 
brew install nginx

Shallow copy this repo into nginx's html directory then run the script:

git clone https://github.com/dirkjot/pingpongcam.git  
cd pingpongcam
npm install
cp * /usr/local/Cellar/nginx/1.10.3/html/
cp -R node_modules /usr/local/Cellar/nginx/1.10.3/html/

# you probably want to set Nginx config after config/nginx.conf
# edit file /usr/local/etc/nginx/nginx.conf

# then run the script
./config/gstreamer.sh

Software to install on MacOS:

brew install ipython
pip3 install jupyter matplotlib scikit-image
brew install pygobject3 --with-python@2 gtk+3

pingpongcam's People

Contributors

dirkjot avatar

Stargazers

mathieu avatar Patrick Luzolo avatar  avatar

Watchers

Patrick Luzolo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.