Giter Site home page Giter Site logo

ioridev / flutter_opencv_image_stitch Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 0.0 47.58 MB

Flutter sample to stitch images in opencv, using Dart ffi.

License: BSD 2-Clause "Simplified" License

CMake 0.01% Kotlin 0.01% C++ 93.67% C 6.01% Objective-C 0.14% Ruby 0.02% Swift 0.01% Dart 0.07% HTML 0.07%
dart-ffi flutter opencv panorama panorama-stitching

flutter_opencv_image_stitch's Introduction

flutter_opencv_image_stitch's People

Contributors

ioridev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

flutter_opencv_image_stitch's Issues

Build failed

Trying to run project from Visual Studio Code on Windows 10
I have upgraded compileSDKVersion to 33
ext.kotlin_version = '1.9.0'
Device is a Galaxy S23 Ultra

Then when I select main.dart and right-click for Start Debugging it fails with:

cmd.exe /C "cd . && C:\Users\Patrik\AppData\Local\Android\Sdk\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android30 --gcc-toolchain=C:/Users/Patrik/AppData/Local/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=C:/Users/Patrik/AppData/Local/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -frtti -fexceptions -std=c++17 -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libOpenCV_ffi.so -o C:\Workspaces\Playground\Dart\flutter_opencv_image_stitch-main\build\app\intermediates\cxx\Debug\6h4j2865\obj\arm64-v8a\libOpenCV_ffi.so CMakeFiles/OpenCV_ffi.dir/C_/Workspaces/Playground/Dart/flutter_opencv_image_stitch-main/lib/opencv-cpp/main.cpp.o ../../../../../src/main/jniLibs/arm64-v8a/libopencv_java4.so -latomic -lm && cd ."
CMakeFiles/OpenCV_ffi.dir/C_/Workspaces/Playground/Dart/flutter_opencv_image_stitch-main/lib/opencv-cpp/main.cpp.o: In function process_stitching(std::__ndk1::vector<cv::Mat, std::__ndk1::allocator<cv::Mat> >)': C:/Workspaces/Playground/Dart/flutter_opencv_image_stitch-main/lib/opencv-cpp/stitch.cpp:48: undefined reference to cv::Stitcher::create(cv::Stitcher::Mode)'
C:/Workspaces/Playground/Dart/flutter_opencv_image_stitch-main/lib/opencv-cpp/stitch.cpp:49: undefined reference to `cv::Stitcher::stitch(cv::_InputArray const&, cv::_OutputArray const&)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
2

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 6s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

Any help would be appreciated

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.