stash icon indicating copy to clipboard operation
stash copied to clipboard

[Feature] Videos not being identified as duplicate if reversed

Open joseashb opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Yes, kinda. Whenever a video is image flipped, meaning the Image is rotated, it is not identified as duplicate.

Describe the solution you'd like Scrolling in my medias, I found a duplicate, when investigating, I found one of the video is image is flipped that why it wasnt detected

Describe alternatives you've considered Tweak the duplicate finder to check for duplicate if the image is flipped. (If possible)

joseashb avatar Aug 29 '22 17:08 joseashb

Not possible with how phash is implemented. It generates 25 screenshots of the video and adds them together into a single image and then creates a hash of that image. The distance between the non-flipped version and flipped version is just too great.

You would need to generate a second hash for the flipped version and I think that just creates more problems than it solves.

DogmaDragon avatar Nov 10 '22 16:11 DogmaDragon