mirror of
				https://github.com/PaddlePaddle/FastDeploy.git
				synced 2025-10-31 20:02:53 +08:00 
			
		
		
		
	 866d044898
			
		
	
	866d044898
	
	
	
		
			
			* model done, CLA fix * remove letter_box and ConvertAndPermute, use resize hwc2chw and convert in preprocess * remove useless values in preprocess * remove useless values in preprocess * fix reviewed problem * fix reviewed problem pybind * fix reviewed problem pybind * postprocess fix * add test_fastestdet.py, coco_val2017_500 fixed done, ready to review * fix reviewed problem * python/.../fastestdet.py * fix infer.cc, preprocess, python/fastestdet.py * fix examples/python/infer.py
		
			
				
	
	
		
			15 lines
		
	
	
		
			503 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			503 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| PROJECT(infer_demo C CXX)
 | |
| CMAKE_MINIMUM_REQUIRED (VERSION 3.10)
 | |
| 
 | |
| # Specifies the path to the fastdeploy library after you have downloaded it
 | |
| option(FASTDEPLOY_INSTALL_DIR "Path of downloaded fastdeploy sdk.")
 | |
| 
 | |
| include(${FASTDEPLOY_INSTALL_DIR}/FastDeploy.cmake)
 | |
| 
 | |
| # Include the FastDeploy dependency header file
 | |
| include_directories(${FASTDEPLOY_INCS})
 | |
| 
 | |
| add_executable(infer_demo ${PROJECT_SOURCE_DIR}/infer.cc)
 | |
| # Add the FastDeploy library dependency
 | |
| target_link_libraries(infer_demo ${FASTDEPLOY_LIBS})
 |