Skip to content

Releases: mauwii/PyPatchMatch

v2.0.0b2

v2.0.0b2 Pre-release
Pre-release

Choose a tag to compare

@mauwii mauwii released this 25 Sep 17:41
d8a1332

Second beta of 2.0.0, with fixes from a final review before the release. Please test it,
especially if you rely on seeds, call inpaint from several threads or use
global_mask, and report problems before 2.0.0.

pip install --pre PyPatchMatch==2.0.0b2

Changes that affect results

  • Results for a given seed differ from 2.0.0b1 and 1.x. The randomized search uses a
    per-thread std::mt19937 instead of rand(), so concurrent calls from several
    threads are reproducible and the random sequence no longer depends on the platform's
    C runtime. The quality of the results is unchanged.
  • Pixels under global_mask keep their input values; they came out black before.
    They are still neither filled nor used as a source.

Fixes

  • patch_size < 1 and an empty ijmap raise ValueError instead of crashing or
    hanging.
  • Fixed a data race when several threads start their first inpainting at the same time.
  • C++: the nearest-neighbor field checks target coordinates against the target size.
    This only matters when the classes are used directly, not for Inpainting.

Packaging

  • The wheels include the licenses of the bundled OpenCV code in
    .dist-info/licenses/opencv.
  • The arm64 wheels no longer contain OpenCV's Carotene and KleidiCV libraries and are
    smaller (Linux aarch64: 3.1 MB → 2.0 MB, macOS arm64: 2.8 MB → 1.6 MB).
  • The README lists the supported platforms and documents all public functions,
    including global_mask.

v2.0.0b1

v2.0.0b1 Pre-release
Pre-release

Choose a tag to compare

@mauwii mauwii released this 25 Sep 12:24
987b0e5

What's Changed

  • Add ci workflow to verify buildability by @mauwii in #1
  • add pypi-release.yml by @mauwii in #2
  • Add vscode settings by @mauwii in #3
  • Release v1.0.0 by @mauwii in #4
  • fix pypi-release workflow by @mauwii in #5
  • use pytest and add coverage threshold by @mauwii in #6
  • Increase the required python version to <3.13 by @mauwii in #9
  • Use verbose output when verifying build by @mauwii in #12
  • in pre-commit-check install only dev dependencies by @mauwii in #14
  • Update pre-commit config and use python 3.12 by @mauwii in #16
  • Modernize tooling and build system; ship self-contained wheels by @mauwii in #17

New Contributors

  • @mauwii made their first contribution in #1

Full Changelog: https://github.com/mauwii/PyPatchMatch/commits/v2.0.0b1