whitecodel_image_compare 1.1.0
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). SetoffloadVisualWork: falseto reproduce legacy UI-isolate blocking (lab only). - Batch API:
compareQueriesWithOptionsreturns fullCompareScores?per query (null when decode fails). - Batch chunking:
maxQueriesPerBatchsplits large query lists into multiple visual isolate trips (default unlimited;ImageCompareOptions.productionuses5). - Merge helper:
mergeCompareWithOcrexported 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
compileSdkwith the documented baseline (35). - Rename GitHub repository to
whitecodel_image_compareand 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.