summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-easy/settings.h')
-rw-r--r--tracker-easy/settings.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/tracker-easy/settings.h b/tracker-easy/settings.h
index b4c14967..b0f14417 100644
--- a/tracker-easy/settings.h
+++ b/tracker-easy/settings.h
@@ -23,30 +23,30 @@ namespace EasyTracker {
value<int> cam_res_x{ b, "camera-res-width", 640 },
cam_res_y{ b, "camera-res-height", 480 },
cam_fps{ b, "camera-fps", 30 };
- value<double> min_point_size{ b, "min-point-size", 2.5 },
- max_point_size{ b, "max-point-size", 50 };
+ value<int> iMinBlobSize{ b, "iMinBlobSize", 4 }, iMaxBlobSize{ b, "iMaxBlobSize", 15 };
value<int> DeadzoneRectHalfEdgeSize { b, "deadzone-rect-half-edge-size", 1 };
- value<int> m01_x{ b, "m_01-x", 0 }, m01_y{ b, "m_01-y", 0 }, m01_z{ b, "m_01-z", 0 };
- value<int> m02_x{ b, "m_02-x", 0 }, m02_y{ b, "m_02-y", 0 }, m02_z{ b, "m_02-z", 0 };
+ // Type of custom model
+ value<bool> iCustomModelThree{ b, "iCustomModelThree", true };
+ value<bool> iCustomModelFour{ b, "iCustomModelFour", false };
+ value<bool> iCustomModelFive{ b, "iCustomModelFive", false };
- value<int> t_MH_x{ b, "model-centroid-x", 0 },
- t_MH_y{ b, "model-centroid-y", 0 },
- t_MH_z{ b, "model-centroid-z", 0 };
+ // Custom model vertices
+ value<int> iVertexTopX{ b, "iVertexTopX", 0 }, iVertexTopY{ b, "iVertexTopY", 0 }, iVertexTopZ{ b, "iVertexTopZ", 0 };
+ value<int> iVertexRightX{ b, "iVertexRightX", 0 }, iVertexRightY{ b, "iVertexRightY", 0 }, iVertexRightZ{ b, "iVertexRightZ", 0 };
+ value<int> iVertexLeftX{ b, "iVertexLeftX", 0 }, iVertexLeftY{ b, "iVertexLeftY", 0 }, iVertexLeftZ{ b, "iVertexLeftZ", 0 };
+ value<int> iVertexCenterX{ b, "iVertexCenterX", 0 }, iVertexCenterY{ b, "iVertexCenterY", 0 }, iVertexCenterZ{ b, "iVertexCenterZ", 0 };
+ value<int> iVertexTopRightX{ b, "iVertexTopRightX", 0 }, iVertexTopRightY{ b, "iVertexTopRightY", 0 }, iVertexTopRightZ{ b, "iVertexTopRightZ", 0 };
+ value<int> iVertexTopLeftX{ b, "iVertexTopLeftX", 0 }, iVertexTopLeftY{ b, "iVertexTopLeftY", 0 }, iVertexTopLeftZ{ b, "iVertexTopLeftZ", 0 };
- value<int> clip_ty{ b, "clip-ty", 40 },
- clip_tz{ b, "clip-tz", 30 },
- clip_by{ b, "clip-by", 70 },
- clip_bz{ b, "clip-bz", 80 };
- value<int> active_model_panel{ b, "active-model-panel", 0 },
- cap_x{ b, "cap-x", 35 },
- cap_y{ b, "cap-y", 55 },
- cap_z{ b, "cap-z", 100 };
value<int> fov{ b, "camera-fov", 56 };
value<bool> debug{ b, "debug", false };
+ value<bool> iAutoCenter{ b, "iAutoCenter", true };
+ value<int> iAutoCenterTimeout{ b, "iAutoCenterTimeout", 1000 };
+
value<int> PnpSolver{ b, "pnp-solver", cv::SOLVEPNP_P3P };