File Exchange

image thumbnail

Face Tracking and Image Overlay

version (273 KB) by Ye Cheng
Santa Cam - Turn anyone in a live webcam into Santa Claus.


Updated 01 Sep 2016

View Version History

View License

This submission contains:
1) A script (santaCam.m) that turns anyone in a live webcam into Santa Claus.
The script obtains live webcam feed, identifies human face features, tracks the position of the face, and adds images of a Santa hat and beard on top of it.

Minor modification to the code can turn this into a beard cam, face tattoo cam, wig cam, mask cam…The options are endless, and are only limited by your imagination.

2) A function (imoverlay.m) that overlays a second image on top of an original one.

The images can be RGB or grayscale, and the image on top will be automatically cropped if its region exceeds the original image.

Cite As

Ye Cheng (2021). Face Tracking and Image Overlay (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Tugay Kocasahan

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!