mirror of
https://github.com/docling-project/docling-core.git
synced 2026-11-18 20:27:00 +00:00
OpenCV's imencode defaults to compression level 1 while PIL's PNG encoder defaults to 6, so PNGs from the cv2 path were 30-60% larger for identical pixels. Regenerated the affected test ground truth. Fixes #758 Signed-off-by: Yiorgis Gozadinos <ggozadinos@gmail.com>
166 lines
3.1 KiB
XML
166 lines
3.1 KiB
XML
<doclang>
|
|
<list>
|
|
<ldiv>
|
|
<marker>■</marker>
|
|
</ldiv>
|
|
</list>
|
|
<heading></heading>
|
|
<text></text>
|
|
<text></text>
|
|
<heading level="2"></heading>
|
|
<text></text>
|
|
<list>
|
|
<ldiv>
|
|
<marker>■</marker>
|
|
</ldiv>
|
|
<ldiv>
|
|
<marker>■</marker>
|
|
</ldiv>
|
|
<ldiv>
|
|
<marker>■</marker>
|
|
</ldiv>
|
|
<text></text>
|
|
<list class="ordered">
|
|
<ldiv/>
|
|
<ldiv/>
|
|
<ldiv/>
|
|
<text></text>
|
|
<list class="ordered">
|
|
<ldiv/>
|
|
</list>
|
|
</list>
|
|
<ldiv>
|
|
<marker>■</marker>
|
|
</ldiv>
|
|
</list>
|
|
<table>
|
|
<caption>This is the caption of table 1.</caption>
|
|
<fcel/>
|
|
Product
|
|
<fcel/>
|
|
Years
|
|
<lcel/>
|
|
<nl/>
|
|
<ucel/>
|
|
<fcel/>
|
|
2016
|
|
<fcel/>
|
|
2017
|
|
<nl/>
|
|
<fcel/>
|
|
Apple
|
|
<fcel/>
|
|
49823
|
|
<fcel/>
|
|
695944
|
|
<nl/>
|
|
</table>
|
|
<picture>
|
|
<caption>This is the caption of figure 1.</caption>
|
|
</picture>
|
|
<picture>
|
|
<caption>This is the caption of figure 2.</caption>
|
|
<src uri="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAAIklEQVRoge3BAQ0AAADCoPdPbQ8HFAAAAAAAAAAAAAAA8G4wQAAB9qDgAAAAAABJRU5ErkJggg=="/>
|
|
</picture>
|
|
<list>
|
|
<ldiv>
|
|
<marker>■</marker>
|
|
</ldiv>
|
|
</list>
|
|
<list>
|
|
<ldiv>
|
|
<marker>*</marker>
|
|
</ldiv>
|
|
<ldiv/>
|
|
</list>
|
|
<list>
|
|
<ldiv>
|
|
<marker>■</marker>
|
|
</ldiv>
|
|
<ldiv>
|
|
<marker>■</marker>
|
|
</ldiv>
|
|
<text></text>
|
|
<list>
|
|
<ldiv>
|
|
<marker>□</marker>
|
|
</ldiv>
|
|
<ldiv>
|
|
<marker>□</marker>
|
|
</ldiv>
|
|
<ldiv>
|
|
<marker>□</marker>
|
|
</ldiv>
|
|
</list>
|
|
</list>
|
|
<code>
|
|
<label value="Python"/>
|
|
<![CDATA[print("Hello world")]]> </code>
|
|
<formula></formula>
|
|
<text></text>
|
|
<code>
|
|
<label value="Python"/>
|
|
<![CDATA[print("Hello world")]]> </code>
|
|
<text></text>
|
|
<formula></formula>
|
|
<text></text>
|
|
<list class="ordered">
|
|
<ldiv>
|
|
<marker>(i)</marker>
|
|
</ldiv>
|
|
<ldiv>
|
|
<marker>(ii)</marker>
|
|
</ldiv>
|
|
<ldiv>
|
|
<marker>(iii)</marker>
|
|
</ldiv>
|
|
<text></text>
|
|
<list class="ordered">
|
|
<ldiv/>
|
|
<ldiv>
|
|
<marker>42.</marker>
|
|
</ldiv>
|
|
<text></text>
|
|
<list class="ordered">
|
|
<ldiv/>
|
|
<ldiv/>
|
|
</list>
|
|
<ldiv/>
|
|
</list>
|
|
<ldiv>
|
|
<marker>(iv)</marker>
|
|
</ldiv>
|
|
</list>
|
|
<list>
|
|
<ldiv/>
|
|
</list>
|
|
<text></text>
|
|
<picture>
|
|
<location value="5"/>
|
|
<location value="492"/>
|
|
<location value="15"/>
|
|
<location value="502"/>
|
|
<caption>Picture Caption</caption>
|
|
<description>Picture Description</description>
|
|
<summary>Picture Summary</summary>
|
|
</picture>
|
|
<picture>
|
|
<label value="pie_chart"/>
|
|
<location value="5"/>
|
|
<location value="492"/>
|
|
<location value="15"/>
|
|
<location value="502"/>
|
|
<caption>Picture Caption</caption>
|
|
<description>Picture Description</description>
|
|
<summary>Picture Summary</summary>
|
|
</picture>
|
|
<code>0 == 0</code>
|
|
<code>
|
|
<location value="5"/>
|
|
<location value="492"/>
|
|
<location value="15"/>
|
|
<location value="502"/>
|
|
with location
|
|
</code>
|
|
</doclang>
|