Skip to content

Releases: umitkacar/Ear-segmentation-ai

v2.0.0

10 Jun 12:26
Compare
Choose a tag to compare

Release v2.0.0

🎉 Major Release - Complete Architecture Overhaul

This is a complete rewrite of Ear Segmentation AI with modern architecture, better performance, and enhanced features while maintaining backward compatibility.

What's Changed

🏗️ Architecture & Structure

  • refactor: Complete project restructure with src/ layout by @umitkacar in #160
  • refactor: Modular architecture with clear separation of concerns by @umitkacar in #160
  • refactor: Migrated from monolithic to plugin-based design by @umitkacar in #160

✨ New Features

  • feat: New ImageProcessor API with batch processing support by @umitkacar in #160
  • feat: New VideoProcessor API with temporal smoothing by @umitkacar in #160
  • feat: Modern CLI using Typer with rich output by @umitkacar in #160
  • feat: Pydantic v2 configuration management by @umitkacar in #160
  • feat: Benchmark command for performance testing by @umitkacar in #160
  • feat: URL processing support for images by @umitkacar in #160
  • feat: Frame skipping for video performance optimization by @umitkacar in #160

🔧 Improvements

  • perf: 2-3x faster batch processing with optimized pipeline by @umitkacar in #160
  • perf: Reduced memory usage with singleton model management by @umitkacar in #160
  • fix: Fixed image mode bug - now supports both files and directories by @umitkacar in #160
  • fix: Fixed memory leaks in video processing by @umitkacar in #160
  • fix: Improved error messages and validation by @umitkacar in #160

📚 Documentation

🧪 Testing & Quality

  • test: Comprehensive test suite with 100% passing rate (134 tests) by @umitkacar in #160
  • test: Unit and integration tests with pytest by @umitkacar in #160
  • ci: Updated GitHub Actions workflows by @umitkacar in #160
  • style: Applied black formatting to entire codebase by @umitkacar in #160

🔄 Backward Compatibility

  • compat: Full v1.x API compatibility with deprecation warnings by @umitkacar in #160
  • compat: Legacy CLI commands still supported by @umitkacar in #160

🛠️ Development

Breaking Changes

While we maintain backward compatibility, the internal structure has completely changed:

  • Source code moved from earsegmentationai/ to src/earsegmentationai/
  • Configuration now uses Pydantic v2
  • Some internal APIs have changed (see migration guide)

Migration Guide

See Migration Guide for detailed instructions on upgrading from v1.x.

Installation

pip install --upgrade earsegmentationai==2.0.0

Quick Example

from earsegmentationai import ImageProcessor

# Process an image
processor = ImageProcessor(device="cuda:0")
result = processor.process("image.jpg")
print(f"Ear detected: {result.num_ears > 0}")
print(f"Confidence: {result.confidence:.2f}")

Contributors

Thanks to @umitkacar for this major refactor!

Full Changelog: v1.0.2...v2.0.0

v1.0.2

01 Jan 06:33
2375f25
Compare
Choose a tag to compare

What's Changed

  • fix: cli tool fix for quick usage
  • ci: release_to_pypi gh action

Full Changelog: v1.0.1...v1.0.2

v1.0.1

31 Dec 20:10
9d1db0f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

28 Dec 20:33
74a06c1
Compare
Choose a tag to compare

What's Changed

  • feat: code overhaul image and webcam files and new files with bug fix for imgviz by @onuralpszr in #3
  • dev: poetry install method, github action for commit lint, pre-commit added. by @onuralpszr in #4

feat: cli tool arrived / pytorch upgrade to latest version
feat: pytorch upgraded to latest
feat: cuda or cpu mode added
feat: new model added for latest pytorch and segmentation_models.pytorch
doc: new model Google drive URL added.
doc: cli tool params added
dev: python 3.10 support added
dev: files move to earsegmentationai folder for clean structure
dev: poetry packages are updated
dev: requirements.txt updated
dev: poetry and toml files added
dev: pre-commit added.
ci: conventional Commits added

New Contributors

Full Changelog: v0.1.0...v1.0.0