Skip to content

v0.4.0 - Screen Capture, MJPEG, HTTP Images & QR/Barcode Decoding

Choose a tag to compare

@Timorleiderman Timorleiderman released this 11 Dec 05:50
· 3 commits to main since this release

What's New

New Features

Screen Capture

  • screen_list_monitors - List all available monitors/displays
  • screen_save_image - Capture full screenshot of a monitor
  • screen_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 URL
  • http_check_image - Check if a URL points to a valid image

QR/Barcode Decoding (requires libzbar)

  • decode_qr - Decode QR codes from images
  • decode_barcode - Decode barcodes (EAN, UPC, Code128, etc.)
  • decode_all - Decode all codes from an image
  • decode_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 tools
  • mss - Cross-platform screen capture
  • Pillow - Image processing
  • pyzbar - QR/barcode decoding (requires libzbar system library)

Installation Note for QR/Barcode Features

The decode tools require the libzbar system library: