varg gif response #11

Open
opened 2023-05-30 23:52:14 -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
Feature
label 2023-05-30 23:52:14 -04:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
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: greyn/vassago#11
No description provided.