Updated Document Layout Analysis (markdown)

changetocoding
2023-09-20 00:06:50 +01:00
parent f0086e3623
commit f7c07955fb

@@ -620,7 +620,7 @@ Opening the exported xml file in PRImA Research Lab's [LayoutEvalGUI](https://ww
<Page imageFilename="unknown" imageWidth="595" imageHeight="841">
...
```
(Note: if you set the imageFilename attribute above, PAGEViewer will automatically load the image and LayoutEvalGUI will automatically set it as the "Colour image" in step 6)
(Note: if you set the imageFilename attribute above, PAGEViewer will automatically load the image and LayoutEvalGUI will automatically set it as the "Colour image" in step 6)
4. Create a black and white .tif file with those dimensions (to be used in the layout tool).
You can either create a black and white image of the pdf page or (easier) create a blank image and rely on the colour image (see step 5).
To create a blank image: On windows paint can be to create a new image. Set the canvas size and save as .tif file. Or below c# code will do the same job: