NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #2608 most downloaded on pub.dev
OpenCV4 bindings for Flutter, using dart:ffi.
Latest stable
2.2.2
Last release 3 months ago
16 Aug 2026
Release timing varies
gaps range from 8 days to 6 months
Nearly every release is documented
notes for 53 of 54 stable releases
17 versions withdrawn
withdrawn after publishing
3 years old
89 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
fix: iOS build fails - OpenCL/cl.h not found due to FORCE in cmake options by @abdelaziz-mahdy in https://github.com/rainyl/opencv_dart/pull/421
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v2.2.1...v2.2.2
LineSegmentDetector support (imgproc module)native_toolchain_cmake to 0.3.1hooks to 2.1.0Your coding agent can read these notes before it upgrades. Set up the MCP server →
* add Mat.reinterpret, fisheye.solvePnPRansac, StereoBM by @rainyl in https://github.com/rainyl/opencv_dart/pull/374
Mat.reinterpret, fisheye.solvePnPRansac, StereoBM by @rainyl in https://github.com/rainyl/opencv_dart/pull/3742.x to main, support stable hooks by @rainyl in https://github.com/rainyl/opencv_dart/pull/397Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.4.3...v2.2.1+1
fix: Explicitly disable building unused modules to reduce build time.
fix: opencv-contrib modules are not correctly built when changing include modules.
fix: aruco module is not correctly built when changing include modules.
Breaking change: default included models: calib3d,features2d,imgcodecs,imgproc,objdetect,photo,stitching, default excluded modules:contrib,freetype,hi…
stackBlur function in imgproc module.calib3d,features2d,imgcodecs,imgproc,objdetect,photo,stitching, default excluded modules:contrib,freetype,highgui,video,videoio,dnn.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[features2d] add more functions/constructions
UMatcv.freetype modulefix DART_EXECUTABLE lookup logic in CMakeLists by @rainyl in https://github.com/rainyl/opencv_dart/pull/367
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.4.2...v1.4.3
FlannIndexParams, FlannSearchParams, FlannKDTreeIndexParamsFlannBasedMatcher.createffmpeg-config.cmake, https://github.com/rainyl/opencv_dart/issues/293fix DART_EXECUTABLE lookup logic in CMakeLists by @rainyl in https://github.com/rainyl/opencv_dart/pull/367
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.4.2...v1.4.2+1
remove ndkVersion from opencv_core and opencv_dart android/build.gradle by @rainyl in https://github.com/rainyl/opencv_dart/pull/340
externalSize option when attaching to help auto disposing by @rainyl in https://github.com/rainyl/opencv_dart/pull/342Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.4.1...v1.4.2
pubspec.yaml, from this version, both opencv_core and
opencv_dart can enable/disable optional modules.approxPolyN.arcLength2f, etc.) to imgproc module, https://github.com/rainyl/opencv_dart/pull/364hierarchy of drawContours now change from Mat to VecVec4i type.Add async version of VideoCapture.grab() by @Gold872 in https://github.com/rainyl/opencv_dart/pull/329
try finally for Mat.fromList by @rainyl in https://github.com/rainyl/opencv_dart/pull/336Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.4.0...v1.4.1
VideoCapture.grabAsyncMat.fromBuffer to allow creating Mat from self-managed buffercopyData parameter to Mat.fromVecMat.fromPtr, merge it to Mat.fromMatMat.atU8, Mat.setU8, etc.Mat.copyToWithMask, List<Mat>.asVecMat()make file auto clone by @abdelaziz-mahdy in https://github.com/rainyl/opencv_dart/pull/300
calib3d functions by @rainyl in https://github.com/rainyl/opencv_dart/pull/324dartcv4 fixed (without ^) in opencv_core and … by @rainyl in https://github.com/rainyl/opencv_dart/pull/325Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.3.3...v1.4.0
VideoWriter.get() and VideoWriter.set()cv.LUT()VecVecChar unmodifiblecalib3ddartcv4 fixedfix example link in readme by @rainyl in https://github.com/rainyl/opencv_dart/pull/290
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.3.2...v1.3.3
minEnclosingCircleglob_recffmpeg-config.cmakebump DartCvIOS and DartCvMacOS to 4.10.0.4 by @rainyl in https://github.com/rainyl/opencv_dart/pull/281
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.3.1...v1.3.2
-Wl,-ld_classic for ios and macosNothing published for this version
adding size comparison by @abdelaziz-mahdy in https://github.com/rainyl/opencv_dart/pull/277
-ld_classic for ios and macos by @rainyl in https://github.com/rainyl/opencv_dart/pull/280Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.3.0...v1.3.1
highgui-ld_classicbreaking change: local build. Will download opencv sdk (~100M) from remote, set DARTCV_CACHE_DIR to cache it and avoid downloading in every build.
DARTCV_CACHE_DIR to cache it and avoid downloading in every build.dartcv4cv.Mat.fromMatFull Changelog: https://github.com/rainyl/opencv_dart/compare/v1.2.5...v1.3.0
Nothing published for this version
Nothing published for this version
add quality module by @rainyl in https://github.com/rainyl/opencv_dart/pull/239
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.2.4...v1.2.5
change Mat.toString() by @rainyl in https://github.com/rainyl/opencv_dart/pull/233
cv.floodFill, move findHomography to calib3d by @rainyl in https://github.com/rainyl/opencv_dart/pull/236Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.2.3...v1.2.4
Mat.toString() to return something like Mat(addr=0x1dde02c74b0, type=CV_8UC4, rows=-1, cols=-1, channels=4) by @rainyl in https://github.com/rainyl/opencv_dart/pull/233conan to cmake by @rainyl in https://github.com/rainyl/opencv_dart/pull/234cv.floodFill and cv.floodFillAsync by @rainyl in https://github.com/rainyl/opencv_dart/pull/236findHomography to calib3d by @rainyl in https://github.com/rainyl/opencv_dart/pull/236fix without declaring an explicit or implicit dependency #225 by @einsitang in https://github.com/rainyl/opencv_dart/pull/226
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.2.2...v1.2.3
remove arm64 and x64 setup options for ios by @rainyl in https://github.com/rainyl/opencv_dart/pull/202
setRange for Vec, optimize operator [] by @rainyl in https://github.com/rainyl/opencv_dart/pull/215Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.2.1...v1.2.2
setRange for Vec, optimize operator [] by @rainyl in https://github.com/rainyl/opencv_dart/pull/215asVec() to List extensions for better Vec and List interop by @rainyl in https://github.com/rainyl/opencv_dart/pull/222use ndk from conan by @rainyl in https://github.com/rainyl/opencv_dart/pull/187
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.2.0...v1.2.1
deprecate copyToWithMask, use copyTo(Mat img, {Mat? mask}) instead by @rainyl in https://github.com/rainyl/opencv_dart/pull/157
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.1.0...v1.2.0
Fix: download wrong binaries on windows and linux, other platforms are not affected.
windows and linux, other platforms are not affected.fix setup by @rainyl in https://github.com/rainyl/opencv_dart/pull/108
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.0.10...v1.1.0
Async support asynchronous call.Rng.uniform,gaussian,next returns a Stream now, #135xdata of Mat, Make Mat.fromList copy data internally to avoid extra data management, now it will copy the input data 2 timesclass MatType -> extension type const MatType(int value)equatableximgproc and xobjdetect modules.(int, int).toSize(Arena arena) -> (int, int).asSize(int, int).toPoint(Arena arena) -> (int, int).asPoint(double, double, double, double).toScalar(Arena arena) -> (double, double, double, double).asScalarMat.fromRangePoint3i, VecPoint3iBlockMeanHash.compareS, BlockMeanHash.computeSFaceRecognizerSF.newRecognizerfix setup by @rainyl in https://github.com/rainyl/opencv_dart/pull/108
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.0.10...v1.1.0-dev.1
Fix: setup commands error on linux
fix Memory leak #102 by @rainyl in https://github.com/rainyl/opencv_dart/pull/105
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.0.9...v1.0.10
Call ptr->reset() before CVD_FREE by @rainyl in https://github.com/rainyl/opencv_dart/pull/98
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.0.8...v1.0.9
Deprecated: FaceRecognizerSF.newRecognizer FaceRecognizerSF.DIS_TYPR_FR_COSINE FaceRecognizerSF.DIS_TYPE_FR_NORM_L2
FaceRecognizerSF.feature(Mat alignedImg) -> FaceRecognizerSF.feature(Mat alignedImg, {bool clone = false})FaceRecognizerSF.newRecognizer FaceRecognizerSF.DIS_TYPR_FR_COSINE FaceRecognizerSF.DIS_TYPE_FR_NORM_L2Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.0.7...v1.0.8
setup in platform specific build scripts by @rainyl in https://github.com/rainyl/opencv_dart/pull/87
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.0.6...v1.0.7
- Fix: auto setup
free cExt before exception by @rainyl in https://github.com/rainyl/opencv_dart/pull/73
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.0.5...v1.0.6
Fix: free cExt before exception in cv.imencode
OPENCV_DART_DISABLE_AUTO_BUILD to disable auto setup and run
setup commands as before, read more in READMEAuto setup by @abdelaziz-mahdy in https://github.com/rainyl/opencv_dart/pull/66
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.0.4...v1.0.5
dispose() methods to allow manual free native resourcesFix: Stitcher.composePanorama by @rainyl in https://github.com/rainyl/opencv_dart/pull/49
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.0.3...v1.0.4
- fix: Stitcher.composePanorama
fix: change the default border type of pyrDown/pyrUp to BORDER_DEFAULT, same as opencv
Fix extractArchiveToDisk by @rainyl in https://github.com/rainyl/opencv_dart/pull/42
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.0.2...v1.0.3
Fix: setup script will exit before files are really written to disk
Fix: update archive version to 3.5.1
API change: meanStdDev, add stddev() and variance() for Mat by @rainyl in https://github.com/rainyl/opencv_dart/pull/37
Full Changelog: https://github.com/rainyl/opencv_dart/compare/v1.0.1...v1.0.2
One column per month.