删除文件 yolo.h
This commit is contained in:
		
							parent
							
								
									b5bc322135
								
							
						
					
					
						commit
						c6be8a2e05
					
				
							
								
								
									
										21
									
								
								yolo.h
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								yolo.h
									
									
									
									
									
								
							| @ -1,21 +0,0 @@ | |||||||
| #pragma once |  | ||||||
| 
 |  | ||||||
| #include<string> |  | ||||||
| 
 |  | ||||||
| class Yolo |  | ||||||
| { |  | ||||||
| private: |  | ||||||
|     cv::Mat image; |  | ||||||
|     cv::Mat boxes; |  | ||||||
| public: |  | ||||||
|     Yolo(std::string modelPath);    // initialize detector here, may need more args
 |  | ||||||
|     // void gpuInit(/* args */);    // initialize the GPU, may called by the constructor
 |  | ||||||
|     void detect(cv::Mat image);  // detect objects in the image, return the 2d mat
 |  | ||||||
|                                     // which every row represents for an object
 |  | ||||||
|     cv::Mat getBoxes(); // return infomation about the detected objects
 |  | ||||||
|     // may called by the detect function
 |  | ||||||
|     // void preProcess(/* args */);
 |  | ||||||
|     // void postProcess(/* args */);
 |  | ||||||
| }; |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user