Skip to main content

# DuplicaDetector

## Installation

> pip3 install DuplicaDetector

## Information

  • You’ll need to create a folder called “pictures” (will be able to rename later) to save the pictures you upload to the lib.;

  • DuplicaDetector will create a file called “db.pkl”, it is the database it’s using. If you want to start over you can just delete it or rename it

## Usage

### Import

> from DuplicaDetector import ImageChecker

> im = ImageChecker()

OR > import DuplicaDetector as dd

> im = dd.ImageChecker()

OR > import DuplicaDetector

> im = DuplicaDetector.ImageChecker()

### Check if an image is in database - DoesExist() This function will check if the image already exist in the database by checking multiple values

##### Call > im = ImageChecker() > im.DoesExist(“path_to_the_image”)

#### Return DoesExist returns an object with two values callable as method: - *path*

Gives the path to the image as a string > im.DoesExist(“path_to_the_image”).path -> “path_to_image”

  • *exists*

Tells if the image already existed or if it has been created as a boolean > im.DoesExist(“path_to_the_image”).exists -> True

### Exit - Exit() The Exit() function saves the database

#### Call > im = ImageChecker()

> im.Exit()

#### Return The Exit() function does not return anything

## License MIT

Release files for DuplicaDetector 2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DuplicaDetector 2.5
File Size Uploaded
DuplicaDetector-2.5.tar.gz 3.1 kB Details

Release files / DuplicaDetector-2.5.tar.gz

Download URL DuplicaDetector-2.5.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
596c1f66e1c529f0d20b5e65e7b3d8d95fffe3d0630b747b6a5fcd976e3d40f0
BLAKE2b-256 checksum
How to use checksums
4cd6b260192d4580371f9574fc7e4b2e731f5e3b11dbc31527a67f49eeb7bddd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

2.5 This release

1 release file

2.0

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page