【文件属性】:
文件名称:disgo:GO中的重复图像搜索
文件大小:13KB
文件格式:ZIP
更新时间:2021-04-29 08:25:42
Go
GO中的重复图像搜索
该程序包仍在开发中,但在我自己的测试中效果很好。
例子
package main
import "fmt"
import "github.com/abates/disgo"
func main () {
// Create a disgo database with the default radix index
db , _ := disgo . New ()
// load an image into the database and get the hash back
file , _ := os . Open ( "test.png" )
hash , _ := db . AddFile ( file )
fmt . Printf ( "Image Hash: x \n " , hash )
// search for al
【文件预览】:
disgo-develop
----.gitignore(279B)
----README.md(1KB)
----database_test.go(5KB)
----LICENSE(11KB)
----radix.go(6KB)
----radix_test.go(8KB)
----database.go(2KB)
----.travis.yml(193B)
----linear.go(713B)
----api.go(203B)
----hash.go(1KB)
----hash_test.go(3KB)