Skip to content

SlashDK/Memify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Memify

An app to turn yourself (or anyone for that matter) into a meme. It takes in a live webcam feed and displays the current locations of everyone’s facial features. When satisfied, press the relevant key (eg. p for thug lyf) to turn yourself into the meme.

Uses OpenCV, numpy and a bit of command line stuff (ffmpeg).

To run directly (no setup/ compilation/ libraries etc. required), extract Memify Just Run.zip and Run dist->Memify->Memify
(This works on macOS for sure. Can't say anything about Linux. Does NOT work on Windows. A pyinstaller .spec file is included if someone wants to make a Windows/Linux version of the file.)

How to add a meme:

  1. Create a function for the meme.
  2. Declare function with the shown parameters:
    def meme1(frame,faces,mouths,eyes)
  3. Import images.
    Currently done using cv2.imread()
  4. Place the image over the frame.
    Currently done using numpy
  5. Export the frame if wanted.
    Currently done using cv2.imwrite()
  6. Return the frame.
  7. Follow code for thug lyf in capVideo(), adding new code in an else if statement.

About

An app to turn images from a webcam feed into memes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages