Releases: mauwii/PyPatchMatch
Releases · mauwii/PyPatchMatch
Release list
v2.0.0b2
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-threadstd::mt19937instead ofrand(), 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_maskkeep their input values; they came out black before.
They are still neither filled nor used as a source.
Fixes
patch_size < 1and an emptyijmapraiseValueErrorinstead 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 forInpainting.
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,
includingglobal_mask.
v2.0.0b1
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
Full Changelog: https://github.com/mauwii/PyPatchMatch/commits/v2.0.0b1