🎥 StageCam
AI-powered face-tracking camera framing for Python projects
🚀 Use Cases
StageCam is built for:
- 💻 Virtual meetings – Auto-center your face even if you move
- 🤖 Robotics/Embedded Vision – Add camera intelligence to your bots
- 🎬 Livestreams & Screen Recording – Look pro with automatic framing
- 🧠 Python Apps – Integrate real-time face tracking with ease
✨ Features
- 🧠 MediaPipe-based Face Detection (lightweight & accurate)
- 🎯 Smooth Pan & Zoom – No jerky motion
- 👥 Multi-face Adaptive Framing
- 🪞 Lateral Inversion – Just like standard webcams
- 🧩 Modular API – Import and customize as needed
📦 Installation
pip install git+https://github.com/K-Rutuparna1087/StageCam.git
Dependencies (auto-installed):
opencv-pythonmediapipenumpy
⚡ Quick Usage
import stagecam
stagecam.show()
Optional Parameters:
stagecam.show(
camera_index=0,
detection_confidence=0.6,
zoom_factor=2.5
)
🖼️ Compare: Original vs StageCam Feed
import cv2
import stagecam
cap = cv2.VideoCapture(0)
stagecam_feed = stagecam.get_stagecam_feed(camera_index=0)
while True:
ret, original = cap.read()
staged = stagecam_feed(original.copy())
combined = cv2.hconcat([original, staged])
cv2.imshow("Original (left) | StageCam (right)", combined)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
🔧 Build Your Own System
Import core components and customize:
from stagecam import FaceTracker, FrameTransformer
🛣️ Roadmap
- 📷 Virtual Webcam Output (via
v4l2loopback/ OBS) - 🖱️ GUI toggle controls
- 📦 PyPI publishing (
pip install stagecam) - 📱 Mobile-friendly version (future goal)
👤 Author
Made with ❤️ by K Rutuparna 🔧 Mechatronics Engineer | 🤖 Robotics + AI Vision Enthusiast 🌐 GitHub: K-Rutuparna1087
⚖️ License
MIT License – Free to use, modify, and distribute.
Metadata
Release files for stagecam 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stagecam-0.1.0.tar.gz | 4.0 kB | Without provenance | Details for stagecam-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stagecam-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for stagecam-0.1.0-py3-none-any.whl |
Total release size: 8.7 kB
Release files / stagecam-0.1.0.tar.gz
| Download URL | stagecam-0.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57999890110ee1a19b6be9d2c5734df64e71d7bfc64a9f44655953740424324c
|
|
BLAKE2b-256 checksum How to use checksums |
1e9268ece1cb928dcdf056b4613ed445e0d4d6b8afec489bd03b55bb58c912f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / stagecam-0.1.0-py3-none-any.whl
| Download URL | stagecam-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26c04ec8706ae70bea9ce568f8a933fb3e08672e2ab70670d2c9167cb5e96491
|
|
BLAKE2b-256 checksum How to use checksums |
dc79de757d24acff7c5065770dc71401944a6c9fabd2b92592cfa81e287660b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for stagecam 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.