Skip to main content

Easily display a webcam window in a Tkinter GUI

Project description

Tkinter-Webcam

CodeFactor PyPI version

Easily display a webcam window in a Tkinter GUI

⚡️ Installation

To install the package use:

pip install tkinter-webcam

To use the package simply import it:

from tkinter_webcam import webcam

Then create the Box object using any variable name and immediently run the show frames function:

webcam_object = webcam.Box(window, width=450, height=450)
# Uses Box class from webcam to create video window
webcam_object.show_frames()
# Show the created Box

Checkout example.py to see a full script using this object

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page