category focus

Media

Audio, video, and image processing.

1476 مهارةall categories
sorting
stars
current ordering strategy
query
all entries
refine the visible subset
media
304

python-image-downsampling-with-color-voting

Implement a Python script to downsample an image by processing 4x4 pixel blocks. Each pixel in a block votes for the closest color in a colormap, and the block is filled with the most voted color.

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

python-png

使用OpenCV和NumPy处理具有透明背景的PNG图像。功能包括:将图像画布向外扩展200像素,在非透明内容外围添加100像素宽的白色填充,并在白色填充外围添加5像素宽的平滑黑色边框。黑色边框的平滑处理需使用距离变换(Distance Transform)和高斯模糊(Gaussian Blur)技术。

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

fastapi-dynamic-image-resizing-and-thumbnailing

Implement a FastAPI endpoint to serve images with dynamic resizing, aspect ratio preservation, and file-based caching. Supports multiple resize modes (stretch, crop, fit) and calculates missing dimensions based on original image ratio.

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

python

使用Python从视频中平均截取9帧画面,并将它们合并成一张图片。

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

python-ffmpeg

生成Python脚本,利用FFmpeg将图片序列按3x3布局合并,或将合并图拆分。要求使用subprocess模块执行命令,并支持用户交互式输入路径。

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

gradiogif

使用Gradio和MoviePy创建图形界面,支持上传不定数量的视频进行水平并排拼接,并提供MP4或GIF格式导出选项。

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

matlab

使用MATLAB对彩色图像进行频域高通滤波处理,以增强图像边缘和细节。适用于需要保留颜色信息并增强高频分量的场景。

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

youtube-downloader

Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

image-enhancer

Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity. Perfect for preparing images for presentations, documentation, or social media posts.

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

python-opencv-hsv-transparency-dilation

使用Python和OpenCV,基于HSV颜色空间和欧氏距离阈值对图像进行特定颜色的透明化处理,并利用形态学膨胀扩展透明区域,最终输出带透明通道的PNG图片。

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

hsv

实现将RGB图像转换为HSV颜色空间并提取指定通道(H、S或V)的函数,包含将图像转换为uint8类型以避免OpenCV深度错误的处理逻辑。

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

c-cimage-save-translated-components

Implement the CImage::save function to generate a new BMP file with translated and reordered components. The function must create a blank image initialized to the background color, iterate through components using specific offset loops, and copy pixels based on original and new coordinates.

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

paired-image-html-data-loader

A Python function to load and preprocess paired screenshot and HTML files from separate directories, matching them by base filename (e.g., screen_13.png with html_13.html), resizing images, and normalizing pixel values for model training.

ECNU-ICALK
ECNU-ICALK
content-media
open
media
304

transcript-timestamp-removal

Cleans video or audio transcripts by removing timestamp markers while preserving all spoken content.

ECNU-ICALK
ECNU-ICALK
content-media
open
Previous
Page 16 / 62
Next