Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore files with known annotation extension when loading images #104

Conversation

mfl28
Copy link
Owner

@mfl28 mfl28 commented Nov 11, 2023

  • Ignores files with known annotation extension (.txt, .data, .xml, .json) when loading images from a folder. The program will no longer show "Invalid image file." errors if files with these extensions are present in an image folder.
  • Adds and updates test files.

Closes #67.

@mfl28 mfl28 self-assigned this Nov 11, 2023
Copy link

codecov bot commented Nov 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ea7d111) 86.32% compared to head (6a9f3f3) 86.36%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #104      +/-   ##
============================================
+ Coverage     86.32%   86.36%   +0.04%     
- Complexity     1477     1478       +1     
============================================
  Files            95       95              
  Lines          5915     5920       +5     
  Branches        529      530       +1     
============================================
+ Hits           5106     5113       +7     
+ Misses          536      535       -1     
+ Partials        273      272       -1     
Files Coverage Δ
...model/io/services/ImageMetaDataLoadingService.java 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mfl28 mfl28 enabled auto-merge (squash) November 11, 2023 10:05
Copy link

sonarcloud bot commented Nov 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@mfl28 mfl28 merged commit 6ddbe9b into master Nov 11, 2023
10 checks passed
@mfl28 mfl28 deleted the feature/ignore-files-with-known-annotation-file-extensions-when-importing-images branch November 11, 2023 10:17
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.

Requires separate labels/images folders for loading YOLO annotation files
1 participant