How to handle duplicate images

I’ve just started using some software to recognise similar images and remove these before I upload them (ImageMagick). The photos from my dashcam don’t have the compass angle and this seems to stop mapillary_tools from removing the duplicates.

Takes a little while to run (maybe 1 second or so per photo) but much faster and easier than me doing it manually.