Add phash generation and dupe checking (#1158)

This commit is contained in:
InfiniteTF
2021-04-12 01:04:40 +02:00
committed by GitHub
parent a2582047ca
commit c38660d209
70 changed files with 4342 additions and 214 deletions

View File

@@ -8,6 +8,7 @@ type SceneReader interface {
FindByPath(path string) (*Scene, error)
FindByPerformerID(performerID int) ([]*Scene, error)
FindByGalleryID(performerID int) ([]*Scene, error)
FindDuplicates(distance int) ([][]*Scene, error)
CountByPerformerID(performerID int) (int, error)
// FindByStudioID(studioID int) ([]*Scene, error)
FindByMovieID(movieID int) ([]*Scene, error)