×

SparkFun Electronics will be closed on November 26, 2020 and November 27, 2020 for the Thanksgiving holiday. We will begin normal operations at 9:00 AM Mountain Time on November 30, 2020.

×

Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

Computer Vision and Projection Mapping in Python

Using a Raspberry Pi to do augmented-reality projections

Favorited Favorite 3

In my past work as a developer, I've done some work with Python, and played a bit with computer vision. I thought it would be fun to explore what I could do with the camera module for a Raspberry Pi 3B+, as well as a cheap-o projector I picked up on Amazon a while back.

When I started this project in the latter half of 2018, the holidays were fast approaching, and what better to do than a SnapChat filter-like projector that puts a Santa hat on any faces it found? Fun photo booth anyone?

If you're at all curious about Python, face tracking and feature detection, camera calibration, or projection mapping, check out the complete writeup and explanation of the project below!

Camera calibration frame


Comments 5 comments

Related Posts

Recent Posts

Picture Perfect Pi

Tags


All Tags