diff --git a/public/config.json b/public/config.json index 9d3ac9e..be9d0e7 100644 --- a/public/config.json +++ b/public/config.json @@ -1,5 +1,57 @@ { "streamUrl": "/camera/mjpg/video.mjpg", - "calibration": null, + "calibration": { + "imagePoints": [ + [0.32, 0.008], + [0.270625, 0.148], + [0.18625, 0.407], + [0.054375, 0.94], + [0.335, 0.985], + [0.386875, 0.405], + [0.415, 0.139], + [0.4325, 0.003], + [0.5475, 0.004], + [0.564375, 0.14], + [0.599375, 0.402], + [0.66, 0.983], + [0.9325, 0.934], + [0.795625, 0.409], + [0.70875, 0.152], + [0.659375, 0.012] + ], + "machinePoints": [ + [0, 0], + [813, 0], + [1627, 0], + [2440, 0], + [2440, 407], + [1627, 407], + [813, 407], + [0, 407], + [0, 813], + [813, 813], + [1627, 813], + [2440, 813], + [2440, 1220], + [1627, 1220], + [813, 1220], + [0, 1220] + ], + "warp": { + "degree": 3, + "fwd": { + "degree": 3, + "norm": { "off": [1220, 610], "scl": [1220, 610] }, + "cu": [0.4916589862503593, 0.2758659902693047, -0.0018449476187028, -0.02032255460450818, 0.004859236901101979, 0.13625893267063538, -0.0022665806590949932, 0.0020218988683432418, 0.04963867498062854, -0.000787937941642279], + "cv": [0.25313649750772016, -0.00025050078886104877, -0.007168939318385788, 0.0018294540402956114, 0.39604341555215955, -0.0024526061715470907, -0.0280815981864955, 0.2344699418106655, -0.001941797394678399, 0.09642736147667988] + }, + "inv": { + "degree": 3, + "norm": { "off": [0.49175781250000006, 0.3794375], "scl": [0.44074218749999994, 0.6055625] }, + "cu": [1595.067849364473, 1201.8433835688306, -1511.7347963602958, 1134.6645059378868, -2.1776482090078924, 38.42293088795207, -29.921899044989736, -77.8750392352689, 233.45145465238141, -1.7003864279722627], + "cv": [607.271187955555, -24.574212485262944, -2.759579340638824, 21.68502947261099, 866.46258912015, -805.3246307807036, 473.95759205054463, 13.26669467100521, -5.487889416369862, 87.5892580379398] + } + } + }, "renderDefaults": { "cutColor": "#00ffff", "rapidColor": "#ff7700", "lineWidth": 3 } }