Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Apply a bulging-eye special effect to faces
ResourceFunction["BugOutEffect"][image] applies a special effect to faces in the given image. |
Apply the "bug out" effect to an image of a face:
In[1]:= |
![]() |
Out[2]= |
![]() |
Apply the "bug out" effect to an image of an animal face:
In[3]:= |
![]() |
Out[4]= |
![]() |
BugOutEffect will apply its affect to all faces detected:
In[5]:= |
![]() |
Out[5]= |
![]() |
Change the strength of the effect with an option:
In[6]:= |
![]() |
Out[6]= |
![]() |
BugOutEffect uses FacialFeatures to find the positions of left and right eyes, and thus inherits its limitations:
In[7]:= |
![]() |
In[8]:= |
![]() |
Out[8]= |
![]() |
In[9]:= |
![]() |
Out[9]= |
![]() |
BugOutEffect assumes both eyes are visible and thus may not work as expected for profile images or for those with less than two eyes per face:
In[10]:= |
![]() |
Out[10]= |
![]() |
If no faces are found, a message is issued and the image is returned unaltered:
In[11]:= |
![]() |
Apply BugOutEffect to the current image:
In[12]:= |
![]() |
Out[12]= |
![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License