Browse Source
        
      
      Update readme
      
        Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
      
      
        main
      
      
     
    
    
    
	
		
			
				 1 changed files with 
13 additions and 
9 deletions
			 
			
		 
		
			
				- 
					
					
					 
					README.md
				
				
				
					
						
							
								
									
	
		
			
				|  | @ -23,10 +23,12 @@ and use the pretrained ISC model ('resnet50') to generate an image embedding. | 
		
	
		
			
				|  |  | ```python |  |  | ```python | 
		
	
		
			
				|  |  | import towhee |  |  | import towhee | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  | towhee.glob('./towhee.jpg') \ |  |  |  | 
		
	
		
			
				|  |  |       .image_decode() \ |  |  |  | 
		
	
		
			
				|  |  |       .image_embedding.isc() \ |  |  |  | 
		
	
		
			
				|  |  |       .show() |  |  |  | 
		
	
		
			
				|  |  |  |  |  | ( | 
		
	
		
			
				|  |  |  |  |  |     towhee.glob('./towhee.jpg') | 
		
	
		
			
				|  |  |  |  |  |           .image_decode() | 
		
	
		
			
				|  |  |  |  |  |           .image_embedding.isc() | 
		
	
		
			
				|  |  |  |  |  |           .show() | 
		
	
		
			
				|  |  |  |  |  | ) | 
		
	
		
			
				|  |  | ``` |  |  | ``` | 
		
	
		
			
				|  |  | <img src="./result1.png" height="50px"/> |  |  | <img src="./result1.png" height="50px"/> | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
	
		
			
				|  | @ -35,11 +37,13 @@ towhee.glob('./towhee.jpg') \ | 
		
	
		
			
				|  |  | ```python |  |  | ```python | 
		
	
		
			
				|  |  | import towhee |  |  | import towhee | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  | towhee.glob['path']('./towhee.jpg') \ |  |  |  | 
		
	
		
			
				|  |  |       .image_decode['path', 'img']() \ |  |  |  | 
		
	
		
			
				|  |  |       .image_embedding.isc['img', 'vec']() \ |  |  |  | 
		
	
		
			
				|  |  |       .select['img', 'vec']() \ |  |  |  | 
		
	
		
			
				|  |  |       .show() |  |  |  | 
		
	
		
			
				|  |  |  |  |  | ( | 
		
	
		
			
				|  |  |  |  |  |     towhee.glob['path']('./towhee.jpg') | 
		
	
		
			
				|  |  |  |  |  |           .image_decode['path', 'img']() | 
		
	
		
			
				|  |  |  |  |  |           .image_embedding.isc['img', 'vec']() | 
		
	
		
			
				|  |  |  |  |  |           .select['img', 'vec']() | 
		
	
		
			
				|  |  |  |  |  |           .show() | 
		
	
		
			
				|  |  |  |  |  | ) | 
		
	
		
			
				|  |  | ``` |  |  | ``` | 
		
	
		
			
				|  |  | <img src="./result2.png" height="150px"/> |  |  | <img src="./result2.png" height="150px"/> | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
	
		
			
				|  | 
 |