File tree 2 files changed +3
-6
lines changed
Assets/NrealLightWithOpenCVForUnityExample/Scripts/Utils
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ namespace NrealLightWithOpenCVForUnity.UnityUtils.Helper
13
13
{
14
14
/// <summary>
15
15
/// NRCamTexture to mat helper.
16
- /// v 1.0.1
17
- /// Depends on NRSDK v 1.10.2 (https://nreal.gitbook.io/nrsdk/nrsdk-fundamentals/core-features).
16
+ /// v 1.0.2
17
+ /// Depends on NRSDK v 2.1.0 (https://nreal.gitbook.io/nrsdk/nrsdk-fundamentals/core-features).
18
18
/// Depends on OpenCVForUnity version 2.4.1 (WebCamTextureToMatHelper v 1.1.2) or later.
19
19
///
20
20
/// By setting outputColorFormat to RGB, processing that does not include extra color conversion is performed.
@@ -179,9 +179,6 @@ protected override IEnumerator _Initialize()
179
179
// Get physical RGBCamera position (offset position from Head).
180
180
Pose camPos = NRFrame . GetDevicePoseFromHead ( NativeDevice . RGB_CAMERA ) ;
181
181
rgbCameraPoseFromHeadMatrix = Matrix4x4 . TRS ( camPos . position , camPos . rotation , Vector3 . one ) ;
182
- // The position offset in the Z direction seemed too large, so code to change it to the same value as the center eye.
183
- // (This will greatly improve the misalignment with reality during projection, but it is not perfect.)
184
- //rgbCameraPoseFromHeadMatrix.m23 = -0.00678f;
185
182
186
183
// Get CenterEyePose (between left eye and right eye) position (offset position from Head).
187
184
var eyeposeFromHead = NRFrame . EyePoseFromHead ;
Original file line number Diff line number Diff line change 13
13
* Android (Galaxy S10+ SC-04L)
14
14
* Nreal Light (XREAL Light)
15
15
* Unity 2020.3.48f1+ (NRSDK supports the development environment of Unity 2018.4.X and above.)
16
- * [ NRSDK] ( https://developer.nreal.ai/download ) Unity SDK 1.10.2
16
+ * [ NRSDK] ( https://developer.nreal.ai/download ) Unity SDK 2.1.0
17
17
* [ OpenCV for Unity] ( https://assetstore.unity.com/packages/tools/integration/opencv-for-unity-21088?aid=1011l4ehR ) 2.5.6+
18
18
19
19
You can’t perform that action at this time.
0 commit comments