Giter Site home page Giter Site logo

vimeo / vimeo-depth-viewer Goto Github PK

View Code? Open in Web Editor NEW
52.0 18.0 11.0 1.18 MB

OpenGL application for viewing depth and color video streams from Intel RealSense cameras

Home Page: https://vimeo-volumetric-video-livestreaming.glitch.me/

License: MIT License

CMake 6.27% C++ 93.73%
cplusplus opengl realsense livestream volumetric

vimeo-depth-viewer's Introduction

Vimeo Depth Viewer

A GIF of the depth viewer application

PRs Welcome

An OpenGL application for viewing depth and color video streams from Intel RealSense cameras (D415/D435).

This repository consists of tools and demos presented at the Volumetric Filmmaking meetup at NYC.
Watch the live-stream from the meetup or checkout the WebVR examples.

Looking for a simpler solution that doesn't require code? head over to Depthkit to learn more, our WebVR examples fully support it

  1. Quick-start
  2. Features
  3. Build from source
  4. Dependencies
  5. License

Quick-start

Make you get either the Intel RealSense D415/D435. We peronsally prefered working with the D415, as it proved more reliable, but both work with this software. To quickly get started, download a pre-built release of the depth-viewer from here or build it from source. Once you have a binary launch it by double clicking it or calling ./VimeoDepthViewer from the folder and you should be good to go.

Features

  • An easy to use interface based on nanogui.
  • Depth clipping for easy background removal.
  • Seprate stream view and monitor window for capturing and live streaming a full window using OBS
  • Depth filtering (decimation, spatial and temporal filters)
  • Fully git submodules and CMake for easy set up

Build from source

All 3rd party libraries used are included as git submodules to ease the setup and development process, it should be easy to clone using the --recursive flag and build everything from source.

  1. Make sure you have CMake installed, for macOS, install Homebrew and run
brew install cmake
  1. Clone the repository including all the submodules:
git clone https://github.com/vimeo/depth-viewer.git --recursive
  1. Go inside the folder and create a build folder by running cd vimeo-depth-viewer && mkdir build
  2. Run CMake by calling cmake ../ from the build folder
  3. Run make to build an executable
  4. Run the executable by running ./VimeoDepthViewer

Tested on macOS v10.13.4 & CMake v3.11.4

Dependencies

  1. GLFW
  2. nanogui
  3. Eigen
  4. librealsense2

License

License file could be found here

Questions, help, and support

For questions and support, ask on StackOverflow. If you found a bug, please file a GitHub issue.

Make pull requests, file bug reports, and make feature requests via a GitHub issue.

vimeo-depth-viewer's People

Contributors

caseypugh avatar juniorxsound avatar mauckc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vimeo-depth-viewer's Issues

error happens when launching the app

dyld: Library not loaded: @rpath/libnanogui.dylib
Referenced from: /Users/simon/Downloads/depth-viewer-0.0.1/Vimeo Depth Viewer
Reason: image not found
Abort trap: 6
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Yellow and white flashings w/ D435

Hi,

I use your pre-compiled viewer and the viewer compiled by myself to test, but none of them works. Here is a snapshot. The left window is always with yellow and white flashings and the right window sometimes shows the same flashings, or sometimes shows videos with many noises.

image

I change do not change the code, and I have no idea what is wrong. Could you please give me some suggestions?

I am using:

  • Macbook Air 2015 (Majove 10.14.6)
  • Cmake 3.15.3
  • Intel Realsense D435

Thank you very much

error: glUniform was not declared in this scope

tried build it on ubuntu 20.04 and got this:

[ 95%] Building CXX object CMakeFiles/VimeoDepthViewer.dir/src/MainWindow.cpp.o
In file included from /home/al/depth-viewer/ext/nanogui/include/nanogui/glcanvas.h:22:0,
                 from /home/al/depth-viewer/src/VideoView.h:3,
                 from /home/al/depth-viewer/src/VideoWindow.h:6,
                 from /home/al/depth-viewer/src/MainWindow.h:37,
                 from /home/al/depth-viewer/src/MainWindow.cpp:1:
/home/al/depth-viewer/ext/nanogui/include/nanogui/glutil.h: In member function void nanogui::GLShader::setUniform(const string&, bool, bool):
/home/al/depth-viewer/ext/nanogui/include/nanogui/glutil.h:249:9: error: glUniform was not declared in this scope
         glUniform1i(uniform(name, warn), (int)value);
         ^~~~~~~~~~~
/home/al/depth-viewer/ext/nanogui/include/nanogui/glutil.h:249:9: note: suggested alternative: uniform
         glUniform1i(uniform(name, warn), (int)value);
         ^~~~~~~~~~~
         uniform

is there any fast fix ?

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.