mirror of
				https://github.com/PaddlePaddle/FastDeploy.git
				synced 2025-10-27 02:20:31 +08:00 
			
		
		
		
	 bb00e0757e
			
		
	
	bb00e0757e
	
	
	
		
			
			* Add falcon cmake * Update CMakeLists.txt * Add implementation for more preprocessors * Add more implementation * Add more implementations by flycv * Fix some name * fix some bug * ready to test * add fuse * fix fuse problem * add debug code * add debug * [Android] integrate flycv to Android (#459) * [Android] integrate flycv into Andorid * Falconcv (#27) * [Bug Fix ]Update ppseg visualize python api && demo (#454) Update ppseg visualize python api && demo * [Model] update pptracking letterboxresize and add some comment (#438) * add override mark * delete some * recovery * recovery * add tracking * add tracking py_bind and example * add pptracking * add pptracking * iomanip head file * add opencv_video lib * add python libs package Signed-off-by: ChaoII <849453582@qq.com> * complete comments Signed-off-by: ChaoII <849453582@qq.com> * add jdeTracker_ member variable Signed-off-by: ChaoII <849453582@qq.com> * add 'FASTDEPLOY_DECL' macro Signed-off-by: ChaoII <849453582@qq.com> * remove kwargs params Signed-off-by: ChaoII <849453582@qq.com> * [Doc]update pptracking docs * delete 'ENABLE_PADDLE_FRONTEND' switch * add pptracking unit test * update pptracking unit test Signed-off-by: ChaoII <849453582@qq.com> * modify test video file path and remove trt test * update unit test model url * remove 'FASTDEPLOY_DECL' macro Signed-off-by: ChaoII <849453582@qq.com> * fix build python packages about pptracking on win32 Signed-off-by: ChaoII <849453582@qq.com> * update comment Signed-off-by: ChaoII <849453582@qq.com> * add pptracking model explain Signed-off-by: ChaoII <849453582@qq.com> Signed-off-by: ChaoII <849453582@qq.com> Co-authored-by: Jason <jiangjiajun@baidu.com> Signed-off-by: ChaoII <849453582@qq.com> Co-authored-by: huangjianhui <852142024@qq.com> Co-authored-by: ChaoII <849453582@qq.com> Co-authored-by: Jason <jiangjiajun@baidu.com> * [cmake] optimize examples CMakeLists.txt Signed-off-by: ChaoII <849453582@qq.com> Co-authored-by: huangjianhui <852142024@qq.com> Co-authored-by: ChaoII <849453582@qq.com> Co-authored-by: Jason <jiangjiajun@baidu.com> * remove debug log * remove function * remove function Signed-off-by: ChaoII <849453582@qq.com> Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com> Co-authored-by: huangjianhui <852142024@qq.com> Co-authored-by: ChaoII <849453582@qq.com>
		
			
				
	
	
		
			65 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			65 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # source this file to import libraries
 | |
| 
 | |
| CURRENT_EXE_DIR=$(pwd)
 | |
| 
 | |
| cd $(dirname $BASH_SOURCE)
 | |
| INSTALLED_PREBUILT_FASTDEPLOY_DIR=$(pwd)
 | |
| 
 | |
| 
 | |
| echo "Import environment variable from FastDeploy..."
 | |
| 
 | |
| export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/lib:${LD_LIBRARY_PATH}
 | |
| echo "FastDeploy Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/lib"
 | |
| 
 | |
| if [ -d ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/fast_tokenizer ]; then
 | |
| 	export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/fast_tokenizer/lib:${LD_LIBRARY_PATH}
 | |
| 	echo "FastTokenizer Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/fast_tokenizer/lib"
 | |
| fi
 | |
| 
 | |
| if [ -d ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddle2onnx ]; then
 | |
| 	export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddle2onnx/lib:${LD_LIBRARY_PATH}
 | |
| 	echo "Paddle2ONNX Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddle2onnx/lib"
 | |
| fi
 | |
| 
 | |
| if [ -d ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/onnxruntime ]; then
 | |
| 	export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/onnxruntime/lib:${LD_LIBRARY_PATH}
 | |
| 	echo "ONNX Runtime Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/onnxruntime/lib"
 | |
| fi
 | |
| 
 | |
| if [ -d ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/opencv ]; then
 | |
| 	export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/opencv/lib:${LD_LIBRARY_PATH}
 | |
| 	echo "OpenCV Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/opencv/lib"
 | |
| fi
 | |
| 
 | |
| if [ -d ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/openvino ]; then
 | |
| 	export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/openvino/lib:${LD_LIBRARY_PATH}
 | |
| 	echo "OpenVINO Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/openvino/lib"
 | |
| fi
 | |
| 
 | |
| if [ -d ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/tensorrt ]; then
 | |
| 	export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/tensorrt/lib:${LD_LIBRARY_PATH}
 | |
| 	echo "TensorRT Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/tensorrt/lib"
 | |
| fi
 | |
| 
 | |
| if [ -d ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddle_inference ]; then
 | |
| 	export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddle_inference/paddle/lib:${LD_LIBRARY_PATH}
 | |
| 	echo "Paddle Inference Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddle_inference/paddle/lib"
 | |
| 	export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddle_inference/third_party/install/mkldnn/lib:${LD_LIBRARY_PATH}
 | |
| 	echo "MKLDNN Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddle_inference/third_party/install/mkldnn/lib"
 | |
| 	export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddle_inference/third_party/install/mklml/lib:${LD_LIBRARY_PATH}
 | |
| 	echo "MKLML Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddle_inference/third_party/install/mklml/lib"
 | |
| fi
 | |
| 
 | |
| if [ -d ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/flycv ]; then
 | |
| 	export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/flycv/lib:${LD_LIBRARY_PATH}
 | |
| 	echo "Fly Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/flycv/lib"
 | |
| fi
 | |
| 
 | |
| if [ -d ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddlelite ]; then
 | |
| 	export LD_LIBRARY_PATH=${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddlelite/lib:${LD_LIBRARY_PATH}
 | |
| 	echo "Paddle Lite Lib: ${INSTALLED_PREBUILT_FASTDEPLOY_DIR}/third_libs/install/paddlelite/lib"
 | |
| fi
 | |
| 
 | |
| 
 | |
| cd ${CURRENT_EXE_DIR}
 |