Best algorithm or other solution for photo compare


user1010

Well-known member
Member
Local time
5:02 PM
Posts
169
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 My Computer

At a glance

Windows 11Intel Core i7-13700Corsair VENGEANCE DDR5 32GBMSI GeForce RTX 5070 12G VENTUS 2X OC
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 5070 12G VENTUS 2X 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 My Computer

At a glance

Linux Mint
OS
Linux Mint
Computer type
Laptop
Manufacturer/Model
System76 Lemur Pro
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 My Computers

  • At a glance

    Win 11 Pro 25H2, Build 26200.9278Intel Core i5 14500, 14th Generation64GB DDR4GeForce RTX 4060
    OS
    Win 11 Pro 25H2, Build 26200.9278
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14500, 14th Generation
    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 (O/S)
    Silicon Power 2TB US75 NVMe PCIe Gen4 M.2 2280 SSD (backup)
    Crucial BX500 2TB 3D NAND (2nd backup)
    Seagate 4TB Ironwolf, rotating HDD secondary backup
    External off-line backup Drives: 2 NVMe 4TB drives in external enclosures
    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 Defender Security
  • At a glance

    Win 11 Pro 25H2, Build 26200.9168Intel Core i5 1440032GB DDR5Intel 700 Embedded GPU
    Operating System
    Win 11 Pro 25H2, Build 26200.9168
    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
    27" HP 1080p
    Screen Resolution
    1920x1080
    Hard Drives
    Crucial P310 2TB NVMe Gen4 SSD
    Samsung EVO 990 2TB NVMe Gen4 SSD
    Samsung 2TB SATA SSD
    Seagate 4TB Ironwolf, rotating HDD secondary backup
    PSU
    Thermaltake Smart BM3 650W
    Case
    Okinos Micro ATX Case
    Cooling
    Fans
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Defender Security
  • Nimo N171 17" Laptop, (Intel i3-1215U, 16GB RAM, 2TB NVMe, Win11 Pro)
    Acemagic Vista Mini PC V1 (Intel N150, 16GB RAM, 1TB NVMe, Win11 Pro)
    HP ENVY h8-1540t, (24GB RAM, 2TB SSD, 2TB HDD, Win11 Pro)
Back
Top Bottom