Skip to content

Conversation

@dtronmans
Copy link
Contributor

Purpose

To separate different parts of the exporter to allow the functionality to be extended to different export types like COCO. Preparing the LDF is separated and common to all exporters, then each exporter defines a transform method. Each exporter inherits from BaseExporter, in a similar way that each parser inherits from BaseParser.

I also implemented the COCO parser separately with this structure, this will be added after this exporter structure is accepted.

Specification

The separation of concerns just makes the export function more extensible, and for now is only applied to the Native dataset type.

Dependencies & Potential Impact

Deployment Plan

Testing & Validation

The tests/test_data/test_export.py has already-existing tests for the export function that parse, export then parse again. This will be extended to test the COCO exporter once it is implemented in the same Parse -> Export -> Parse structure.

@dtronmans dtronmans self-assigned this Nov 4, 2025
@dtronmans dtronmans requested a review from a team as a code owner November 4, 2025 18:10
@dtronmans dtronmans requested review from conorsim, klemen1999, kozlov721 and tersekmatija and removed request for a team November 4, 2025 18:10
@dtronmans dtronmans added the data Changes affecting luxonis_ml.data subpackage label Nov 4, 2025
@github-actions github-actions bot added the enhancement New feature or request label Nov 4, 2025
@dtronmans dtronmans closed this Nov 5, 2025
Copy link
Collaborator

@kozlov721 kozlov721 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

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

Labels

data Changes affecting luxonis_ml.data subpackage enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants