Package selection guidance compiled from public package information, community data, and project usage.
A Flutter package that integrates a collection of OpenCV modules, enabling computer vision capabilities within Flutter applications. It supports Android and iOS platforms, allowing developers to leverage OpenCV's powerful image and video processing functions directly in their apps. The package is designed for use with native OpenCV libraries, providing access to features like object detection, image filtering, and facial recognition. It is suitable for multimedia editing, augmented reality, and real-time image analysis tasks.
Use cases
Image processing in mobile apps
Real-time video analysis
Object detection and tracking
Augmented reality applications
Facial recognition systems
Key features
Access to multiple OpenCV modules
Cross-platform support (Android & iOS)
Native OpenCV integration
Supports image and video manipulation
Lightweight and modular design
Suitable for
Mobile app developers
Computer vision enthusiasts
AR/VR application creators
Multimedia processing tools
Educational projects involving image analysis
Considerations
Requires native OpenCV setup
May increase app size
Limited documentation available
Platform-specific build configurations
Potential performance overhead on low-end devices
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
OpenCV_4
This package contains the implementation of OpenCV modules, the version used is 4.3.0 for both Android and iOS platforms.
It is developed for the integration of the OpenCV artificial vision library in its version 4.3.0
It is compatible with Android and iOS.
Easy integration with popular flutter packages like image_picker was kept in mind, to process images from gallery or camera, you can see the implementation example here, in this case you need to configure the flutter project with Nullsafety..
The implemented OpenCV modules are the following:
Image Processing
Image Filtering
bilateralFilter
blur
boxFilter
dilate
erode
filter2D
gaussianBlur
laplacian
medianBlur
morphologyEx
pyrDown
pyrMeanShiftFiltering
pyrUp
scharr
sobel
sqrBoxFilter
Miscellaneous Image Transformations
adaptiveThreshold
distanceTransform
threshold
Color Space Conversions
cvtColor
ColorMaps in OpenCV
applyColorMap
Image processing
All processing is through the image string path.
Images in flutter through the asset folder configured in the pubspect.yaml file. Default
Note: If you want to process an image from the web you must configure pathFrom: CVPathFrom.URL replace in pathString with a URL, for example. pathString: 'https://mir-s3-cdn-cf.behance.net/project_modules/fs/313f8e114930481.6044f05fcd866.jpeg'