PyPatchMatch 2.0.2__py3-none-win_amd64.whl → 2.1.0__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- patchmatch/_version.py +2 -2
- patchmatch/patch_match.py +2 -2
- patchmatch/patchmatch.dll +0 -0
- {pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/METADATA +4 -3
- pypatchmatch-2.1.0.dist-info/RECORD +16 -0
- pypatchmatch-2.0.2.dist-info/RECORD +0 -16
- {pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/WHEEL +0 -0
- {pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/licenses/LICENSE +0 -0
- {pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/licenses/opencv/SoftFloat-COPYING.txt +0 -0
- {pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/licenses/opencv/dlpack-LICENSE +0 -0
- {pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/licenses/opencv/flatbuffers-LICENSE.txt +0 -0
- {pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/licenses/opencv/opencv-LICENSE +0 -0
- {pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/licenses/opencv/zlib-LICENSE +0 -0
- {pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/sboms/opencv.cdx.json +0 -0
patchmatch/_version.py
CHANGED
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '2.0
|
|
22
|
-
__version_tuple__ = version_tuple = (2,
|
|
21
|
+
__version__ = version = '2.1.0'
|
|
22
|
+
__version_tuple__ = version_tuple = (2, 1, 0)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
patchmatch/patch_match.py
CHANGED
|
@@ -259,5 +259,5 @@ def _canonize_mask_array(mask: ImageLike) -> np.ndarray:
|
|
|
259
259
|
|
|
260
260
|
def _default_mask(image: np.ndarray) -> np.ndarray:
|
|
261
261
|
"""Treat all pure white pixels as holes."""
|
|
262
|
-
mask = (image == 255).all(axis=2, keepdims=True)
|
|
263
|
-
return np.
|
|
262
|
+
mask: np.ndarray = (image == 255).all(axis=2, keepdims=True)
|
|
263
|
+
return mask.astype(np.uint8)
|
patchmatch/patchmatch.dll
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyPatchMatch
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: This library implements the PatchMatch based inpainting algorithm.
|
|
5
5
|
Keywords: inpainting,patchmatch,image-processing,opencv
|
|
6
6
|
Author-Email: The InvokeAI Project <lincoln.stein@gmail.com>, Jiayuan Mao <maojiayuan@gmail.com>, Kyle Schouviller <kyle0654@hotmail.com>, Matthias Wild <mauwii@outlook.de>, Younesse ANDAM <younesse.andam@gmail.com>
|
|
@@ -30,19 +30,20 @@ Description-Content-Type: text/markdown
|
|
|
30
30
|
|
|
31
31
|
# PatchMatch based Inpainting
|
|
32
32
|
|
|
33
|
-
[](https://github.com/mauwii/PyPatchMatch/actions/workflows/ci.yml)
|
|
34
33
|
[](https://sonarcloud.io/summary/new_code?id=mauwii_PyPatchMatch)
|
|
35
34
|
[](https://github.com/mauwii/PyPatchMatch/blob/main/LICENSE)
|
|
36
35
|
[](https://pypi.org/project/PyPatchMatch/)
|
|
37
36
|
[](https://pepy.tech/projects/pypatchmatch)
|
|
38
37
|
[](https://github.com/astral-sh/ruff)
|
|
38
|
+
[](https://github.com/DietrichGebert/ponytail)
|
|
39
|
+
[](https://github.com/JuliusBrussee/caveman)
|
|
39
40
|
|
|
40
41
|
This library implements the PatchMatch based inpainting algorithm. It provides both C++
|
|
41
42
|
and Python interfaces. This implementation is heavily based on the implementation by
|
|
42
43
|
Younesse ANDAM: [younesse-cv/PatchMatch](https://github.com/younesse-cv/PatchMatch),
|
|
43
44
|
with some bug fixes, and updates.
|
|
44
45
|
|
|
45
|
-

|
|
46
47
|
|
|
47
48
|
From left to right: the photo, the input of
|
|
48
49
|
[examples/py_example.py](https://github.com/mauwii/PyPatchMatch/blob/main/examples/py_example.py)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
patchmatch/__init__.py,sha256=Xg_AyDjCY9obrk95tzu6h0ox1fttEczi_OKu3ycsSvM,345
|
|
2
|
+
patchmatch/_lib.py,sha256=KKEeHtn4I0IcRdG49FQV_xpezcar9LqlGD-kvf-pZiM,3740
|
|
3
|
+
patchmatch/_version.py,sha256=CA0QMwNdN31xaPguElVMtu0XzlYbZkXUdKk_RYgFCjg,544
|
|
4
|
+
patchmatch/patch_match.py,sha256=TlmBMxgqk5vdepAoZgduy2axJJBHHYLFuMENc3DnIv4,9424
|
|
5
|
+
patchmatch/patchmatch.dll,sha256=Fua2_pvH_n2J0NCQBI9E-rvalL5gEQLRaxMNBZkY3D0,1553408
|
|
6
|
+
patchmatch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
pypatchmatch-2.1.0.dist-info/METADATA,sha256=pWtaQBm8NLLzdodeZ3lbN5zm3300YhAz0A7BZ8s0Qmc,8640
|
|
8
|
+
pypatchmatch-2.1.0.dist-info/WHEEL,sha256=QOQSSLDAidk39OMVpTfE4kjgcxpaKg4ohhjJQ7vAJpA,102
|
|
9
|
+
pypatchmatch-2.1.0.dist-info/licenses/LICENSE,sha256=6VGSBzoFC-2RWaUpfSom3IlBW3AZfOwDuZrVzOmfN_E,1101
|
|
10
|
+
pypatchmatch-2.1.0.dist-info/licenses/opencv/dlpack-LICENSE,sha256=Po9rw5J2pYbWDIxars4v-YkmIYHPKz0qEo21j5epMAw,11345
|
|
11
|
+
pypatchmatch-2.1.0.dist-info/licenses/opencv/flatbuffers-LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
12
|
+
pypatchmatch-2.1.0.dist-info/licenses/opencv/opencv-LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
13
|
+
pypatchmatch-2.1.0.dist-info/licenses/opencv/SoftFloat-COPYING.txt,sha256=DFsINlE22lJjnXd_Hr_AOYiwFp2AZVyQxZ8bP6PlJqI,1732
|
|
14
|
+
pypatchmatch-2.1.0.dist-info/licenses/opencv/zlib-LICENSE,sha256=4y_04A2dlJMFN2NSkdo55-YScDM0v2_ejH8Whv6KRaI,1002
|
|
15
|
+
pypatchmatch-2.1.0.dist-info/sboms/opencv.cdx.json,sha256=ATex-BysD8SgsmzwbF8T3jwHedHA_RBYyqgJlC-Amew,866
|
|
16
|
+
pypatchmatch-2.1.0.dist-info/RECORD,,
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
patchmatch/__init__.py,sha256=Xg_AyDjCY9obrk95tzu6h0ox1fttEczi_OKu3ycsSvM,345
|
|
2
|
-
patchmatch/_lib.py,sha256=KKEeHtn4I0IcRdG49FQV_xpezcar9LqlGD-kvf-pZiM,3740
|
|
3
|
-
patchmatch/_version.py,sha256=ipBLbz_DzIdbN7o8rhQ_qQaSGyFnROBxzHlE8soIfNw,544
|
|
4
|
-
patchmatch/patch_match.py,sha256=NPTKbLRc3IzbooV_5hu_imxBEZ2gbWyKLS0XRnjIVOE,9434
|
|
5
|
-
patchmatch/patchmatch.dll,sha256=AQ_VgCwUpN7pisGgAOl5CtfIPWFIi3jrNwrd2-HkA90,1537024
|
|
6
|
-
patchmatch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
pypatchmatch-2.0.2.dist-info/METADATA,sha256=_hbdKCIKVMDP-ETiQmkwRsg4moMJrsu3yEakEGygFjk,8564
|
|
8
|
-
pypatchmatch-2.0.2.dist-info/WHEEL,sha256=QOQSSLDAidk39OMVpTfE4kjgcxpaKg4ohhjJQ7vAJpA,102
|
|
9
|
-
pypatchmatch-2.0.2.dist-info/licenses/LICENSE,sha256=6VGSBzoFC-2RWaUpfSom3IlBW3AZfOwDuZrVzOmfN_E,1101
|
|
10
|
-
pypatchmatch-2.0.2.dist-info/licenses/opencv/dlpack-LICENSE,sha256=Po9rw5J2pYbWDIxars4v-YkmIYHPKz0qEo21j5epMAw,11345
|
|
11
|
-
pypatchmatch-2.0.2.dist-info/licenses/opencv/flatbuffers-LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
12
|
-
pypatchmatch-2.0.2.dist-info/licenses/opencv/opencv-LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
13
|
-
pypatchmatch-2.0.2.dist-info/licenses/opencv/SoftFloat-COPYING.txt,sha256=DFsINlE22lJjnXd_Hr_AOYiwFp2AZVyQxZ8bP6PlJqI,1732
|
|
14
|
-
pypatchmatch-2.0.2.dist-info/licenses/opencv/zlib-LICENSE,sha256=4y_04A2dlJMFN2NSkdo55-YScDM0v2_ejH8Whv6KRaI,1002
|
|
15
|
-
pypatchmatch-2.0.2.dist-info/sboms/opencv.cdx.json,sha256=ATex-BysD8SgsmzwbF8T3jwHedHA_RBYyqgJlC-Amew,866
|
|
16
|
-
pypatchmatch-2.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/licenses/opencv/SoftFloat-COPYING.txt
RENAMED
|
File without changes
|
{pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/licenses/opencv/dlpack-LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{pypatchmatch-2.0.2.dist-info → pypatchmatch-2.1.0.dist-info}/licenses/opencv/opencv-LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|