
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
An easy way to capture and stream media from multiple cameras, from the screen and urls
HoloCapture is a simple, production-ready Python utility for screen and camera capture, screen/camera streaming, multi-camera compositing, and media normalization—using only a few lines of code.
pip install HoloCapture
from HoloCapture import HoloCapture
import cv2
import numpy as np
mediaCapture = HoloCapture()
# Capture a screenshot
mediaCapture.captureScreen('screenshots/screen.jpg')
# Record the screen for 10 seconds
mediaCapture.recordScreen('videos/screen.mp4', duration=10)
# Capture from two cameras and save side-by-side
mediaCapture.captureMedia('images/cameras.jpg', 0, 1, normalize=True)
# Record from two cameras for 15 seconds
mediaCapture.recordMedia('videos/cameras.mp4', 0, 1, duration=15, normalize=True)
# Stream live screen preview (press 'q' to exit)
for frame in mediaCapture.streamScreen(fps=15):
cv2.imshow("Screen", cv2.cvtColor(frame, cv2.COLOR_RGB2BGR))
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cv2.destroyAllWindows()
# Stream from cameras (press 'q' to exit)
for frames, frameCount in mediaCapture.streamCameras(0, 1, normalize=True):
if any(f is None for f in frames):
break
combined = np.hstack(frames)
cv2.imshow("Combined Cameras", combined)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cv2.destroyAllWindows()
Method | Description |
---|---|
captureScreen(mediaFile) | Capture screenshot to file |
recordScreen(mediaFile, duration=10) | Record the screen to video file |
captureMedia(combinedFile, *cameras) | Capture side-by-side from one or more cameras |
recordMedia(combinedFile, *cameras, ...) | Record video from one or more cameras |
streamScreen(fps=10, maxWidth=1280, ...) | Generator: live screen frames (resized) |
streamCameras(*cameras, ...) | Generator: live camera frames (resized) |
normalizeImage(image) | Normalize contrast/gamma of a frame |
ImageGrab
requires Windows/macOS or X11-based Linux.q
key.This project is licensed under the Apache License, Version 2.0. Copyright 2025 Tristan McBride Sr.
Project by:
FAQs
An easy way to capture and stream media from multiple cameras, from the screen and urls
We found that HoloCapture demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.