Skip to content

Commit df1eb84

Browse files
committed
bump version to 1.0.6 and add default output path for copy_move.detect_and_export()
1 parent a2d2e99 commit df1eb84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "pimage"
10-
version = "1.0.5"
10+
version = "1.0.6"
1111
keywords = ["image", "copy-move", "attack", "detection"]
1212
authors = [
1313
{ name="Rahmat Nazali Salimi", email="[email protected]" },

src/pimage/copy_move.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def detect(input_path, block_size=32, verbose=False) -> Tuple[List, numpy.ndarra
2727
return single_image.run()
2828

2929

30-
def detect_and_export(input_path, output_path, block_size=32, verbose=False):
30+
def detect_and_export(input_path, output_path=".", block_size=32, verbose=False):
3131
"""
3232
Detects an image under a specific directory and export the result into image file
3333
"""

0 commit comments

Comments
 (0)