1.8 KiB
1.8 KiB
CHANGELOG - apigo.cc/go/vision
v1.0.3 (2026-05-13)
- 性能优化:优化
Load函数,移除冗余的字符串转换,直接使用bytes.Reader进行图像解码。 - 基准测试:新增
BenchmarkWarpPerspective、BenchmarkPHash和BenchmarkExtractPalette性能测试。 - 防御性编程:在
Load函数中增加路径非空检查,提升健壮性。 - 文档更新:在
TEST.md中同步性能基准指标。
v1.0.2 (2026-05-12)
- 文档增强:重构
README.md,增加透视变换、动画合成、验证码生成等深度示例。 - 发布测试指南:新增
TEST.md明确测试覆盖范围与验证流程。 - API 完善:在
Canvas中新增Invert滤镜支持。
v1.0.1 (2026-05-12)
- 基础设施对齐:全面移除原生
os和strconv依赖,强制对齐@go核心设施。 - 内存优化:使用
go/file支持内存中的图像处理与序列化。
v1.0.0 (2026-05-12)
- Initial Release: Complete migration and evolution from
@gojs/img. - Professional Refactoring: Removed all internal logging, switched to a pure error-driven architecture.
- Intelligence Suite:
- Added QR & Barcode recognition (decoding) via
gozxing. - Added Perceptual Hashing (PHash) for image similarity comparison.
- Added Color Palette Extraction and dominant color analysis.
- Added QR & Barcode recognition (decoding) via
- Industrial Media:
- Implemented FFmpeg Orchestration for real video frame extraction and synthesis.
- Built-in Frictionless Setup for automatic FFmpeg environment discovery.
- Enhanced Animation Engine for high-quality GIF generation.
- Advanced Transformations: Added 4-point Perspective Warping (WarpPerspective) with bilinear interpolation.
- Modern Text: Support for fallback fonts and complex layout.