mirror of
				https://github.com/PaddlePaddle/PaddleOCR.git
				synced 2025-11-04 11:49:14 +00:00 
			
		
		
		
	BGR not RGB
This commit is contained in:
		
							parent
							
								
									497ce43261
								
							
						
					
					
						commit
						7fbe65e80f
					
				@ -141,7 +141,6 @@ if __name__ == "__main__":
 | 
			
		||||
        img, flag = check_and_read_gif(image_file)
 | 
			
		||||
        if not flag:
 | 
			
		||||
            img = cv2.imread(image_file)
 | 
			
		||||
            img = img[:, :, ::-1]
 | 
			
		||||
        if img is None:
 | 
			
		||||
            logger.info("error in loading image:{}".format(image_file))
 | 
			
		||||
            continue
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user