Skip to content

Instantly share code, notes, and snippets.

@MonsieurLanza
Created January 30, 2023 16:08
Show Gist options
  • Save MonsieurLanza/583613475093b716f65c32260f8c364a to your computer and use it in GitHub Desktop.
Save MonsieurLanza/583613475093b716f65c32260f8c364a to your computer and use it in GitHub Desktop.
HMD_JSON.json
{
"ROM_date" : "2021/04/09 09:09:10 CST",
"ROM_version" : "2.0.0.361",
"device" : {
"eye_target_height_in_pixels" : 1700,
"eye_target_width_in_pixels" : 1440,
"first_eye" : "eEYE_LEFT",
"last_eye" : "eEYE_RIGHT",
"num_windows" : 1,
"persistence" : 0.011110999621450899,
"physical_aspect_x_over_y" : 0.89999997615814209
},
"device_class" : "hmd",
"device_pid" : 8192,
"device_serial_number" : "5A05MAM01687",
"device_vid" : 10462,
"display_edid" : [ "", "" ],
"display_gc" : {
"black_clamp" : 0.011764706112444401
},
"display_mc" : {
"left" : "Green_40WA15B3000646_mura_analyzes.mc",
"offset" : -0.49803921580314642,
"right" : "Green_40VA15B3000250_mura_analyzes.mc",
"scale" : 0.125,
"type" : 1
},
"dual_extrinsics" : {
"rotation" : [
0.99999154643846166,
0.0017559767315293434,
0.0037180098617812028,
-0.0017617390641576202,
0.99999725131931716,
0.0015471358312196023,
-0.0037152829076391729,
-0.0015536729156260855,
0.99999189135381861
],
"translation" : [ -64.914643710056097, -0.0017910860331836914, 0.13095797105152329 ],
"type" : "DUAL_CAMERA"
},
"htcComposeTime" : "2017-01-01 01:01:01",
"inhouse_lens_correction" : {
"left" : {
"center" : {
"left" : {
"x" : 58,
"y" : 2
},
"right" : {
"x" : 0,
"y" : 0
}
},
"create_time" : "2020-05-28 13:01:51",
"distortion_coeff" : {
"left" : {
"blue" : {
"k1" : 4.0614981651306152,
"k2" : -31.269237518310547,
"k3" : 406.16793823242188,
"p1" : 0.0031767699401825666,
"p2" : -0.0014737946912646294
},
"green" : {
"k1" : 3.0527851581573486,
"k2" : -11.039623260498047,
"k3" : 264.40261840820312,
"p1" : 0.0022065876983106136,
"p2" : -0.0048574246466159821
},
"red" : {
"k1" : 2.5260655879974365,
"k2" : -0.97934573888778687,
"k3" : 192.7393798828125,
"p1" : 0.001621164963580668,
"p2" : -0.0074939844198524952
}
},
"right" : {
"blue" : null,
"green" : null,
"red" : null
}
},
"enlarge_ratio" : 1.3999999761581421,
"grow_for_undistort" : {
"left" : 0.52499997615814209,
"right" : null
},
"grow_for_undistort2" : {
"left" : 0.5,
"right" : null
},
"hmd_model_name" : "hus_3.4_tft_apollo",
"intrinsics" : {
"left" : [
[ 1.4321284294128418, 0, -0.080555558204650879 ],
[ 0, 1.2130969762802124, 0.002352941082790494 ],
[ 0, 0, -1 ]
],
"right" : null
},
"intrinsics2" : {
"left" : [
[ 1.4069312810897827, 0, -0.080555558204650879 ],
[ 0, 1.191753625869751, 0.002352941082790494 ],
[ 0, 0, -1 ]
],
"right" : null
},
"model_type" : "traditional_with_tangential",
"normalizedRadius" : 1000,
"resolution" : {
"height" : 1700,
"width" : 1440
},
"scale" : {
"left" : 0.39783561229705811,
"right" : 0
},
"version" : "1.5"
},
"right" : {
"center" : {
"left" : {
"x" : 0,
"y" : 0
},
"right" : {
"x" : -78,
"y" : -6
}
},
"create_time" : "2020-05-26 10:23:51",
"distortion_coeff" : {
"left" : {
"blue" : null,
"green" : null,
"red" : null
},
"right" : {
"blue" : {
"k1" : 3.3160371780395508,
"k2" : -18.51173210144043,
"k3" : 323.8109130859375,
"p1" : -0.0021434279624372721,
"p2" : 0.005042725708335638
},
"green" : {
"k1" : 2.4571974277496338,
"k2" : -1.6706917285919189,
"k3" : 205.75382995605469,
"p1" : -0.00091273261932656169,
"p2" : 0.0020071943290531635
},
"red" : {
"k1" : 1.8760305643081665,
"k2" : 10.692645072937012,
"k3" : 116.51290130615234,
"p1" : -0.0016971029108390212,
"p2" : -0.00024002416466828436
}
}
},
"enlarge_ratio" : 1.3999999761581421,
"grow_for_undistort" : {
"left" : null,
"right" : 0.5
},
"grow_for_undistort2" : {
"left" : null,
"right" : 0.5
},
"hmd_model_name" : "hus_3.4_tft_apollo",
"intrinsics" : {
"left" : null,
"right" : [
[ 1.4106736183166504, 0, 0.10833333432674408 ],
[ 0, 1.1949236392974854, -0.0070588234812021255 ],
[ 0, 0, -1 ]
]
},
"intrinsics2" : {
"left" : null,
"right" : [
[ 1.4106736183166504, 0, 0.10833333432674408 ],
[ 0, 1.1949236392974854, -0.0070588234812021255 ],
[ 0, 0, -1 ]
]
},
"model_type" : "traditional_with_tangential",
"normalizedRadius" : 1000,
"resolution" : {
"height" : 1700,
"width" : 1440
},
"scale" : {
"left" : 0,
"right" : 0.40072855353355408
},
"version" : "1.5"
}
},
"l_revision" : 990,
"lens_separation" : 0.062194719910621643,
"manufacturer" : "HTC",
"mb_serial_number" : "42ZR305L00213",
"model_number" : "vive_cosmos",
"render_model" : "",
"revision" : 1,
"second_tracked_camera" : {
"intrinsics" : {
"center_x" : 324.77007602997361,
"center_y" : 228.07596033643352,
"distort" : {
"center_x" : 0,
"center_y" : 0,
"coeffs" : [
0.0041285007228930772,
-0.0033022667128959167,
0.0067730946613289962,
-0.002377613236196664,
0,
0,
0,
0
],
"type" : "DISTORT_FTHETA"
},
"focal_x" : 274.53313653757255,
"focal_y" : 274.62690931886448,
"height" : 480,
"width" : 640
},
"pitch" : -0.010078343562781811,
"roll" : -0.020679917186498642,
"version" : "2.1.8.2",
"yaw" : -0.0058460254222154617
},
"tracked_camera" : {
"head_from_camera" : [ 0, 0, 0, 1, 0, 0, 0 ],
"intrinsics" : {
"center_x" : 324.3576141540741,
"center_y" : 230.8428596245636,
"distort" : {
"center_x" : 0,
"center_y" : 0,
"coeffs" : [
0.0026728464146464157,
0.001236914124472516,
0.0023179322226845244,
-0.00066048831300092139,
0,
0,
0,
0
],
"type" : "DISTORT_FTHETA"
},
"focal_x" : 275.48088730536494,
"focal_y" : 275.69608365447033,
"height" : 480,
"width" : 640
},
"pitch" : -0.013476936146616936,
"roll" : -0.023060118779540062,
"version" : "2.1.8.2",
"yaw" : -0.0056329895742237568
},
"tracked_cameras" : [
{
"extrinsics" : [ 0, 0, 0, 1, 0, 0, 0 ],
"head_from_camera" : [ -0.032500000000000001, 0.00158, -0.067559999999999995, 0, 1, 0, 0 ],
"intrinsics" : {
"center_x" : 324.77007600000002,
"center_y" : 228.07596000000001,
"distort" : {
"center_x" : 0,
"center_y" : 0,
"coeffs" : [
0.0041289999999999999,
-0.0033019999999999998,
0.0067730000000000004,
-0.0023779999999999999,
0,
0,
0,
0
],
"type" : "DISTORT_FTHETA"
},
"focal_x" : 274.53313700000001,
"focal_y" : 274.62690900000001,
"height" : 480,
"width" : 640
},
"name" : "right"
},
{
"extrinsics" : [ 0, 0, 0, 1, 0, 0, 0 ],
"head_from_camera" : [ 0.032500000000000001, 0.00158, -0.067559999999999995, 0, 1, 0, 0 ],
"intrinsics" : {
"center_x" : 324.35761400000001,
"center_y" : 230.84286,
"distort" : {
"center_x" : 0,
"center_y" : 0,
"coeffs" : [ 0.002673, 0.001237, 0.0023180000000000002, -0.00066, 0, 0, 0, 0 ],
"type" : "DISTORT_FTHETA"
},
"focal_x" : 275.480887,
"focal_y" : 275.69608399999998,
"height" : 480,
"width" : 640
},
"name" : "left"
}
],
"tracking_to_eye_transform" : [
{
"distortion" : {
"center_x" : 0.093863636365812103,
"center_y" : -0.0087954906134404647,
"coeffs" : [
-0.22971953224940439,
-0.01081456927629682,
-0.052358555744981848,
0,
0,
0,
0,
0
],
"type" : "DISTORT_DPOLY3"
},
"distortion_blue" : {
"center_x" : 0.093863636365812103,
"center_y" : -0.0087954906134404647,
"coeffs" : [
-0.26031866144423232,
0.033282405672593697,
-0.079332848159936117,
0,
0,
0,
0,
0
],
"type" : "DISTORT_DPOLY3"
},
"distortion_red" : {
"center_x" : 0.093863636365812103,
"center_y" : -0.0087954906134404647,
"coeffs" : [
-0.19720080687143871,
-0.059262613832282797,
-0.0265176322504952,
0,
0,
0,
0,
0
],
"type" : "DISTORT_DPOLY3"
},
"extrinsics" : [
[ 1, 0, 0, 0.031097341328859329 ],
[ 0, 1, 0, -2.2351741790771481e-08 ],
[ 0, 0, 1, -7.4505805969238281e-09 ]
],
"grow_for_undistort" : 0.60000002384185791,
"intrinsics" : [
[ 1.2152842283248899, 0, -0.093863636255264282 ],
[ 0, 1.093896150588989, -0.0079159419983625412 ],
[ 0, 0, -1 ]
],
"seconds_from_photons_to_vblank" : 0.010999999999999999,
"seconds_from_vsync_to_photons" : 0.00040000000000000002,
"undistort_r2_cutoff" : 1.1338455677032471
},
{
"distortion" : {
"center_x" : -0.090394155794629158,
"center_y" : -0.0049530324899826113,
"coeffs" : [
-0.23289672521827029,
-0.0058532460963271662,
-0.05509998335463849,
0,
0,
0,
0,
0
],
"type" : "DISTORT_DPOLY3"
},
"distortion_blue" : {
"center_x" : -0.090394155794629158,
"center_y" : -0.0049530324899826113,
"coeffs" : [
-0.28227069675677302,
0.075252467258537181,
-0.1009098217439697,
0,
0,
0,
0,
0
],
"type" : "DISTORT_DPOLY3"
},
"distortion_red" : {
"center_x" : -0.090394155794629158,
"center_y" : -0.0049530324899826113,
"coeffs" : [
-0.1982532540450786,
-0.058966884363772273,
-0.026582546128755349,
0,
0,
0,
0,
0
],
"type" : "DISTORT_DPOLY3"
},
"extrinsics" : [
[ 1, 0, 0, -0.03109737858176231 ],
[ 0, 1, 0, -2.2351741790771481e-08 ],
[ 0, 0, 1, -7.4505805969238281e-09 ]
],
"grow_for_undistort" : 0.60000002384185791,
"intrinsics" : [
[ 1.2101510763168339, 0, 0.090394154191017151 ],
[ 0, 1.0898704528808589, -0.0044577294029295436 ],
[ 0, 0, -1 ]
],
"undistort_r2_cutoff" : 1.133986353874207
}
],
"trackref_from_head" : [ 0.032500000000000001, 0.00158, -0.067559999999999995, 0, 1, 0, 0 ],
"trackref_from_imu" : [ 0, 0, 0, 1, 0, 0, 0 ],
"type" : "vive_cosmos"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment