Coder Social home page Coder Social logo

manusw / ofxstereocam180 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gerardobort/ofxstereocam180

0.0 2.0 0.0 10.03 MB

Stereographic video recording + 180º tilt/rotation by software using a pair of fisheye USB cameras.

Makefile 2.08% GLSL 9.45% C++ 88.47%

ofxstereocam180's Introduction

ofxStereoCam180

This project is a proof of concept on 3d side by side video recording by using 2 180º fisheye cameras. The prototype built uses 2 cameras in an array mode to generate a stereographic stream (real time), with the addition of 3d navigation as result of the 3d mapping and a virtual camera within a skydome.

The App counts with 2 major functionalities:

  1. Video recording: files get stored under bin/data/videos.
  2. Video streaming: udp only for now.

Inspiration

The 180º image rectification process is based on the work presented by Paul Burke, here.

Hardware

Homemade Camera

The protoype requires a custom homemade set of cameras. A pair of 180º cameras imitating the humain eyes. I used a small cardboard box with two holes and a couple of pair of screws.

The camera device looks like this...

And here is where you can find them.

Software in action

App in action - video

Watch the video:

Resources

The 3d navigation software is implemented in C++ using OpenFrameworks 0.9. Modules used:

  1. ofxGui for menues and settings
  2. ofVideoGrabber for video capture
  3. ofxVideoRecorder for video recording / live streamming
  4. ofSphere / ofBox for skydome
  5. OpenGL 3.2 - GLSL v150 for image rectification
  6. ffmpeg - video encoding / streaming

Next Steps

  1. Generate real-time video straming for mobile devices (cardboard)
  2. Transmit sphere texture instead of rectified captures, in order to make rectification on the mobile device and have real-time tilt/rotation.
  3. Build 360º views using an array of 4-5 cameras.

🍔

ofxstereocam180's People

Contributors

gerardobort avatar

Watchers

James Cloos avatar  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.