Skip to main content

A simple Python library for real-time webcam filters

Project description

easy-filters

A simple Python library to apply fun, real-time filters to your webcam feed using OpenCV.

Installation

Install the package from PyPI:

pip install easy-filters




#How to Use

You can import the run_webcam function into your own Python script to start the webcam feed with a filter applied.

Example
To run the default cartoon filter, create a Python file (e.g., test.py) and add the following:

from easy_filters import run_webcam

# This will run the default "cartoon" filter
run_webcam()

# Press 'q' to quit the webcam window




#Running Other Filters

You can easily specify which filter to use by passing its name to the run_webcam function:

from easy_filters import run_webcam

# Run the "oil" filter
run_webcam("oil")

# Run the "sepia" filter
run_webcam("sepia")


Available Filters

"cartoon" (default)

"edge"

"oil"

"sepia"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easy_filters-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easy_filters-0.1.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file easy_filters-0.1.1.tar.gz.

File metadata

  • Download URL: easy_filters-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for easy_filters-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a39bc33f5237282c2e10f5c63c4ad42f462c1943cade7ac590f473149264567b
MD5 e6d39e9fb8c320a17030f57dfb683f5a
BLAKE2b-256 a550a1ba1945f87f8bfe0f084f536d242ce8081e89d36b0f9f54fa44f1f86c3e

See more details on using hashes here.

File details

Details for the file easy_filters-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: easy_filters-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for easy_filters-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 00ba3c3914717786e60bb6c3913d85ebe0eda96e1a2f359879bf7fa04c06cc19
MD5 2b0e20a64d78256c7673d7af0750f982
BLAKE2b-256 2e978f800cbdbbc8956b447337c2d855fb6b9070583f68a3faf1950f41c9c5b4

See more details on using hashes here.

Supported by

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