Linux link Bug
This commit is contained in:
@@ -155,13 +155,13 @@ Copy the files you need into your project
|
|||||||
```bash
|
```bash
|
||||||
# go to Prj-linux
|
# go to Prj-linux
|
||||||
cd Prj-Linux
|
cd Prj-Linux
|
||||||
# make build and enter
|
# exec sh
|
||||||
mkdir build && cd build
|
sh build.sh
|
||||||
# Start compiling
|
|
||||||
cmake .. && make -j
|
|
||||||
```
|
```
|
||||||
The executable program is generated after compilation: **PlateRecDemo**,and Run the program
|
The executable program is generated after compilation: **PlateRecDemo**,and Run the program
|
||||||
```bash
|
```bash
|
||||||
|
# go to build
|
||||||
|
cd build/
|
||||||
# first param models dir, second param image path
|
# first param models dir, second param image path
|
||||||
./PlateRecDemo ../hyperlpr3/resource/models/r2_mobile ../hyperlpr3/resource/images/test_img.jpg
|
./PlateRecDemo ../hyperlpr3/resource/models/r2_mobile ../hyperlpr3/resource/images/test_img.jpg
|
||||||
```
|
```
|
||||||
|
|||||||
+5
-5
@@ -133,7 +133,7 @@ A:此项目来源于作者早期的研究和调试代码,代码缺少一定
|
|||||||
|
|
||||||
### C/C++编译依赖库
|
### C/C++编译依赖库
|
||||||
|
|
||||||
编译C/C++工程需要使用第三方依赖库,将库下载后解压,并将其通过拷贝或软链接放入根目录(与CMakeLists.txt同级)即可,依赖的库下载地址:[百度网盘](https://pan.baidu.com/s/138O2bSlPN0H81OYP6zc3yQ) code: 5duf
|
编译C/C++工程需要使用第三方依赖库,将库下载后解压,并将其通过拷贝或软链接放入根目录(与CMakeLists.txt同级)即可,依赖的库下载地址:[百度网盘](https://pan.baidu.com/s/1hd3u3gLXid7UY5NusnxM6g) code: tunm
|
||||||
|
|
||||||
### Linux/Mac动态链接库编译
|
### Linux/Mac动态链接库编译
|
||||||
|
|
||||||
@@ -158,13 +158,13 @@ sh command/build_release_linux_share.sh
|
|||||||
```bash
|
```bash
|
||||||
# 进入到子工程demo
|
# 进入到子工程demo
|
||||||
cd Prj-Linux
|
cd Prj-Linux
|
||||||
# 创建build文件夹并进入
|
# 执行编译脚本
|
||||||
mkdir build && cd build
|
sh build.sh
|
||||||
# 开始编译
|
|
||||||
cmake .. && make -j
|
|
||||||
```
|
```
|
||||||
编译完成后生成可执行程序**PlateRecDemo**,执行运行测试
|
编译完成后生成可执行程序**PlateRecDemo**,执行运行测试
|
||||||
```bash
|
```bash
|
||||||
|
# 进入编译目录
|
||||||
|
cd build/
|
||||||
# 传入模型文件夹路径和需要预测的图像执行程序
|
# 传入模型文件夹路径和需要预测的图像执行程序
|
||||||
./PlateRecDemo ../hyperlpr3/resource/models/r2_mobile ../hyperlpr3/resource/images/test_img.jpg
|
./PlateRecDemo ../hyperlpr3/resource/models/r2_mobile ../hyperlpr3/resource/images/test_img.jpg
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user