Funny Face Application Created By Sweta Patil Guided
Funny Face Application Created By: Sweta Patil Guided By: Mingon Kang
Goal of the Project To convert a given face image into a funny image by expanding the facial features and adding some filters. Steps: 1. Focus the camera on some person, the camera will detect the face 2. After detecting the face, it will convert the image into a funny image
Technologies Used • Open. CV § Computer Vision library with APIs that let you setup a pipeline for your Computer Vision project • Android Studio § Used to develop mobile applications for Android platform
App Architecture Integrated Open. CV with Android Studio to develop the Funny Face Application.
Implementation Details 1. View § Linear Layout § Java. Camera. View control § Camera Orientation o Camera. Bridge. View. Base o Canvas rotation
Implementation Details 2. Logic § on. Camera. View. Started() § on. Camera. Frame() o Access each frame, and process each frame to detect the faces using cascade classifier o input. Frame is represented as Mat (open. CV matrix), extract the submatrix, apply the effects and overlay it on the input. Frame § on. Camera. View. Stopped()
Implementation Details 2. 1. Logical Diagram
Implementation Details 3. Features § Pixel Effect o Resize function § Sepia Effect o Transform function § Flip Camera View (Front and Back Camera) Also, I have added the funny ear and nose using the ellipse function.
Output for Pixel Effect
Output for Sepia Effect
Future Scope of the Project Make a funny face application like Snow § Get left profile, right profile and add effects § Swap faces only with opposite genders § Create video effects Requirements and Open. CV limitations § Open. CV works great in detecting faces, but requires lot of computations to be performed on the client or the app § Open. CV only detects faces if viewed from front view only § Need to figure out different API’s where the heavy lifting is done and my future scope can be fulfilled
- Slides: 13