Skip to content

Restructure

  • Installing the project previously installed it as scripts.* and lib.* this means that it easily clashed with other modules doing the same. Changed folder structure.
page-segmentation
+-- scripts
+-- lib

to

page-segmentation
+-- pagesegmentation
|    +-- scripts
|    +-- lib
+--
  • Added mains to compute_image_normalizations and create_dataset_file.
def main():
# previous code without header imports

if __name__ == '__main__':
    main()
  • Combined page-segmentation-train and page-segmentation-predict to page-segmentation train|predict.
page-segmentation train
page-segmentation predict
  • Added compute_image_normalizations and create_dataset_file to page-segmentation
page-segmentation create_dataset_file
page-segmentation compute_image_normalizations
  • Added help to page-segmentation to describe existing commands

Merge request reports