Comments (7)
why can't you read README carefully, take a look at IMPORTANT section in README
from opencv_dart.
I didn't see it because I came from pub.dev and pub.dev didn't mention it.
Then I tried it for android all at once and... it still failed on my Galaxy 21.
Then I did each of everything and the ios (since eventually it will go to iPhones), and now it works.
Took an age to install, but I get the details. Now to play with OpenCV and see what I can do...
from opencv_dart.
Well, It's because the support of native code distribution of dart is really annoying, maybe it will be easier when Native Assets feature finished.
I gueese you need to use arm64-v8a ABI if you want to install to your physical android device.
from opencv_dart.
I have a android x64 emulatior and have compiled with
conan build . -b missing -pr:h profiles/android-x86_64 -c tools.android:ndk_path="d:@SDK\android-ndk-r26d"
Now I have libopencv_dart.so in \build\Android\x86_64\install
and have added
{
"dart.env": {
"PATH": "${workspaceFolder}\build\Android\x86_64\install"
}
}
to settings.json
but now when I try to run example\main.dart nothing happens
from opencv_dart.
Take a look at setup script, https://github.com/rainyl/opencv_dart/blob/main/bin%2Fsetup_commands.dart#L93
from opencv_dart.
dart run opencv_dart:setup android --arch x86_64
Building package executable...
Built opencv_dart:setup.
opencv_dart: working for android x86_64
Building with assumed project root in:
D:\Programing\Flutter\opencv_dart-main
Using package:opencv_dart from D:\Programing\Flutter\opencv_dart-main
Downloading prebuilt binary...
Downloading https://github.com/rainyl/opencv_dart/releases/download/v1.0.0+2/libopencv_dart-android-x86_64.tar.gz
Download Failed with status: 404
from opencv_dart.
This issue is not the problem of opencv_dart itself, I have no responsibility to answer your questions, and you guys even didn't star this project, closing.
If you have questions please open a new issue with Question template.
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.