Skip to content

Added converter from poses dataset to bounding boxes dataset.#816

Open
GauravSRC wants to merge 2 commits intoneuroinformatics-unit:mainfrom
GauravSRC:feature/poses-to-bboxes-converter
Open

Added converter from poses dataset to bounding boxes dataset.#816
GauravSRC wants to merge 2 commits intoneuroinformatics-unit:mainfrom
GauravSRC:feature/poses-to-bboxes-converter

Conversation

@GauravSRC
Copy link

Feature: Pose → Bounding Box Converter

Hi maintainers;

This PR implements a utility to convert pose (keypoint) datasets into bounding box datasets, as discussed in Issue #17.

Summary

  • Computes per-frame, per-individual bounding boxes from pose keypoints
  • Handles missing/NaN keypoints
  • Supports optional padding
  • Returns an xarray-compatible bounding box dataset
  • Includes a basic unit test

This functionality enables interoperability between pose-based tracking data and bounding box workflows (e.g., visualization, detection, segmentation pipelines).

I’d be very happy to refine the implementation further based on your feedback(as this is my first contribution to the movement repo) --especially regarding dataset schema alignment or integration preferences.

Thank you

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant