Python package undouble is to detect (near-)identical images.
[IJCAI 2022] Scene Separation & Data Selection: Temporal Segmentation Algorithm for Real-Time Video Stream Analysis. Pre-print available in the link below.