プログラミング(programming)/RealSense
[
Front page
] [
New
|
List of pages
|
Search
|
Recent changes
|
Help
] [
Japanese
/
English
]
Research
research overview
papers
media
Members
professors
graduates
undergraduates
alumni
Links
Links
Classes
Computer Programming Basic II
Special Lecture of Mechanical Intelligent System Engineering I
Start:
[[プログラミング(programming)]]
#contents
* D435 [#dca98dc4]
- An RGB & depth camera by Intel
- https://realsense.intel.com/
- https://click.intel.com/intelr-realsensetm-depth-camera...
- https://software.intel.com/sites/default/files/Intel_Re...
- https://www.switch-science.com/catalog/3633/
** How to use [#s543e85b]
*** Installation [#r62288c9]
- Installation process can be found in:
-- https://software.intel.com/en-us/realsense/d400/get-st...
- Intel RealSense SDK
--for Windows:
--- https://github.com/IntelRealSense/librealsense/releas...
-- for Linux:
--- Intel RealSense SDK 2.0 provides installation package...
--- https://github.com/IntelRealSense/librealsense/blob/d...
--- Register the server's public key:
sudo apt-key adv --keyserver keys.gnupg.net --recv-key C...
--- In case the public key still cannot be retrieved, che...
export http_proxy="http://<proxy>:<port>"
--- Rerun command
-- Add the server to the list of repositories
--- Ubuntu 16 LTS:
sudo add-apt-repository "deb http://realsense-hw-public....
--- Ubuntu 18 LTS:
sudo add-apt-repository "deb http://realsense-hw-public....
--When upgrading, remove the old records
sudo rm -f /etc/apt/sources.list.d/realsense-public.list
sudo apt-get update
--- To run demos, install:
sudo apt-get install librealsense2-dkms
sudo apt-get install librealsense2-utils
--- The above two lines will deploy librealsense2 udev ru...
-- Reconnect the Intel RealSense depth camera and run: re...
*** Run the Intel RealSense Viewer [#ob680750]
- Run: realsense-viewer
- When application starts, turn on the Stereo Module to s...
- Turn on the RGB camera to see the RGB stream and depth ...
- Toggle between 2D to 3D to see the 3D point cloud.
- If a message of "update firmware" or something pops up,...
&aname(firmware);
*** (optional) Firmware update (必要なら)ファームウェア更...
-- download the latest firmware from https://downloadcent...
-- unzip and place the '*.bin' file in a certain director...
-- install intel-realsense-dfu
$ sudo apt-get install intel-realsense-dfu
-- check bus number and device number by 'lsusb' command....
$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated ...
........(snip)
Bus 004 Device 003: ID 8086:0b07 Intel Corp.
........(snip)
In this case, <bus number> is 004 and <device number> is ...
-- update the firmware with intel-realsense-dfu
$ intel-realsense-dfu -b <bus number番号> -d <device num...
*NUITRACK [#y1bb757a]
- description
- Online documentation:
-- http://download.3divi.com/Nuitrack/doc/Overview_page.h...
Note: Nuitrack install may break other RealSense applicat...
if needed:
export LD_LIBRARY_PATH="{$LD_LIBRARY_PATH}:/usr/local/li...
** How To Use [#s8550061]
*** Installation [#f03797e6]
- Supported Ubuntu version is 14.04 and above. Supported ...
- Download Debian package:
-- For AMD64
--- http://download.3divi.com/Nuitrack/platforms/nuitrack...
-- For ARM 32-bit
--- http://download.3divi.com/Nuitrack/platforms/nuitrack...
- Install the downloaded package
sudo dpkg -i <downloaded-package-name>.deb
- Log out to let the system changes take effect
- Check that the environment variables NUITRACK_HOME and ...
echo $NUITRACK_HOME
echo $LD_LIBRARY_PATH
NUITRACK_HOME should be equal to /usr/etc/nuitrack. LD_LI...
If the environment variables are empty, set them manually...
echo "export NUITRACK_HOME=/usr/etc/nuitrack" > /etc/pro...
echo "export LD_LIBRARY_PATH=/usr/local/lib/nuitrack" >>...
. /etc/profile.d/nuitrack_env.sh
-[For Ubuntu 18.04] Install the libpng12-0 package.
-- https://packages.ubuntu.com/xenial/amd64/libpng12-0/do...
*** Get Nuitrack SDK [#s20a7c54]
- Download from: http://download.3divi.com/Nuitrack/
mkdir ~/sdk/NuitrackSDK
cp NuitrackSDK.zip ~/NuitrackSDK
- extract ZIP archive
- delete zip file
Edit CMakeLists.txt if you installed the SDK to a differe...
*** License Activation [#a343cee0]
- Make sure the camera/sensor is connected
- Launch Nuitrack licensing tool
sudo -E nuitrack_license_tool
- Click "Compatibility test" and wait for it to complete
- Enter secret key and press "Get Available Licenses"
-- secret activation key: uxws2enrrQj8lLD7
- Choose license type and press "Upgrade to Pro" or "Upgr...
- Your device will get license from activation server and...
- To test Nuitrack middleware press "Test" button
** Sample Programs [#ye63b388]
End:
[[プログラミング(programming)]]
#contents
* D435 [#dca98dc4]
- An RGB & depth camera by Intel
- https://realsense.intel.com/
- https://click.intel.com/intelr-realsensetm-depth-camera...
- https://software.intel.com/sites/default/files/Intel_Re...
- https://www.switch-science.com/catalog/3633/
** How to use [#s543e85b]
*** Installation [#r62288c9]
- Installation process can be found in:
-- https://software.intel.com/en-us/realsense/d400/get-st...
- Intel RealSense SDK
--for Windows:
--- https://github.com/IntelRealSense/librealsense/releas...
-- for Linux:
--- Intel RealSense SDK 2.0 provides installation package...
--- https://github.com/IntelRealSense/librealsense/blob/d...
--- Register the server's public key:
sudo apt-key adv --keyserver keys.gnupg.net --recv-key C...
--- In case the public key still cannot be retrieved, che...
export http_proxy="http://<proxy>:<port>"
--- Rerun command
-- Add the server to the list of repositories
--- Ubuntu 16 LTS:
sudo add-apt-repository "deb http://realsense-hw-public....
--- Ubuntu 18 LTS:
sudo add-apt-repository "deb http://realsense-hw-public....
--When upgrading, remove the old records
sudo rm -f /etc/apt/sources.list.d/realsense-public.list
sudo apt-get update
--- To run demos, install:
sudo apt-get install librealsense2-dkms
sudo apt-get install librealsense2-utils
--- The above two lines will deploy librealsense2 udev ru...
-- Reconnect the Intel RealSense depth camera and run: re...
*** Run the Intel RealSense Viewer [#ob680750]
- Run: realsense-viewer
- When application starts, turn on the Stereo Module to s...
- Turn on the RGB camera to see the RGB stream and depth ...
- Toggle between 2D to 3D to see the 3D point cloud.
- If a message of "update firmware" or something pops up,...
&aname(firmware);
*** (optional) Firmware update (必要なら)ファームウェア更...
-- download the latest firmware from https://downloadcent...
-- unzip and place the '*.bin' file in a certain director...
-- install intel-realsense-dfu
$ sudo apt-get install intel-realsense-dfu
-- check bus number and device number by 'lsusb' command....
$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated ...
........(snip)
Bus 004 Device 003: ID 8086:0b07 Intel Corp.
........(snip)
In this case, <bus number> is 004 and <device number> is ...
-- update the firmware with intel-realsense-dfu
$ intel-realsense-dfu -b <bus number番号> -d <device num...
*NUITRACK [#y1bb757a]
- description
- Online documentation:
-- http://download.3divi.com/Nuitrack/doc/Overview_page.h...
Note: Nuitrack install may break other RealSense applicat...
if needed:
export LD_LIBRARY_PATH="{$LD_LIBRARY_PATH}:/usr/local/li...
** How To Use [#s8550061]
*** Installation [#f03797e6]
- Supported Ubuntu version is 14.04 and above. Supported ...
- Download Debian package:
-- For AMD64
--- http://download.3divi.com/Nuitrack/platforms/nuitrack...
-- For ARM 32-bit
--- http://download.3divi.com/Nuitrack/platforms/nuitrack...
- Install the downloaded package
sudo dpkg -i <downloaded-package-name>.deb
- Log out to let the system changes take effect
- Check that the environment variables NUITRACK_HOME and ...
echo $NUITRACK_HOME
echo $LD_LIBRARY_PATH
NUITRACK_HOME should be equal to /usr/etc/nuitrack. LD_LI...
If the environment variables are empty, set them manually...
echo "export NUITRACK_HOME=/usr/etc/nuitrack" > /etc/pro...
echo "export LD_LIBRARY_PATH=/usr/local/lib/nuitrack" >>...
. /etc/profile.d/nuitrack_env.sh
-[For Ubuntu 18.04] Install the libpng12-0 package.
-- https://packages.ubuntu.com/xenial/amd64/libpng12-0/do...
*** Get Nuitrack SDK [#s20a7c54]
- Download from: http://download.3divi.com/Nuitrack/
mkdir ~/sdk/NuitrackSDK
cp NuitrackSDK.zip ~/NuitrackSDK
- extract ZIP archive
- delete zip file
Edit CMakeLists.txt if you installed the SDK to a differe...
*** License Activation [#a343cee0]
- Make sure the camera/sensor is connected
- Launch Nuitrack licensing tool
sudo -E nuitrack_license_tool
- Click "Compatibility test" and wait for it to complete
- Enter secret key and press "Get Available Licenses"
-- secret activation key: uxws2enrrQj8lLD7
- Choose license type and press "Upgrade to Pro" or "Upgr...
- Your device will get license from activation server and...
- To test Nuitrack middleware press "Test" button
** Sample Programs [#ye63b388]
Page: