Use OpenCV with dart:ffi
- Download Windows and Android SDK from OpenCV releases
- Extract the Windows SDK, set
OPENCV_WINDOWS
with<opencv windows direcotry>/build
in thePATH
- Extract the Android SDK, set
OPENCV_ANDROID
with<opencv android direcotry>/sdk/native
in thePATH
- Run the
setup_windows.ps1
script in the scripts folder. - Now you can run the opencv example which call the
laplacian
function with dart:ffi
- laplcian
- Only available on Windows and Android for now, iOS, macOS and Linux is on the way!