The PostProcessing folder contains scripts for refining and analyzing data captured during robotic experiments. These scripts process raw or intermediate data to ensure quality, consistency, and readiness for model training or further analysis.
- Purpose: Filters frames from captured data based on significant changes in joint angles.
- Key Features:
- Detects and selects frames where changes in joint angles exceed a predefined threshold.
- Saves filtered frames and corresponding depth data for further processing.
- Output: A filtered dataset and image files.
- Purpose: Detects objects in experimental images using YOLOWorld object detection.
- Key Features:
- Identifies predefined objects (e.g., "red ball", "green box") in each frame.
- Annotates datasets with the detected object's position (
origin_x,origin_y,goal_x,goal_y).
- Output: Updated datasets with object positions.
- Purpose: Interpolates missing or inconsistent values in the dataset.
- Key Features:
- Fills gaps in the
origin_x,origin_y,goal_x, andgoal_ycolumns using linear interpolation. - Ensures smooth data continuity for downstream tasks.
- Fills gaps in the
- Output: A cleaned and interpolated dataset.
- Purpose: Adds depth (
z) information to detected objects. - Key Features:
- Processes depth data to compute
origin_zandgoal_zvalues. - Combines 2D positional data with depth for 3D representation.
- Processes depth data to compute
- Output: Datasets with added
origin_zandgoal_zcolumns.
- Purpose: Labels data with the
is_graspedstatus. - Key Features:
- Detects when the robotic arm grasps an object based on deviation from baseline positions.
- Adds a binary column
is_graspedto the dataset for training models.
- Output: Datasets annotated with grasping status.