mirror of
				https://github.com/qurator-spk/ocrd-galley.git
				synced 2025-10-31 19:24:12 +01:00 
			
		
		
		
	✒ README: Update that we have images again + how to download models
This commit is contained in:
		
							parent
							
								
									435c88c5e1
								
							
						
					
					
						commit
						2a020954fb
					
				
					 1 changed files with 16 additions and 9 deletions
				
			
		
							
								
								
									
										25
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										25
									
								
								README.md
									
										
									
									
									
								
							|  | @ -29,14 +29,9 @@ including all dependencies in Docker. | ||||||
| 
 | 
 | ||||||
| How to use | How to use | ||||||
| ---------- | ---------- | ||||||
| **Currently, due to problems with the Travis CI, we do not provide pre-built | ocrd-galley uses Docker to run the OCR-D images. We provide pre-built container | ||||||
| containers anymore.*** | images that get downloaded automatically when you run the provided wrappers for | ||||||
| 
 | the OCR-D processors. | ||||||
| To build the containers yourself using Docker: |  | ||||||
| ~~~ |  | ||||||
| cd ~/devel/ocrd-galley/ |  | ||||||
| ./build |  | ||||||
| ~~~ |  | ||||||
| 
 | 
 | ||||||
| You can then install the wrappers into a Python venv: | You can then install the wrappers into a Python venv: | ||||||
| ~~~ | ~~~ | ||||||
|  | @ -44,9 +39,13 @@ cd ~/devel/ocrd-galley/wrapper | ||||||
| pip install . | pip install . | ||||||
| ~~~ | ~~~ | ||||||
| 
 | 
 | ||||||
|  | To download models, you need to use the `-a` flag of `ocrd resmgr`: | ||||||
|  | ~~~ | ||||||
|  | ocrd resmgr download -a ocrd-calamari-recognize default | ||||||
|  | ~~~ | ||||||
|  | 
 | ||||||
| You may then use the script `my_ocrd_workflow` to use your self-built | You may then use the script `my_ocrd_workflow` to use your self-built | ||||||
| containers on an example workspace: | containers on an example workspace: | ||||||
| 
 |  | ||||||
| ~~~ | ~~~ | ||||||
| # Download an example workspace | # Download an example workspace | ||||||
| cd /tmp | cd /tmp | ||||||
|  | @ -110,3 +109,11 @@ cd workspace-xxxxx  # output by the last command | ||||||
| ~~~ | ~~~ | ||||||
| 
 | 
 | ||||||
| This produces a workspace from the files and then runs the OCR workflow on it. | This produces a workspace from the files and then runs the OCR workflow on it. | ||||||
|  | 
 | ||||||
|  | Build the containers yourself | ||||||
|  | ----------------------------- | ||||||
|  | To build the containers yourself using Docker: | ||||||
|  | ~~~ | ||||||
|  | cd ~/devel/ocrd-galley/ | ||||||
|  | ./build | ||||||
|  | ~~~ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue