WPI Image Test Mode (#81)

* Add camera config for calibration to test mode

* Add 3D capabilities to test mode

* Add resources to main for jar testmode

* Refactor path utilities for test mode

* Apply spotless
This commit is contained in:
Banks T
2020-08-08 14:21:38 -04:00
committed by GitHub
parent 61ab1b2bd2
commit ff58381056
15 changed files with 212 additions and 102 deletions

View File

@@ -0,0 +1,34 @@
{
"resolution": {
"width": 320.0,
"height": 240.0
},
"cameraIntrinsics": {
"rows": 3,
"cols": 3,
"type": 6,
"data": [
353.74653217742724,
0.0,
163.55407989211918,
0.0,
340.77624878700817,
119.8945718300403,
0.0,
0.0,
1.0
]
},
"cameraExtrinsics": {
"rows": 1,
"cols": 5,
"type": 6,
"data": [
0.10322037759535845,
-0.2890556437050186,
0.00406400648501475,
2.5573586808275763E-4,
-1.462385758978924
]
}
}

View File

@@ -0,0 +1,34 @@
{
"resolution": {
"width": 640.0,
"height": 480.0
},
"cameraIntrinsics": {
"rows": 3,
"cols": 3,
"type": 6,
"data": [
699.3778103158814,
0.0,
345.6059345433618,
0.0,
677.7161226393544,
207.12741326228522,
0.0,
0.0,
1.0
]
},
"cameraExtrinsics": {
"rows": 1,
"cols": 5,
"type": 6,
"data": [
0.14382207979312617,
-0.9851192814987014,
-0.018168751047242335,
0.011034504043795105,
1.9833437176538498
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB