- Notifications
You must be signed in to change notification settings - Fork22
Detect duplicate (or similar) images. Written in Go.
License
NotificationsYou must be signed in to change notification settings
rivo/duplo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This Go library allows you to perform a visual query on a set of images, returning the results in the order of similarity. This allows you to effectively detect duplicates with minor modifications (e.g. some colour correction or watermarks).
It is an implementation ofFast Multiresolution Image Querying by Jacobs et al. which uses truncated Haar wavelet transforms to create visual hashes of the images. The same method has previously been used in theimgSeek software and theretrievr website.
go get github.com/rivo/duplo
import"github.com/rivo/duplo"// Create an empty store.store:=duplo.New()// Add image "img" to the store.hash,_:=duplo.CreateHash(img)store.Add("myimage",hash)// Query the store based on image "query".hash,_=duplo.CreateHash(query)matches:=store.Query(hash)sort.Sort(matches)// matches[0] is the best match.
http://godoc.org/github.com/rivo/duplo
- Identify copyright violations
- Save disk space by detecting and removing duplicate images
- Search for images by similarity
- imgdup2go: A visual image duplicate finder.
For more information, please go tohttp://rentafounder.com/find-similar-images-with-duplo/ or get in touch.