Hide optional content group in PDF with borb for python

103 views Asked by At

I am following this tutorial to add an OCR-layer to scanned PDFs: https://github.com/jorisschellekens/borb-examples#72-performing-ocr-on-a-pdf

However, unlike the pictures in the tutorial, the OCR-layer gets overlayed over the scanned image in the output PDF by default. enter image description here

Is there a way to hide this layer before saving the output PDF?

0

There are 0 answers