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.2.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.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snapdedup-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 dc6ac210344352b39bd55b6ae2eeeb64b226251604a844f9bf11bf47ef80bbb7
MD5 cb62bb475bd8f4faa53ab97b18541c15
BLAKE2b-256 6e2579d05229ecf84367c0630085ccca7178aefcd1b5ef825bf5c86e8bb0d14e

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapdedup-0.0.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: snapdedup-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 46f787d5eb6661f4d03dd05992065e567de7802d497ddbb40b70e8fec0036afd
MD5 d1130377ccbf8f5650a4f49428a0efb9
BLAKE2b-256 f8d3b59b86a662c2cfa143e3919b546a048674e8305f372fd8fd9cb0524c370b

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapdedup-0.0.2-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