{
  "paths": {
    "data_dir": "DataG1",
    "raw_pose_dir": "RawPose",
    "default_home_pose": "DataG1/arm_home.jsonl",
    "joint_config": "joint.json",
    "pose_mapping_config": "pose_mapping.json",
    "default_model_candidates": [
      "Models/yolo11n-pose.pt",
      "yolo11n-pose.pt",
      "/home/zedx/Robotics_workspace/AI/YOLO/yolo11n-pose.pt"
    ],
    "model_fallback": "yolo11n-pose.pt"
  },
  "runtime": {
    "window_name": "G1 Camera Recorder",
    "camera_backend": "CAP_V4L2",
    "camera_probe_attempts": 3,
    "camera_fps_threshold": 1.0,
    "track_history_maxlen": 25,
    "selected_track_history_key": "selected",
    "display_env_var": "DISPLAY",
    "dependency_messages": {
      "opencv_missing": "OpenCV is not installed for this python. Install it or run the script in the same environment you use for /home/zedx/Robotics_workspace/AI/YOLO/YOLO_Test_3.py.",
      "ultralytics_missing": "ultralytics is not installed for this python. Install it or run the script in the same environment you use for /home/zedx/Robotics_workspace/AI/YOLO/YOLO_Test_3.py."
    }
  },
  "defaults": {
    "source": "ask",
    "camera_scan_max": 10,
    "output": "test_take",
    "seconds": 0.0,
    "record_hz": 20.0,
    "conf": 0.25,
    "kpt_conf": 0.35,
    "imgsz": 640,
    "smoothing": 0.35,
    "window_width": 1100,
    "window_height": 700,
    "show": true,
    "no_prompt": false
  },
  "replay_defaults": {
    "iface": "enp3s0",
    "input": "test_take.jsonl",
    "home": "arm_home.jsonl",
    "speed": 0.35,
    "max_arm_delta": 0.18,
    "gap_warn_seconds": 0.35,
    "abort_gap_seconds": 0.0,
    "allow_track_switch": false,
    "start_steps": 60,
    "home_steps": 180,
    "no_prompt": false
  },
  "output": {
    "dataset_suffix": ".jsonl",
    "raw_pose_suffix": ".pose.jsonl",
    "dataset_meta_format": "g1_camera_pose_v1",
    "raw_meta_format": "g1_camera_pose_raw_v1",
    "dataset_notes": "Lower body fixed to home pose; upper body derived heuristically from 2D YOLO keypoints."
  },
  "selection": {
    "area_confidence_bias": 0.6
  },
  "pose_ui": {
    "joint_names": {
      "5": "L_shoulder",
      "6": "R_shoulder",
      "7": "L_elbow",
      "8": "R_elbow",
      "9": "L_wrist",
      "10": "R_wrist",
      "11": "L_hip",
      "12": "R_hip",
      "13": "L_knee",
      "14": "R_knee",
      "15": "L_ankle",
      "16": "R_ankle"
    },
    "skeleton_edges": [
      [5, 7],
      [7, 9],
      [6, 8],
      [8, 10],
      [5, 6],
      [5, 11],
      [6, 12],
      [11, 12],
      [11, 13],
      [13, 15],
      [12, 14],
      [14, 16]
    ]
  }
}
