Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
/ RedEye Public archive

I place the red-eye-meme-effect on you. Live.

Notifications You must be signed in to change notification settings

TheSwerik/RedEye

Repository files navigation

RedEye Build status

At first this was a Project for learning ML.NET but I ended up not using it at all because Emgu.CV worked way better and easier.

If you want to try your own images, then place them in your Pictures folder under RedEye\Sources. Your saved Images will also be located in your Pictures folder under RedEye\Screenshots.

Configuration

If you want to change any settings, then edit the RedEye\config.csv in your Documents folder.

Setting Description
StartWithCamera Set if you want to start with camera when the program loads up (or with images). true | false
EyeImageVerticalOffset Moves the Red-Meme-Texture down by this amount. Integer
DetectionFrequency How often the programs tries to detect your eyes per second (this is automatically capped at your cameras framerate and if you set this too high, the program might crash). Integer > 0
Neighbors Basically: How precise should the detection be. If you set it too high, it won't detect anything and if you set it too low, it might detect other things as eyes (use very small numbers, like 1 or 2). Integer >= 0
PickAverage Basically: It detects mutliple things as eyes and if you set this to true it will place the Meme-Texture over the average of every found eye location (I suggest false). true | false
DrawRectangles Set if you want to draw rectangles over the areas where the program found your eyes (if you set this to true, then you probably want to lower DetectionFrequency). true | false
Face Set wether you want to detect Faces (or Eyes). true | false
Cuda Set wether you want GPU acceleration. true | false
ScreenshotLocation Set the Full-Path to a folder where you want your screenshots to be saved (Folder should exist). Text | default

Examples

example_cam_1 example_img_1

example_cam_2 example_img_2

Sources