mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-16 13:41:30 +08:00

* 第一次提交 * 补充一处漏翻译 * deleted: docs/en/quantize.md * Update one translation * Update en version * Update one translation in code * Standardize one writing * Standardize one writing * Update some en version * Fix a grammer problem * Update en version for api/vision result * Merge branch 'develop' of https://github.com/charl-u/FastDeploy into develop * Checkout the link in README in vision_results/ to the en documents * Modify a title * Add link to serving/docs/ * Finish translation of demo.md
17 lines
858 B
Markdown
17 lines
858 B
Markdown
[English](../../en/build_and_install/third_libraries.md) | 简体中文
|
||
|
||
# 第三方库依赖
|
||
|
||
FastDeploy当前根据编译选项,会依赖如下第三方依赖
|
||
|
||
- OpenCV: 当ENABLE_VISION=ON时,会自动下载预编译OpenCV 3.4.16库
|
||
- ONNX Runimte: 当ENABLE_ORT_BACKEND=ON时,会自动下载ONNX Runtime库
|
||
- OpenVINO: 当ENABLE_OPENVINO_BACKEND=ON时,会自动下载OpenVINO库
|
||
|
||
用户在实际编译时,可能会根据自身需求集成环境中已有的第三方库,可通出如下开关来配置
|
||
|
||
|
||
- OPENCV_DIRECTORY: 指定环境中的OpenCV路径,如 `-DOPENCV_DIRECTORY=/usr/lib/aarch64-linux-gnu/cmake/opencv4/`
|
||
- ORT_DIRECTORY: 指定环境中的ONNX Runtime路径, 如`-DORT_DIRECTORY=/download/onnxruntime-linux-x64-1.0.0`
|
||
- OPENVINO_DIRECTORY: 指定环境中的OpenVINO路径, 如`-DOPENVINO_DIRECTORY=//download/openvino`
|