Repository navigation
v0.4.0 - Screen Capture, MJPEG, HTTP Images & QR/Barcode Decoding
What's New
New Features
Screen Capture
screen_list_monitors- List all available monitors/displaysscreen_save_image- Capture full screenshot of a monitorscreen_save_region- Capture a specific region of the screen
MJPEG Streams
mjpeg_save_image- Capture frames from MJPEG streams (IP cameras, ESP32-CAM, Arduino)mjpeg_check_stream- Validate MJPEG stream availability
HTTP Images
http_save_image- Download and save images from any URLhttp_check_image- Check if a URL points to a valid image
QR/Barcode Decoding (requires libzbar)
decode_qr- Decode QR codes from imagesdecode_barcode- Decode barcodes (EAN, UPC, Code128, etc.)decode_all- Decode all codes from an imagedecode_and_annotate- Decode and save annotated image with bounding boxes
Improvements
- Added input validation and sanitization across all modules
- Added security headers to streaming endpoints
- Credentials are now masked in error messages and logs
- Better error handling with descriptive messages
New Dependencies
requests- HTTP client for MJPEG and HTTP image toolsmss- Cross-platform screen capturePillow- Image processingpyzbar- QR/barcode decoding (requires libzbar system library)
Installation Note for QR/Barcode Features
The decode tools require the libzbar system library:
- macOS:
brew install zbar - Linux:
apt install libzbar0 - Windows: Download from https://zbar.sourceforge.net/