Releases: xtmtd/entomokit
Releases · xtmtd/entomokit
v0.2.0
What's Changed
- New
measurecommand: Batch-compute morphology metrics (area, perimeter, body length, body width, Feret diameters, etc.) from segmentation masks. Exportsmetrics.csv,metrics_summary.csv, andmetric_definitions.csv. Includes a caution notice that body length/width are mask-geometry estimates and may be inaccurate when masks include appendages, touch borders, or contain merged/fragmented regions. - ONNX progress bar: Added progress bar for ONNX inference in
classify predictandclassify evaluate. - Segment annotation alignment: Annotation granularity now matches
--segmentation-method: bbox-only methods output bounding-box annotations, while full segmentation methods output both bounding-box and segmentation polygons with mask-area.
Documentation
- Updated English and Chinese README with
measureusage and caution notes. - Updated
entomokit-workflowskill (SKILL.md, workflow.md, command-profiles.md, teaching-playbook.md) to cover the newmeasurecommand and its interpretation guardrails.
v0.1.7
v0.1.7 — Bug Fix Release
Bug Fixes
split-csvclass count CSVs: Fixed a bug where allclass.*.countfiles (train, val, test.known, test.unknown) were being written as single-column CSV files (onlycount, missinglabelcolumn). Root cause:value_counts().to_csv(index=False)silently dropped the label column from the Series index. Fixed by adding a_write_class_count()helper that consistently produceslabel,countcolumns.
v0.1.6
What's Changed
Segmentation Improvements
- Fixed Otsu segmentation: Now evaluates both BINARY and BINARY_INV threshold directions, picks the better candidate to avoid full-image foreground collapse on light backgrounds
- Fixed Otsu color conversion: Corrected RGB→GRAY conversion (was incorrectly using BGR2GRAY on RGB images from PIL)
- Fixed GrabCut scaling: Rescales mask to original image dimensions when internal downscaling was applied for large images
New Features
- Added
otsu-bboxandgrabcut-bboxsegmentation methods for fast RGB crop output (no alpha channel)
Documentation
- Updated README and skill docs with all current segmentation methods:
sam3,sam3-bbox,otsu,otsu-bbox,grabcut,grabcut-bbox
v0.1.5
New Features
AI Assistant Integration (entomokit-workflow skill)
Added a skill for AI assistants (OpenCode, Claude Code, Codex) to guide non-CLI users through the EntomoKit pipeline with conversational workflow orchestration.
Key capabilities:
- Guided workflow through all phases (doctor → clean → split-csv → classify)
- Parameter validation against CLI schema before execution
- CSV teaching and validation
- Error recovery with actionable suggestions
- Demo mode with repository sample data
v0.1.4
New Features
entomokit doctor
Environment diagnostics command to check and report system configuration issues.
entomokit augment
Data augmentation pipeline for image datasets.
Improvements
- Updated README with better documentation and examples
- Added dual deployment guidance (PyPI + skill)
- Solidified skill MVP scope and acceptance gates
- Added skillization design documentation for non-CLI users