Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
erdogant committed Apr 22, 2022
1 parent 21393d2 commit 1406162
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified docs/pages/doctrees/environment.pickle
Binary file not shown.
4 changes: 2 additions & 2 deletions undouble/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
model.import_data(r'D:\REPOS\undouble\undouble\data\flower_images/')

# Compute image-hash
model.compute_hash(method='phash', hash_size=6)
model.compute_hash(method='phash', hash_size=16)

# Find images with image-hash <= threshold
model.group(threshold=5)
Expand All @@ -32,7 +32,7 @@
model.plot_hash()

model.plot_hash(filenames=['deson.png', 'deson-copy.png'])
model.plot_hash(filenames=['NOVA-NA-Dry-Iron-Grey-SDL881739255-1-3a886.jpeg', 'nova-plus-1100-w-amaze-ni-10-original-imaf3qxpabhhdwss.jpeg'], title='')
model.plot_hash(filenames=['NOVA-NA-Dry-Iron-Grey-SDL881739255-1-3a886.jpeg', 'nova-plus-1100-w-amaze-ni-10-original-imaf3qxpabhhdwss.jpeg'])

import pandas as pd
df = pd.DataFrame(index=[model.results['filenames']], data=model.results['img_hash_hex'], columns=['image_hash_hex'])
Expand Down

0 comments on commit 1406162

Please sign in to comment.