dhlab-epfl / dhSegment

Generic framework for historical document processing
https://dhlab-epfl.github.com/dhSegment
GNU General Public License v3.0
370 stars 116 forks source link

Two minor tweaks to demo.py and PAGE.py #10

Closed Jim-Salmons closed 6 years ago

Jim-Salmons commented 6 years ago

With imageio version 2.3.0 on my Windows box, the optional 'mode' param on the call to imread in demo.py needs to be 'pilmode'. And in PAGE.py, the call to datetime.now needs to pass into a call to .isoformat in order to generate PAGEgts compliant XML files.

solivr commented 6 years ago

Looks good, thanks.