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
Metadata
Release files for snapdedup 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| snapdedup-0.0.2.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| snapdedup-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / snapdedup-0.0.2.tar.gz
| Download URL | snapdedup-0.0.2.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc6ac210344352b39bd55b6ae2eeeb64b226251604a844f9bf11bf47ef80bbb7
|
|
BLAKE2b-256 checksum How to use checksums |
6e2579d05229ecf84367c0630085ccca7178aefcd1b5ef825bf5c86e8bb0d14e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2025.
Transparency logRelease files / snapdedup-0.0.2-py3-none-any.whl
| Download URL | snapdedup-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46f787d5eb6661f4d03dd05992065e567de7802d497ddbb40b70e8fec0036afd
|
|
BLAKE2b-256 checksum How to use checksums |
f8d3b59b86a662c2cfa143e3919b546a048674e8305f372fd8fd9cb0524c370b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2025.
Transparency log