mirror of
				https://github.com/qurator-spk/eynollah.git
				synced 2025-10-31 01:34:17 +01:00 
			
		
		
		
	run_single: reduce indentation
This commit is contained in:
		
							parent
							
								
									c7dc952851
								
							
						
					
					
						commit
						fe77171d45
					
				
					 1 changed files with 504 additions and 507 deletions
				
			
		|  | @ -4233,8 +4233,6 @@ class Eynollah: | |||
|             print("all Job done in %.1fs", time.time() - t0_tot) | ||||
| 
 | ||||
|     def run_single(self): | ||||
|         # conditional merely for indentation (= smaller diff) | ||||
|         if True: | ||||
|         t0 = time.time() | ||||
|         img_res, is_image_enhanced, num_col_classifier, num_column_is_classified = self.run_enhancement(self.light_version) | ||||
|         self.logger.info("Enhancing took %.1fs ", time.time() - t0) | ||||
|  | @ -4719,7 +4717,6 @@ class Eynollah: | |||
|                 cont_page, polygons_lines_xml, ocr_all_textlines) | ||||
|             return pcgts | ||||
| 
 | ||||
|             else: | ||||
|         contours_only_text_parent_h = None | ||||
|         if self.reading_order_machine_based: | ||||
|             order_text_new, id_of_texts_tot = self.do_order_of_regions_with_model( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue