Git Product home page Git Product logo

Inatech's open-source video stitcher: inastitch

Build

Install build dependencies (Raspberry Pi):

sudo apt install cmake git
sudo apt install libturbojpeg0-dev libglfw3-dev libgles2-mesa-dev libglm-dev

Build Boost and OpenCV as static libraries.

Build inastitch:

git clone https://github.com/inastitch/inastitch.git
mkdir build
cd build/
cmake -DBOOST_INSTALL=/home/pi/boost/local/ -DOPENCV_STATIC_LIB_PATH=/home/pi/opencv/local/ ../inastitch
make

Run

Start V4L webcam streams:

gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=10/1 ! jpegenc ! fdsink | ./inartpsend --local-ts --width 640 --height 480 --out-port 5000
gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw,width=640,height=480,framerate=10/1 ! jpegenc ! fdsink | ./inartpsend --local-ts --width 640 --height 480 --out-port 5001
gst-launch-1.0 v4l2src device=/dev/video4 ! video/x-raw,width=640,height=480,framerate=10/1 ! jpegenc ! fdsink | ./inartpsend --local-ts --width 640 --height 480 --out-port 5002

Note: adapt V4L setup to the capabilities of your cameras.

Start stitching with default network ports (5000 center, 5001 left, 5002 right):

./inastitch

Press Enter to calibrate stitching.

inastitch's Projects

3d-parts icon 3d-parts

STL and design files for inastitch prototype

public-docs icon public-docs

Public documentation of Inatech's "Inastitch" project

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.