Skip to main content

This tool enhances face images for YouTube thumbnails by removing the background, smoothing skin, boosting vibrance, sharpening, and adding a customizable glow.

Project description

YouTube Face Enhancer / Extractor

This tool enhances face images for YouTube thumbnails by removing the background, smoothing skin, boosting vibrance, sharpening, and adding a customizable glow.

Installation

pip install youtube-face-enhancer

Usage

Enhance a face image for YouTube thumbnails:

youtube-face-enhancer -i INPUT_FILE [options] OUTPUT_FILE

Example

youtube-face-enhancer -i 01.png -b 1.1 -c 10 -s 1.15 --glow_color yellow 01-enhanced.png

Options

  • -i, --input (required): Input image path
  • -b, --brightness: Brightness/contrast alpha (default: 1.08)
  • -c, --contrast: Brightness/contrast beta (default: 8)
  • -s, --saturation: Saturation multiplier (default: 1.10)
  • --smooth_d: Bilateral filter diameter (default: 7)
  • --smooth_sigma_color: Bilateral filter sigmaColor (default: 60)
  • --smooth_sigma_space: Bilateral filter sigmaSpace (default: 60)
  • --sharpen: Sharpening strength (default: 1.7)
  • --glow_size: Glow dilation kernel size (default: 25)
  • --glow_blur: Glow blur sigma (default: 16)
  • --glow_color: Glow color (hex or name, default: #FFFFFF)
  • OUTPUT_FILE (required): Output image path (always last argument)

Help

See all options:

youtube-face-enhancer --help

Development

To install for development:

uv pip install -e .

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

youtube_face_enhancer-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

youtube_face_enhancer-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file youtube_face_enhancer-0.1.0.tar.gz.

File metadata

  • Download URL: youtube_face_enhancer-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for youtube_face_enhancer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 daabd1764b19ab2bd14357b4c29d39e642c70dcdf618cb8f06b1d3e4af42e0b2
MD5 9ef6c63c3a170cc450ac2a16e65b9659
BLAKE2b-256 0b3550c5958434ecc6ae2d7589b16157e092f8ed297835c3ad6887be81cdc187

See more details on using hashes here.

File details

Details for the file youtube_face_enhancer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for youtube_face_enhancer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e34dd94d4a097fce005391775784e8378ba429b6867fbec6316d774d0d5a7152
MD5 81d948e1dc2ebf3a9590c8e92d2eecb5
BLAKE2b-256 2ccf4d393f0f54f1b4ac038305b91f2fec2fa4d97eacc139435dd15665bbdc06

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