LoginSignup
5
1

More than 5 years have passed since last update.

NuitrackでRealSense D435iの画面表示設定を変更する

Last updated at Posted at 2019-02-15

Nuitrackの設定ファイルは私の環境だと以下にあります。
C:\Program Files\Nuitrack\nuitrack\nuitrack\data\nuitrack.config

Nuitrackのインストールディレクトリのパスは、
環境に応じて適時読み替えてください。

オリジナルのファイルは残しておきたいので、
nuitrack.configを複製してnuitrack_origin.configとリネームしておきましょう。

解像度とフレームレート

RawWidth/RawHeightでストリームの解像度を変更し、
ProcessWidth/ProcessHeightはその入力ストリームをリサイズすることができます。
FPSはフレームレートの変更です。

    "RGB": {
        "RawWidth": 1920,
        "RawHeight": 1080,
        "ProcessWidth": 1920, 
        "ProcessHeight": 1080, 
        "FPS": 30
    }

Realsense2Module.Depthも同様のキーで変更できます。

ポートレートモード(縦表示)とミラーモード

RotateAngleで回転。下のコードだと90度回転で縦長表示になります。180/270度もOKです。
Mirrorで左右反転します。

    "DepthProvider": {
        "RotateAngle": "90", 
        "Mirror": true
    }

setConfigValue()メソッドで変更することもできるようですが、こちらは未検証です。

5
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
1