1. Introduction
5 minStep 1 of 14
Build a Streamlit app that opens your webcam and draws boxes around faces with Haar cascades
What you'll need
- •Python 3.8–3.10 recommended. Webcam required. Works best on a local machine (not all cloud hosts expose a camera).
Why this matters
Face detection is a classic computer-vision deploy skill — security cameras, photo apps, attendance systems. You learn cascade classifiers and how to ship a demo UI with Streamlit in minutes.
What you'll have at the end
A Streamlit page with a Start camera button. Click it, your webcam opens in an OpenCV window with green rectangles on detected faces. Press Q to quit. Good portfolio demo material.
StreamlitOpenCVHaar cascadewebcamcv2.imshow
