auto-portrait-matting icon indicating copy to clipboard operation
auto-portrait-matting copied to clipboard

make 成功, 运行可执行文件,弹出窗口,但是不知道要怎么用;

Open coolcgp opened this issue 6 years ago • 6 comments

作者,你好,遇到和网上同样的问题: 麻烦请你解决。 下载源码,编译, 提示错误: test.cc:8:25: fatal error: gtest/gtest.h: 没有那个文件或目录, 确实没有这个头文件: 1. apt-cache search gtest ----> 安装 libgtest-dev
2. 进行make:-----> 报错:cannot find -lbopencv-imgcodecs -lopencv_videoio -lopencv_shape -lopen_gtest 3. 解决 gtest:
make 成功, 运行可执行文件,弹出窗口,但是不知道要怎么用; 关键问题:使用该程序,麻烦在readme 写一下如何使用。给一个运行的sample也行。 谢谢作者! http://blog.leanote.com/post/[email protected]/Image-Matting

coolcgp avatar Mar 08 '18 16:03 coolcgp

你好,是这样的,这是个example。运行成功之后,按esc,会有抠图结果。看看源码,may help you.

aromazyl avatar Mar 09 '18 01:03 aromazyl

我也是报了错:cannot find -lbopencv-imgcodecs -lopencv_videoio -lopencv_shape -lopen_gtest 哪里出问题了

tankchenggeng avatar Jul 26 '19 09:07 tankchenggeng

我也是报了错:cannot find -lbopencv-imgcodecs -lopencv_videoio -lopencv_shape -lopen_gtest 哪里出问题了

你没安装对应包。

aromazyl avatar Jul 26 '19 09:07 aromazyl

我把imgcodecs,videoio等添加到本地opencv2中了,还要安装其它什么安装包吗?

---原始邮件--- 发件人: "yule"[email protected] 发送时间: 2019年7月26日(星期五) 下午5:51 收件人: "aromazyl/auto-portrait-matting"[email protected]; 抄送: "Comment"[email protected];"Lin Feng"[email protected]; 主题: Re: [aromazyl/auto-portrait-matting] make 成功, 运行可执行文件,弹出窗口,但是不知道要怎么用; (#3)

我也是报了错:cannot find -lbopencv-imgcodecs -lopencv_videoio -lopencv_shape -lopen_gtest 哪里出问题了

你没安装对应包。

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

tankchenggeng avatar Jul 27 '19 16:07 tankchenggeng

我把imgcodecs,videoio等添加到本地opencv2中了,还要安装其它什么安装包吗? ---原始邮件--- 发件人: "yule"[email protected] 发送时间: 2019年7月26日(星期五) 下午5:51 收件人: "aromazyl/auto-portrait-matting"[email protected]; 抄送: "Comment"[email protected];"Lin Feng"[email protected]; 主题: Re: [aromazyl/auto-portrait-matting] make 成功, 运行可执行文件,弹出窗口,但是不知道要怎么用; (#3) 我也是报了错:cannot find -lbopencv-imgcodecs -lopencv_videoio -lopencv_shape -lopen_gtest 哪里出问题了 你没安装对应包。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

LIB添加到LD_LIBRARY_PATH了吗

aromazyl avatar Jul 28 '19 09:07 aromazyl

你是说在~/.bashrc中添加 export LD_LIBRARY_PATH=/usr/local/lib中吗

---原始邮件--- 发件人: "yule"[email protected] 发送时间: 2019年7月28日(星期日) 下午5:41 收件人: "aromazyl/auto-portrait-matting"[email protected]; 抄送: "Comment"[email protected];"Lin Feng"[email protected]; 主题: Re: [aromazyl/auto-portrait-matting] make 成功, 运行可执行文件,弹出窗口,但是不知道要怎么用; (#3)

我把imgcodecs,videoio等添加到本地opencv2中了,还要安装其它什么安装包吗? … ---原始邮件--- 发件人: "yule"[email protected] 发送时间: 2019年7月26日(星期五) 下午5:51 收件人: "aromazyl/auto-portrait-matting"[email protected]; 抄送: "Comment"[email protected];"Lin Feng"[email protected]; 主题: Re: [aromazyl/auto-portrait-matting] make 成功, 运行可执行文件,弹出窗口,但是不知道要怎么用; (#3) 我也是报了错:cannot find -lbopencv-imgcodecs -lopencv_videoio -lopencv_shape -lopen_gtest 哪里出问题了 你没安装对应包。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

LIB添加到LD_LIBRARY_PATH了吗

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

tankchenggeng avatar Jul 29 '19 00:07 tankchenggeng