imageDuplicate

command module
v0.0.0-...-1aa94db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 23 Imported by: 0

README

imageDuplicate

Golangで自分のために作成
開発環境:rpi4(8gb) golang(go1.17.8 linux/arm64) ffmpeg(4.1.8-0+deb10u1+rpt1)

-起動-

go run main.go -config=config.json check similar files go run main.go -port=8080 preview similar files

json解説

duplicate.json
distance: 類似度
time: 動画の時間(sec)
path,width,height: そのまんま

config.json ffmpeg: ffmpegへのPath(動画がある場合は必須)
search: 検索するディレクトリ
photoAccept: 許容される画像の類似度の最大数値(初期値:5)
videoAccept: 許容される動画の類似度の最大数値(初期値:15)
queueLimit: 並列処理数(初期値:30)

コード元:

Bot Language : https://golang.org/

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL