mirror of
				https://github.com/PaddlePaddle/FastDeploy.git
				synced 2025-10-31 20:02:53 +08:00 
			
		
		
		
	 7c4e0d7ba0
			
		
	
	7c4e0d7ba0
	
	
	
		
			
			* add batch_predict and initialized api for c * add batch_predict and result str in C api * modify visualization function * add micro to add models batchify * refactor and add models for ppdet others * add base define * add results api * add headers * add ppocr models * add codes for implementing api * add code * add ppocr apis * fix code * add codes * fix codes * add demo
		
			
				
	
	
		
			14 lines
		
	
	
		
			414 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			414 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| PROJECT(infer_demo C)
 | |
| CMAKE_MINIMUM_REQUIRED (VERSION 3.10)
 | |
| 
 | |
| # 指定下载解压后的fastdeploy库路径
 | |
| option(FASTDEPLOY_INSTALL_DIR "Path of downloaded fastdeploy sdk.")
 | |
| 
 | |
| include(${FASTDEPLOY_INSTALL_DIR}/FastDeploy.cmake)
 | |
| 
 | |
| # 添加FastDeploy依赖头文件
 | |
| include_directories(${FASTDEPLOY_INCS})
 | |
| 
 | |
| add_executable(infer_demo ${PROJECT_SOURCE_DIR}/infer.c)
 | |
| target_link_libraries(infer_demo ${FASTDEPLOY_LIBS})
 |