Comments (14)
All right, please downgrade to v1.0.4 for now and waiting for #78 to be finished.
from opencv_dart.
You are welcome.
It almost finished, could you please test whether it works for you with the following deps:
opencv_dart:
git:
url: https://github.com/rainyl/opencv_dart
ref: 96a936a
Please install the dependencies before running examples if you haven't install them, especially conan:
brew install --force --overwrite ninja ffmpeg@6 conan
brew link --overwrite ffmpeg@6
conan profile detect -f
from opencv_dart.
It works now!
from opencv_dart.
v1.0.5+1 has been published, I have tested it on macos (x86_64) and ios simulator (x86_64), but not tested on arm64 although the workflow passed, if you are using arm64 devices please test it, if it doesn't work please open a new issue. :)
from opencv_dart.
Using opencv_dart inside another plugin has not been tested, please provide a minimal example to reproduce it.
from opencv_dart.
Using opencv_dart inside another plugin has not been tested, please provide a minimal example to reproduce it.
I've basically created a plugin wih this command:
flutter create --template=plugin --platforms=android,ios some_plugin
And added your plugin as a dependency in main pubspec.yaml like that:
dependencies:
flutter:
sdk: flutter
opencv_dart: ^1.0.5
plugin_platform_interface: ^2.0.2
Than I run example project inside plugin folder to test it. And Android downloads everything and runs well, but iOS is giving this error for some strange reasons.
I can provide full package but literally done nothing else with it.
from opencv_dart.
get it. may i ask that you are running on a simulator or real device ?
from opencv_dart.
@arozdorozhniuk
Confirmed, You can run setup command manually to solve this, refer to README for detailed setup commands.
It's because the incorrect working directory in Makefile of ios, I am considering to compile locally instead of download from releases, please setup manually until it is finished.
from opencv_dart.
I've tried calling dart run opencv_dart:setup ios --arch x64
or arm64
for simulator or device accordingly. But it seems that it does nothing.
Example output in terminal:
arozdorozhniuk@NB01ACCO006 example % dart run opencv_dart:setup ios --arch x64
Building package executable...
Built opencv_dart:setup.
opencv_dart: working for ios x64
Building with assumed project root in: /Users/arozdorozhniuk/Documents/work/some_plugin/example/
Using package:opencv_dart from /Users/arozdorozhniuk/.pub-cache/hosted/pub.dev/opencv_dart-1.0.5
Downloading https://github.com/rainyl/opencv_dart/releases/download/v1.0.5/libopencv_dart-ios-x64.tar.gz
Cached to /Users/arozdorozhniuk/.pub-cache/hosted/pub.dev/opencv_dart-1.0.5/.dart_tool/.cache/libopencv_dart-ios-x64.tar.gz
Libs already exists in /Users/arozdorozhniuk/.pub-cache/hosted/pub.dev/opencv_dart-1.0.5/ios, Skipping...
Finished
Should I refer to some other setup process in readme?
from opencv_dart.
/Users/arozdorozhniuk/.pub-cache/hosted/pub.dev/opencv_dart-1.0.5/ios
please take a look at /Users/arozdorozhniuk/.pub-cache/hosted/pub.dev/opencv_dart-1.0.5/ios
and see whether opencv_dart.framework
is there and ensure the content of opencv_dart.framework
is not empty, you can manually delete it and try to re-run the setup commands.
from opencv_dart.
It becomes even stranger, because it seems that opencv_dart.framework is not empty..
from opencv_dart.
Try to delete the directory and re-run setup, and run the example to see whether it works
from opencv_dart.
I've tried all of that, and it seems like opencv_dart exists but somehow it is not being found.
Also, i've just reilsed that 1.0.4 version is working and it is becoming even stranger now
from opencv_dart.
Thanks a lot, you're really helpful!
from opencv_dart.
Related Issues (20)
- int get Mat.step -> List<int> get Mat.step for accessing pixels using data or dataPtr
- where is the python api : cv2.dnn.blobFromImage HOT 46
- Mat.size is not correct
- logging HOT 5
- Better support for Float16
- Platform Exception HOT 1
- Issue while trying to stitch photos on Android device in flutter app HOT 8
- Fully support for arguments HOT 11
- Add `MatExpr`
- vulkan missing dynamic libs? HOT 4
- property getters should be `leaf` functions
- video writer open (sync vs async) HOT 2
- extract `native_toolchain_conan` to an individual package HOT 1
- Got it working on simulator, issue on real device - what am I missing? HOT 15
- remove arm64 and x64 libs from prebuilt binaries.
- use `setRange` to set data for `Vec.fromList()`
- Image stitching advice HOT 3
- Android `build.gradle` should check `libopencv_dart.so` first
- add Q&A section
- [Bug] iOS Simulator VideoWriter not working correctly HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencv_dart.