varg-gif-repsonse #1

Closed
opened 2023-04-14 11:18:48 -04:00 by adam · 0 comments
Owner

joe loves his varg gif, right?

imgur has repost-detection bot, which used a pretty simple idea: grab image, crush to grayscale, crush to very low res, checksum.

for video, that could be done for every frame. joe's favorite gif is 56 frames, right?

grab gif. Split frames. If frames < some threshold, like 500, continue.
checksum each frame.
if majority of checksums match a known varg-gif's checksums, mostly in the same order (*), probably same image. Respond with snark.

should I collect known varg gifs?

should I recalculate gifs? I could use ffmpeg to change its framerate: ffmpeg -i ./vargvikerness-smile.gif -filter:v fps=fps=5 varg.gif. don't ask me how this actually doubled the file size.

joe loves his varg gif, right? imgur has repost-detection bot, which used a pretty simple idea: grab image, crush to grayscale, crush to very low res, checksum. for video, that could be done for every frame. joe's favorite gif is 56 frames, right? grab gif. Split frames. If frames < some threshold, like 500, continue. checksum each frame. if majority of checksums match a known varg-gif's checksums, mostly in the same order (\*), probably same image. Respond with snark. should I collect known varg gifs? should I recalculate gifs? I could use ffmpeg to change its framerate: `ffmpeg -i ./vargvikerness-smile.gif -filter:v fps=fps=5 varg.gif`. don't ask me how this actually doubled the file size.
adam added the
enhancement
label 2023-04-14 11:18:48 -04:00
adam closed this issue 2023-12-01 22:46:06 -05:00
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: adam/discord-bot-shtik#1
No description provided.