whitecodel_image_compare 1.1.0 copy "whitecodel_image_compare: ^1.1.0" to clipboard
whitecodel_image_compare: ^1.1.0 copied to clipboard

Flutter image similarity — combines OpenCV pixel matching, perceptual hashes, and optional OCR into one tuned pipeline with production-ready performance.

1.1.0 #

  • UI performance: decode / resize / OpenCV / hashes run on a worker isolate by default (offloadVisualWork: true). OCR stays on the caller isolate (ML Kit platform channels). Set offloadVisualWork: false to reproduce legacy UI-isolate blocking (lab only).
  • Batch API: compareQueriesWithOptions returns full CompareScores? per query (null when decode fails).
  • Batch chunking: maxQueriesPerBatch splits large query lists into multiple visual isolate trips (default unlimited; ImageCompareOptions.production uses 5).
  • Merge helper: mergeCompareWithOcr exported for custom visual + OCR pipelines.
  • Production preset: ImageCompareOptions.production — 1024 resize, forward OpenCV + reuse, partial OCR, offload + batch cap 5.
  • Example app: UI jank demo (OLD vs NEW spinner) and integration timing benchmarks.

1.0.1 #

  • Align plugin Android compileSdk with the documented baseline (35).
  • Rename GitHub repository to whitecodel_image_compare and update package / podspec links.
  • Update package author email to whitecodel@whitecodel.com.

1.0.0 #

  • Initial pub.dev release.
  • Combined pipeline: OpenCV pixel matching, perceptual / difference / average hashes, optional OCR (Latin).
  • Production presets: maxImageDimension: 1024, forward-only OpenCV, instance reuse.
  • Vendors OpenCV + Google ML Kit OCR (GoogleMLKit 3.2.0) into the plugin (no path/git deps).
  • Android: document AGP 8.11.1+, Kotlin 2.2.20+, NDK 28.2.13676358, APK ABI stripping vs Play App Bundle.
  • iOS: deployment target 13.0+; CocoaPods forwarder for shared C++ FFI; verified device Debug/Release (arm64).
  • iOS note: OpenCV/ML Kit lack arm64 simulator slices (iOS 26+); use a physical device or older x86_64 simulator.
  • SPM: not adopted yet (ML Kit is CocoaPods-only); Flutter falls back to CocoaPods with a warning.
  • Compare Lab example app for side-by-side preset benchmarking.
3
likes
140
points
104
downloads

Documentation

API reference

Publisher

verified publisherwhitecodel.com

Weekly Downloads

Flutter image similarity — combines OpenCV pixel matching, perceptual hashes, and optional OCR into one tuned pipeline with production-ready performance.

Repository (GitHub)
View/report issues

Topics

#image #comparison #opencv #ocr #computer-vision

License

MIT (license)

Dependencies

ffi, flutter, image, image_hash

More

Packages that depend on whitecodel_image_compare

Packages that implement whitecodel_image_compare