NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2819 most downloaded on pub.dev
OpenCV4 bindings for Flutter, using dart:ffi.
Last release 1 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
fix: iOS build fails - OpenCL/cl.h not found due to FORCE in cmake options by @abdelaziz-mahdy in #421
Full Changelog: v2.2.1...v2.2.2
One column per month.
LineSegmentDetector support (imgproc module)native_toolchain_cmake to 0.3.1hooks to 2.1.0add Mat.reinterpret , fisheye.solvePnPRansac , StereoBM by @rainyl in #374
2.x to main, support stable hooks by @rainyl in #397Full Changelog: 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 #367
Full Changelog: 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 #367
Full Changelog: v1.4.2...v1.4.2+1
remove ndkVersion from opencv_core and opencv_dart android/build.gradle by @rainyl in #340
externalSize option when attaching to help auto disposing by @rainyl in #342Full Changelog: 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 #329
try finally for Mat.fromList by @rainyl in #336Full Changelog: 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()Note: highly recommended to upgrade
calib3d functions by @rainyl in #324dartcv4 fixed (without ^) in opencv_core and … by @rainyl in #325Full Changelog: v1.3.3...v1.4.0
VideoWriter.get() and VideoWriter.set()cv.LUT()VecVecChar unmodifiblecalib3ddartcv4 fixed[Android] Support 16KB Page Size
minEnclosingCircleglob_recffmpeg-config.cmakehide highgui from building, cache options
-Wl,-ld_classic for ios and macosNothing published for this version
bump DartCvMacOS and DartCvIOS to 4.10.0.3, conditionally add link option -ld_classic
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.fromMatNothing published for this version
Nothing published for this version
add quality module by @rainyl in https://github.com/rainyl/opencv_dart/pull/239
change Mat.toString() to return something like Mat(addr=0x1dde02c74b0, type=CV_8UC4, rows=-1, cols=-1, channels=4) by @rainyl in https://github.com/ra
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: android build.gradle task by @einsitang in https://github.com/rainyl/opencv_dart/pull/226
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/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
Many breaking changes in this version, keep using old version if you do not want to modify your code.
Fix: download wrong binaries on windows and linux, other platforms are not affected.
windows and linux, other platforms are not affected.Breaking Change: Asynchronous support, APIs ended with Async support asynchronous call.
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.newRecognizerNew: EXPERIMENTAL Asynchronous support by @abdelaziz-mahdy and @rainyl, try it and open an issue if you have any problems.
Fix: setup commands error on linux
Fix: memory leak caused by cvstatus
- Fix: free smart pointer
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_L2Add: FaceDetectorYN, FaceDetectorSF
- Fix: auto setup
VecUChar.toU8List() return a copy of data rather than a view
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, from v1.0.5, libs will be downloaded automatically during build, i.e., no need to run setup commands
dispose() methods to allow manual free native resourcesFix: pyrDown/Up border type, BORDER_CONSTANT -> BORDER_DEFAULT
- fix: Stitcher.composePanorama
fix: change the default border type of pyrDown/pyrUp to BORDER_DEFAULT, same as opencv
ffi.Pointer\ Mat.ptrAt\ (int i0, [int? i1, int? i2])
Fix: setup script will exit before files are really written to disk
Fix: update archive version to 3.5.1
API change: (Mat mean, Mat stdDev) meanStdDev(InputArray src, {OutputArray? mean, OutputArray? stdDev}) => (Scalar mean, Scalar stddev) meanStdDev(Inp
Your coding agent can read these notes before it upgrades. Set up the MCP server →