Coder Social home page Coder Social logo

jing-interactive / opendepthsensor Goto Github PK

View Code? Open in Web Editor NEW
69.0 3.0 10.0 1.27 MB

Open library to support Kinect V1 & V2 & Azure, RealSense and OpenNI-compatible sensors.

License: MIT License

C++ 97.26% Lua 2.74%
kinect realsense openni depth-camera opencv computer-vision kinect-v2 kinect2 kinect-sdk

opendepthsensor's Introduction

OpenDepthSensor

Supported depth sensor list:

  • Kinect for Azure via k4a SDK (Windows, Linux)
  • Kinect V1 via KinectCommonBridge (Windows 7+)
  • Kinect V2 via KinectCommonBridge-V2 (Windows 8+)
  • Kinect V2 via libfreenect2 (Windows 7+, macOS, Linux)
  • Intel RealSense sensors (R200, F200, SR300, LR200, ZR300) via librealsense SDK (Windows, macOS, Linux)
  • OpenNI2-compatible sensors via OpenNI2 SDK (Windows, macOS, Linux, Android)
  • Hjimi sensors via Imi SDK (Windows, Linux, Android)

How to build

  • Fetch submodules in 3rdparty/
  • Generate project file w/ premake5, e.g.
    • premake5 vs2019
    • premake5 xcode4

Doc

opendepthsensor's People

Contributors

vinjn 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

opendepthsensor's Issues

Building

Hello and good evening!
I was able to build successfully an example generated by premake, just copied it to the cinder blocks folder and it was able to find cinder main files.
It seems It provides all the c++ files for the sensors.
Any help on how would I build a kinect v1?
I'm new to cinder!!
Best, Luis

Undefined symbols for architecture x86_64: "ds::Device::create(ds::DeviceType, ds::Option)"

just trying to build a simple HelloWorld app using depth sensor. since i cannot find a documentation or sample anywhere, I just started with some simple code:

#include "DepthSensor.h"

ds::DeviceRef mDevice;

void depthApp::setup()
{
    ds::DeviceType type = ds::DeviceType(0);
    ds::Option option;
    option.enableDepth = true;
    option.enableInfrared = false;
    
    mDevice = ds::Device::create(type, option);
// mDevice = ds::Device::create(type);

}

this line mDevice = ds::Device::create(type, option); gives me this error:

Undefined symbols for architecture x86_64:
"ds::Device::create(ds::DeviceType, ds::Option)", referenced from:
depthApp::setup() in depthApp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The project was freshly built using Tinderbox, the code I posted above is really the only thing I added.

I am not sure if this is caused by the Block or my build settings or my misuse of the library. Since I am relatively new to c++, I apologize if this is not an issue to this repo.

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.