Giter Site home page Giter Site logo

Comments (5)

jenly1314 avatar jenly1314 commented on August 29, 2024 1

这是因为你的项目有其他依赖与WeChatQRCode中的opencv产生了冲突导致的。

感谢你的及时回复,请问你是怎么找到这个原因的?在我的项目中有ocr识别功能,确实用到了opencv不过应该和wechat使用的opencv是互不相干的.请问有什么解决方案吗? image

这里提供两种可行方案:

  1. 既然都用到了opencv,你可以只保留一份opencv,然后一起编译,记得加上相同版本opencv_contrib中的wechat_qrcode。
  2. 使用其他库来实现扫码功能;比如:MLKit

from wechatqrcode.

jenly1314 avatar jenly1314 commented on August 29, 2024

这是因为你项目中有其他依赖与 WeChatQRCode中的opencv 产生了冲突导致的。

from wechatqrcode.

EVANGELION-K avatar EVANGELION-K commented on August 29, 2024

这是因为你的项目有其他依赖与WeChatQRCode中的opencv产生了冲突导致的。

感谢你的及时回复,请问你是怎么找到这个原因的?在我的项目中有ocr识别功能,确实用到了opencv不过应该和wechat使用的opencv是互不相干的.请问有什么解决方案吗?
image

from wechatqrcode.

EVANGELION-K avatar EVANGELION-K commented on August 29, 2024

这是因为你项目中有其他依赖与 WeChatQRCode中的opencv 产生了冲突导致的。

我同时在运行时还会遇到这个问题
2 files found with path 'lib/armeabi-v7a/libc++_shared.so' from inputs:

  • C:\Users\link.gradle\caches\transforms-3\471133f9173e9a0c4bff3f32a1c88a71\transformed\jetified-libvlc-all-3.3.0-eap17\jni\armeabi-v7a\libc++_shared.so
  • C:\Users\link.gradle\caches\transforms-3\84b5699c829ea5a5c55167ba9cb5476e\transformed\jetified-opencv-armv7a-2.1.0\jni\armeabi-v7a\libc++_shared.so
    If you are using jniLibs and CMake IMPORTED targets, see
    https://developer.android.com/r/tools/jniLibs-vs-imported-targets

from wechatqrcode.

EVANGELION-K avatar EVANGELION-K commented on August 29, 2024

这是因为你的项目有其他依赖与WeChatQRCode中的opencv产生了冲突导致的。

感谢你的及时回复,请问你是怎么找到这个原因的?在我的项目中有ocr识别功能,确实用到了opencv不过应该和wechat使用的opencv是互不相干的.请问有什么解决方案吗? image

这里提供两种可行方案:

  1. 既然都用到了opencv,你可以只保留一份opencv,然后一起编译,记得加上相同版本opencv_contrib中的wechat_qrcode。
  2. 使用其他库来实现扫码功能;比如:MLKit

我明白了,感谢!

from wechatqrcode.

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.