Skip to main content

Python Library to process and compare images.

Project description

snapdedup

  • snapdedup is a Python package for processing images, including comparing two images and highlighting the differences.

Installation

  • You can install the package via pip:

  • pip install snapdedup
    

Usage

  • Here's a basic example of how to use the SnapDifferentiator class to display the difference between two images

  • import os
    from snapdedup.snap_differentiator import SnapDifferentiator
    
    # Define paths
    dir = 'img'
    op_directory = 'op_img_dir'
    image_1 = 'img_prep_1.png'
    image_2 = 'img_prep_2.png'
    
    # Create an instance of SnapDifferentiator
    img_p = SnapDifferentiator()
    
    # Display and save the difference between the two images
    img_p.display_difference(os.path.join(dir, image_1), os.path.join(dir, image_2), os.path.join(dir, op_directory), is_cv_read=False)
    

Running Tests

  • To run tests, you need to have these installed.
    • pytest
    • pytest-cov

Improvements or Issues

  • Other image processing features
  • Please email us if you find any issues.

Contact

  • Please mail us if you have any issues.
  • Make sure to put subject as --> Improvements for python library

License

  • MIT License

Acknowledgements

  • Stackoverflow

Developers

  • Sarthak Gholap
  • Harshit Dalal

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snapdedup-0.0.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snapdedup-0.0.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file snapdedup-0.0.1.tar.gz.

File metadata

  • Download URL: snapdedup-0.0.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for snapdedup-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8869721a9ff4dcdc6e8dff8dd8ed9795e0a431415a40af749bfdb2b9330395d2
MD5 cc3f1ba030d8e65c1a1c92ed6f48fe99
BLAKE2b-256 81e7e34c97ab5dd6f11195869f2d0d8226245490d3ad0949f974d7bda6d9a546

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapdedup-0.0.1.tar.gz:

Publisher: python-publish.yaml on Sarthak-Gholap/snapdedup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapdedup-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: snapdedup-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for snapdedup-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0622e817b5a7ebc146f8ea5246e3bb35a284fc8a3417089e372a864ca6eae8a1
MD5 d6b3f0d6e6548da2c55857cf143b56c9
BLAKE2b-256 9fa1b8fe6a4a4d23183cbb633a2bef2097262692fbf8edb7904bf10c31e6bf8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapdedup-0.0.1-py3-none-any.whl:

Publisher: python-publish.yaml on Sarthak-Gholap/snapdedup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page