Commit ace19d58 authored by Philipp Zumstein's avatar Philipp Zumstein
Browse files

Change checks for write_page_segmentation

parent 986e75ea
......@@ -279,7 +279,7 @@ def read_page_segmentation(fname):
segmentation = make_seg_black(segmentation)
return segmentation
@checks(str,PAGESEG)
@checks(str,_=PAGESEG)
def write_page_segmentation(fname,image):
"""Writes a page segmentation, that is an RGB image whose values
encode the segmentation of a page."""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment