Git Product home page Git Product logo

Comments (7)

rainyl avatar rainyl commented on August 16, 2024

why can't you read README carefully, take a look at IMPORTANT section in README

from opencv_dart.

thormj avatar thormj commented on August 16, 2024

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.

rainyl avatar rainyl commented on August 16, 2024

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.

IvRogoz avatar IvRogoz commented on August 16, 2024

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.

rainyl avatar rainyl commented on August 16, 2024

Take a look at setup script, https://github.com/rainyl/opencv_dart/blob/main/bin%2Fsetup_commands.dart#L93

from opencv_dart.

IvRogoz avatar IvRogoz commented on August 16, 2024

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.

rainyl avatar rainyl commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.