Skip to content

v0.4.0

Choose a tag to compare

@jaffe-fly jaffe-fly released this 26 Nov 10:10
· 2 commits to main since this release

Release v0.4.0
Add crop command and enhance dataset synthesis
New Features:

  • Add crop command for extracting objects from images

    • Model mode: use YOLO inference to detect and crop objects
    • Dataset mode: use label files to crop from dataset
    • Support class filtering, padding, and size filters
    • New file: ydt/image/crop.py
  • Enhance dataset synthesis with balanced sampling

    • Add --balanced-sampling for even class distribution
    • Auto-detect class inference mode (folder/filename)
    • Use mask contours for accurate OBB polygons
    • Improve annotation transformation logic

Full Changelog: v0.3.0...v0.4.0