This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import imagehash | |
from PIL import Image | |
import numpy as np | |
def combine_hashes_mode(*hashes): | |
""" | |
Combina più hash di immagini utilizzando la modalità per ciascun bit. | |
Controlla anche se un'immagine è completamente nera o bianca. | |
Parameters: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import itertools | |
import string | |
import time | |
import os | |
import logging | |
from multiprocessing import Pool, cpu_count, Manager | |
# Configurazione dei logger | |
logger = logging.getLogger() |
OlderNewer