Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@mantasu mantasu released this 23 Jun 08:39

Changelog

Bugs

  • Fixed undefined behavior when landmarks are provided in advance but not for all the image files. Now only those image files will be processed for which the landmarks are specified.
  • Fixed undeclared paddings variable when landmarks are provided in advance. paddings are now set to None indicating images are unpadded.
  • Fixed garbage outputs when Cropper is instantiated multiple times.
  • Fixed documentation typos. I realized that neckless means a being without a neck, not a necklace. Big brane.

Behavior

  • Changed default padding to constant (to avoid heads coming out of heads)
  • Changed default enh_threshold to None (to avoid unnecessarily wasting time on enhancement)

Features

  • Added desc argument in process_dir which allows to specify the description for the progress bar (useful when calling the function multiple times) or disable it if specified as None
  • Added a utility function clean_names to rename file names (with an in-place option) to be cross-os-compatible.