FoxxMD / context-mod

an event-based, reddit moderation bot built on top of snoowrap and written in typescript
https://contextmod.dev
MIT License
49 stars 11 forks source link

Implement image comparison #26

Closed FoxxMD closed 2 years ago

FoxxMD commented 2 years ago

When

Implement a way to compare submission image to images from submissions in history.

Notes:

FoxxMD commented 2 years ago

Now using pixelmatch and sharp for all image comparisons.

This works for very in-depth comparisons but should look into implementing a perceptual hash approach so results can be stored/cached in order to scale better.