Minimal Swift for TensorFlow OpenCV4 bindings, partially ported from gocv.
OpenCV Functions exposed:
Mat can be converted to S4TF's
Tests as an example of usage.
This notebook was executed using updated swift-jupyter docker image with OpenCV4 installed.
Include as SwiftPM package:
.package(url: "https://github.com/vvmnnnkv/SwiftCV.git", .branch("master"))
NOTE: OpenCV4 must installed in order for package to compile.
Currently this package is just an example of OpenCV/S4TF integration with no safety checks and guarantees to work properly :)
OpenCV C API, (c) Copyright gocv authors.