Skip to content

Commit

Permalink
bump version to 1.0.6 and add default output path for `copy_move.dete…
Browse files Browse the repository at this point in the history
…ct_and_export()`
  • Loading branch information
rahmatnazali committed Feb 3, 2023
1 parent a2d2e99 commit df1eb84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pimage"
version = "1.0.5"
version = "1.0.6"
keywords = ["image", "copy-move", "attack", "detection"]
authors = [
{ name="Rahmat Nazali Salimi", email="rahmatnazali95@gmail.com" },
Expand Down
2 changes: 1 addition & 1 deletion src/pimage/copy_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def detect(input_path, block_size=32, verbose=False) -> Tuple[List, numpy.ndarra
return single_image.run()


def detect_and_export(input_path, output_path, block_size=32, verbose=False):
def detect_and_export(input_path, output_path=".", block_size=32, verbose=False):
"""
Detects an image under a specific directory and export the result into image file
"""
Expand Down

0 comments on commit df1eb84

Please sign in to comment.