Metadata-Version: 2.1
Name: pdqhash
Version: 0.1.3
Summary: Python bindings for Facebook's PDQ hash
Home-page: https://github.com/faustomorales/pdqhash-python
Author: Fausto Morales
Author-email: faustomorales@gmail.com
License: MIT
Description: # pdqhash-python
        These are Python bindings to the PDQ perceptual hash released by Facebook. Note that the bindings are provided under the MIT license but the PDQ source code is licensed separately under its own license (see the `ThreatExchange/hashing/pdq` folder).
        
        ## Installation
        
        ```
        pip install pdqhash
        ```
        
        ## Usage
        
        ```
        import pdqhash
        
        image = cv2.imread(os.path.join('tests', 'images', image_name))
        image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
        hash_vector, quality = pdqhash.compute(image)
        ```
        
        ## Contributing
        - Set up local development using `make init` (you need to have `pipenv` installed)
        - Run tests using `make test`
        - Run tests in Docker using `make docker_test`
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
