Linux link Bug

master
tunmx 2 years ago
parent c0fa1cdee0
commit 89372089b2

@ -155,13 +155,13 @@ Copy the files you need into your project
```bash
# go to Prj-linux
cd Prj-Linux
# make build and enter
mkdir build && cd build
# Start compiling
cmake .. && make -j
# exec sh
sh build.sh
```
The executable program is generated after compilation: **PlateRecDemo**and Run the program
```bash
# go to build
cd build/
# first param models dir, second param image path
./PlateRecDemo ../hyperlpr3/resource/models/r2_mobile ../hyperlpr3/resource/images/test_img.jpg
```

@ -133,7 +133,7 @@ A此项目来源于作者早期的研究和调试代码代码缺少一定
### 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动态链接库编译
@ -158,13 +158,13 @@ sh command/build_release_linux_share.sh
```bash
# 进入到子工程demo
cd Prj-Linux
# 创建build文件夹并进入
mkdir build && cd build
# 开始编译
cmake .. && make -j
# 执行编译脚本
sh build.sh
```
编译完成后生成可执行程序**PlateRecDemo**,执行运行测试
```bash
# 进入编译目录
cd build/
# 传入模型文件夹路径和需要预测的图像执行程序
./PlateRecDemo ../hyperlpr3/resource/models/r2_mobile ../hyperlpr3/resource/images/test_img.jpg
```

Loading…
Cancel
Save