xvision 0.0.2 copy "xvision: ^0.0.2" to clipboard
xvision: ^0.0.2 copied to clipboard

A pure Dart computer vision and image processing library for real-time pixel manipulation, convolutions, and ML pre-processing.

0.0.2 #

  • Significant performance gains across all 47 image processors, filters, and codecs using direct byte buffer indexing.
  • Replaced binary tree Huffman decoders with fast $O(1)$ lookup tables (LUTs) in inflate.dart and jpeg_codec.dart.
  • Optimized YCbCr and DCT/IDCT conversions in jpeg_codec.dart using fixed-point math and separable 1D row-column operations.
  • Upgraded PNG encoder to write true DEFLATE compressed bytes with adaptive scanline filtering (None, Sub, Up) using SAD selection heuristics.
  • Added XVParallelProcessor to run heavy workloads in parallel across multi-core isolates.
  • Added zero-allocation destination parameters (destImage, destTensor) and *To extension methods for zero-GC camera frame pipelines.
  • Optimized zero-copy region of interest (ROI) operations on XVImageView using block setRange() operations.
  • Added direct image metric extensions (brightness, contrast, sharpness), fast computeHistogram(), and byte decoders.

0.0.1 #

  • Initial release of xvision - pure Dart computer vision and image processing package.
  • Added core image operations: color conversions, adjustments, drawing primitives, geometric transforms, thresholding, and morphology.
  • Added spatial filters, edge detection (Sobel, Laplacian, Canny), and histogram equalization (CLAHE).
  • Added built-in PNG/JPEG codecs, zero-copy ROI views (XVImageView), and XVBufferPool recycler.
  • Added ML pre-processing utilities including letterboxing, NCHW/NHWC layout transposition, and Float32/Uint8 tensor conversions.
1
likes
160
points
160
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A pure Dart computer vision and image processing library for real-time pixel manipulation, convolutions, and ML pre-processing.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

equatable

More

Packages that depend on xvision