Best algorithm or other solution for photo compare


user1010

Active member
Member
Local time
5:15 PM
Posts
84
OS
Windows 11
Have a bunch of pictures I want to compare to track down the duplicates except the backup. It's kind of "mess" right now with the structure.

Was thinking of making a powershell script and wonder if "Get-FileHash, such as SHA256, SHA512, or even SHA1" should work OK for this? Or is it any better method?
 
Windows Build/Version
Windows 11

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    Intel Core i7-13700
    Motherboard
    ASUS TUF GAMING B760-PLUS WIFI
    Memory
    Corsair VENGEANCE DDR5 32GB
    Graphics Card(s)
    MSI GeForce RTX 4060 Ti VENTUS 3X 16GB OC
    Monitor(s) Displays
    Samsung LS32AG504
    Hard Drives
    Kingston Fury Renegade M.2 2TB SSD
    PSU
    Corsair RM850X 2021 / 850W / 80+ Gold
    Browser
    Chrome
    Antivirus
    Defender
Get-FileHash should work just fine. I would recommend using SHA256, while slower it has a nearly 0% chance of having a collision (meaning where two non-duplicate files end up having the same hash).
 

My Computer

System One

  • OS
    Windows 11
I use VisiPics for that task, it works pretty well. You can tune it to select how close a match you want, and it takes the resolution of each picture into consideration. It worked great for sorting out my downloaded wallpaper files, I just grabbed a bunch and then sorted out the duplicates. :)
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14500
    Motherboard
    Gigabyte B760M G P WIFI
    Memory
    64GB DDR4
    Graphics Card(s)
    GeForce RTX 4060
    Sound Card
    Chipset Realtek
    Monitor(s) Displays
    LG 45" Ultragear, Acer 24" 1080p
    Screen Resolution
    5120x1440, 1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 3D NAND NVMe M.2 SSD
    Silicon Power 2TB US75 Nvme PCIe Gen4 M.2 2280 SSD
    Crucial BX500 2TB 3D NAND
    PSU
    Thermaltake Toughpower GF3 750W
    Case
    LIAN LI LANCOOL 216 E-ATX PC Case
    Cooling
    Lots of fans!
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
  • Operating System
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14400
    Motherboard
    Gigabyte B760M DS3H AX
    Memory
    32GB DDR5
    Graphics card(s)
    Intel 700 Embedded GPU
    Sound Card
    Realtek Embedded
    Monitor(s) Displays
    17" HP 1080p
    Screen Resolution
    1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 eD NAND PCIe SSD
    Samsung EVO 990 2TB NVMe Gen4 SSD
    Samsung 2TB SATA SSD
    PSU
    Thermaltake Smart BM3 650W
    Case
    Okinos Micro ATX Case
    Cooling
    Fans
    Mouse
    Logitech G305
    Keyboard
    Microsoft Comfort Curve 2000
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
Back
Top Bottom