Peking Opera Experience

Project information

  • Category: Computer Vision & Full Stack
  • Programming Ecosystem: Python (Pandas, Flask, OpenCV, NumPy), HTML5 (Jinja2), JavaScript (jQuery, AJAX), CSS (Bootstrap)
  • Project date: Summer 2023
  • Paper: Conference Submission
  • Optimized computational efficiency by curating a focused subset of 83 key facial landmarks from MediaPipe's library of 478, also employing Contrast Limited Adaptive Histogram Equalization (CLAHE) to enhance precision under challenging lighting conditions
  • Innovated an algorithmic solution to extend facial masks beyond eyebrows using hair detection (OpenCV), encompassing image thresholding, direction vectors, and NumPy post-processing for curvature and scaling bounds, ensuring comprehensive face coverage
  • Designed database queries to facilitate personalized facial makeup style matching using Pandas
  • Implemented systematic mask application with stiff mask mapping technique, featuring automatic preprocessing such as cropping and background removal through a flood fill algorithm. Leveraged facial landmarks to rotate, resize, and slightly transparently apply cleaned masks (Pillows, OpenCV)
  • Engineered feature-based/realistic facial makeup mapping, partitioning the dataset into mask components, creating manual point maps, and employing optical flow and Delaunay triangulation for superior mask fit. Incorporated image masking to reveal the user's eyes and mouth for a realistic effect
  • Crafted an engaging and interactive website UI by seamlessly integrating Flask with frontend development, elevating the user experience with Bootstrap styling and AJAX functions. Ensured UI modularity and scalability through Jinja2, facilitating future enhancements
Template by BootstrapMade