Skip to content

Conversation

@kkeroo
Copy link
Contributor

@kkeroo kkeroo commented Oct 30, 2025

Purpose

Previously, we were iterating over all files in the directory including hidden files (e.g. .DS_Store file that MacOS attaches), this breaks the image loading with LuxonisLoader because cv2 can not read such files.

Specification

Replaces direct directory iteration with the _list_images method in ClassificationDirectoryParser. This ensures consistent image file filtering and handling.

Dependencies & Potential Impact

None / not applicable

Deployment Plan

None / not applicable

Testing & Validation

None / not applicable

Replaces direct directory iteration with the _list_images method in ClassificationDirectoryParser. This ensures consistent image file filtering and handling.
@kkeroo kkeroo requested a review from a team as a code owner October 30, 2025 10:38
@kkeroo kkeroo requested review from conorsim, klemen1999, kozlov721 and tersekmatija and removed request for a team October 30, 2025 10:38
@github-actions github-actions bot added the enhancement New feature or request label Oct 30, 2025
@klemen1999 klemen1999 merged commit 56a8d91 into main Nov 3, 2025
13 checks passed
@klemen1999 klemen1999 deleted the feat/robust-clsdir-parser branch November 3, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants