Giter Club home page Giter Club logo

camport3's Introduction

DEPTH CAMERA DEMO FROM PERCIPIO XYZ


This is a basic reference template for PERCIPIO depth camera application developers.

This software development kit provides the data capture libraries of PERCIPIO depth camera for different OS platform and several reference applications.The applications here show the way to get depth data, 3D point cloud data, color data or IR-grey data from the PERCIPIO's depth camera with PERCIPIO data capture APIs and to render these data in GUI with OpenCV2.4.8 software library. OpenCV library is NOT necessary to pull the depth data or 2D image out of the PERCIPIO depth data.

sample directory

The sample directory includes source code of the reference applications and exe bianry file. Remember to install the Opencv2.4.8 releated packages before running the exe file since the samples use it to render the image.

lib directory

The lib directory includes the data capture libraries needed by linux and Windows.

x64、i686、armv7hf、armv7l_RaspberryPi_3B、aarch64 is supported in linux.

x64 is supported in Windows.

include directory

The include directory includes the headers needed to call the dynamic library functions. TY_API.h introduces a totally new suit of APIs which is recommended for you to inlcude in you projects.

Doc directory

Percipio Camport SDK Documents generated by Doxygen. In this API documentation you will find the description of all the available classes, structs, unions and functions. Learn how to use them with practical example!

Usage

Compiling the reference Code on ubuntu based platform

First, install the Libusb userspace library and Opencv2.4.8 releated packages,

Second, copy the libtycam.so for target platform to /usr/lib directory, and excute ldconfig to creates the necessary links and cache to the shared library.

Then run the following commands to compile in sample directory,

1、cd sample
2、mkdir build
3、cd build
4、cmake ..
5、make

Finally, you will find all these executables generated in ./bin directory.

run sudo ./bin/xxxx to show the xyz secret, enjoy it!

Compiling the reference Code on windows based platform

First, install driver in host side which located in lib/win/driver,

Second, copy the tycam.dll for target platform to the directory which in system environment variable.

Then generate .sln, .vcxproj files using cmake tools and copy the tycam.lib for target platform to the build directory.

Finally, open .sln file with visual studio to compile and debug.

Bear in mind that you may want to CROSS COMPILE the libusb and opencv source code first and then cross compile this reference code for your EMBEDDED platform.

Please refer to https://percipiodc.readthedocs.io/en/latest/ for more details.

camport3's People

Contributors

percipioxyz avatar

Watchers

 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.