Snapshot-based emotion detection app for Streamlit that does not require av or streamlit-webrtc. Supports browser camera snapshots, image upload, and a desktop-only OpenCV webcam preview.
python -m venv .venv
# Windows: .venv\Scripts\activate
# macOS/Linux: source .venv/bin/activate
pip install -r requirements.txtpython app.py- To enable classification, install
fer(and optionallyretina-faceormtcnn). - For true realtime streaming in-browser, use a separate build with
streamlit-webrtc+av.