A program to apply the fisheye effect on images. There is currently 3 versions of the effect.
- Project level
build.gradle
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.xiushak:FlooshedEye:master-SNAPSHOT'
}
The first version, EllipseFishEyeModel, maps the image onto an ellipse. This one does not allow you to change where the fisheye effects centers at. An example of this version working on the grid image above is shown below.
The second version, FishEyeModel, allows you to move the center of the fisheyeEffect. Below is an example of the version
This one is an example where the effect was moved to the top left quadrant of the image
To use the FacialRecognitionFishEyeModel, you need to download OpenCV for python.
pip install opencv-python
I also have a version that fisheyes on the brain to create the "big brain" effect.