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.1.tar.gz (4.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.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: youtube_face_enhancer-0.1.1.tar.gz
  • Upload date:
  • Size: 4.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.1.tar.gz
Algorithm Hash digest
SHA256 7c049fbe6b66dc63d2492c697a44b008c97d1fa2e11cebd27d1eb79f8aef0ec3
MD5 f2aff0121804b3b6bdd6f7edc4798533
BLAKE2b-256 6fa17f8f9ff8f3f9d18a19200c0d0057357c3f43140af6ef6a6f7961c418b852

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtube_face_enhancer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 638a330d2a30322ef836057806b14305cfa20dde39287780a74de952105966bc
MD5 15535e4cf6e3630a7fcc2d675bf0c017
BLAKE2b-256 54cadb7b189ca36e6c7b607a173ff4d3daf57291545258b48f430b4118c45b34

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