Skip to content

lunaryu/camport_linux

 
 

Repository files navigation

DEPTH CAMERA DEMO FROM PERCIPIO XYZ


This is a basic template for the users.

This directory implements a samll opencv2.4.8 based application. It gets depth, 3D point cloud or IR-grey data from the PERCIPIO's depth camera and shows it in windows.

Code Structure

root directory

camport_test.cpp: The entry point for the main program.

depth_render.cpp: .

depth_render.h: .

include directory

The include directory includes the relevant headers needed to call the dynamic library functions.

percipio_camport.h: introduce the data structure and api

Usage

Compiling the Code

First install the Libusb and Opencv2.4.8 releated packages,

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

run the make command to start compiling,

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

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

Please refer to http://bbs.percipio.xyz/viewforum.php?f=2 for more detais.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 87.2%
  • C++ 6.5%
  • CSS 5.4%
  • Other 0.9%