Giter Site home page Giter Site logo

Comments (8)

Canjie-Luo avatar Canjie-Luo commented on May 25, 2024

您好!当前的repo确实对依赖库的版本要求有点高,严格用我们推荐的python、GCC和boost版本即可解决。为了cmake的时候找对路径,建议用-D来指定路径。如果得到实验室许可,后续会上传一个更好的版本,且支持Python 3,OpenCV 3。

from text-image-augmentation.

Codermanok avatar Codermanok commented on May 25, 2024

@Xiao-Ann
Hi,你好!中途遇到了类似的问题

undefined symbol: _ZN2cv3Mat10deallocateEv

使用GCC and MSVC C++ Demangler解析后发现是OpenCV的问题,OpenCV2.x在CUDA9.0或者高点的CUDA上容易出问题,所以首先检查下OpenCV 2.x的编译,检查完后重新make该工程可能最后还会遇到如下问题:

/usr/bin/ld: cannot find -lopencv_dep_nppial
/usr/bin/ld: cannot find -lopencv_dep_nppicc
/usr/bin/ld: cannot find -lopencv_dep_nppicom
/usr/bin/ld: cannot find -lopencv_dep_nppidei
/usr/bin/ld: cannot find -lopencv_dep_nppif
/usr/bin/ld: cannot find -lopencv_dep_nppig
/usr/bin/ld: cannot find -lopencv_dep_nppim
/usr/bin/ld: cannot find -lopencv_dep_nppist
/usr/bin/ld: cannot find -lopencv_dep_nppisu
/usr/bin/ld: cannot find -lopencv_dep_nppitc
collect2: error: ld returned 1 exit status

可以参考链接CentOS7下OpenCV2+CUDA9的编译问题解决最末尾的方法解决,希望对你有所帮助!

from text-image-augmentation.

RubanSeven avatar RubanSeven commented on May 25, 2024

我用python重写了这个代码,速度在14ms,有兴趣的可以支持下,https://github.com/RubanSeven/Text-Image-Augmentation-python

from text-image-augmentation.

WDONG66 avatar WDONG66 commented on May 25, 2024

您好,我也遇到了相同的问题,_ZN2cv6formatB5cxx11EPKcz,所有的环境都是一样的,但是也不知道为什么,我c++filt命令看了一下,是cv::format()函数没有找到,可是我并没有grep到这个函数,版本是python 2.7.15 boost 1.67 opencv 2.4.11 gcc 4.8.5 ,有什么问题吗?或者您是怎么解决的呢?

from text-image-augmentation.

WDONG66 avatar WDONG66 commented on May 25, 2024

是不是需要和cuda8搭配使用呢?

from text-image-augmentation.

Canjie-Luo avatar Canjie-Luo commented on May 25, 2024

@RubanSeven
谢谢关注和进一步的工作!但是纯Python版本效率低一些。我想,做成Pip安装库才是最方便的。另外,实验室内部有更好用的版本,安装极简,支持更高Python版本。欢迎合作!

from text-image-augmentation.

Canjie-Luo avatar Canjie-Luo commented on May 25, 2024

@WDONG66
理论上与CUDA无关,我想应该还是依赖库的指向没有对应。

from text-image-augmentation.

wangjue-wzq avatar wangjue-wzq commented on May 25, 2024

@Xiao-Ann 你好请问你解决了嘛,我也遇到类似的问题了 undefined symbol: _ZN2cv9rectangleERKNS

from text-image-augmentation.

Related Issues (12)

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.