pjebs / ok-zoomer

A Go program that takes an image, uses pigo to detect a face, and creates a gif that zooms in on the face

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ok-zoomer

Every GIF is a gift.

How it works

TODO

  • write tests
  • port to Go modules
  • allow text message-passed parameters like number of frames, delay, and number of faces to detect
  • put it on an AWS Lambda to make it more scalable, then release the twilio number into the wild
  • add the possibility of rate limiting by using redis to store which gifs were made by which phone numbers, whitelist my own number
  • clean up this code, it was my first Go project so the code is pretty sloppy
  • less manual deployment and check in nginx + supervisor conf in this repo

About

A Go program that takes an image, uses pigo to detect a face, and creates a gif that zooms in on the face

License:MIT License


Languages

Language:Go 97.3%Language:HTML 2.1%Language:Shell 0.6%