CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-rembg

Remove image background using advanced AI models including U-Net, BiRefNet, and SAM with support for multiple input formats and GPU acceleration

84

0.94x
Overview
Eval results
Files

Evaluation results

83%

3%

Model Download Manager

Model download management (d command)

Criteria
Without context
With context

Uses download_models function

100%

100%

Uses sessions_names

100%

100%

Model existence verification

20%

40%

Error handling

100%

80%

Correct return types

100%

100%

99%

-1%

Image Background Remover CLI

CLI file processing (i command)

Criteria
Without context
With context

Uses remove() function

100%

100%

File I/O handling

100%

100%

Command-line argument parsing

100%

100%

Error handling

100%

100%

Data format compatibility

100%

93%

50%

-50%

Image Background Remover

Background removal from images

Criteria
Without context
With context

Uses remove function

100%

0%

Correct input format

100%

100%

Output handling

100%

100%

100%

Image Orientation Corrector

EXIF orientation handling

Criteria
Without context
With context

Import rembg

100%

100%

Use remove function

100%

100%

File I/O handling

100%

100%

Automatic EXIF handling

100%

100%

Error handling

100%

100%

100%

Image Background Remover with Mask Quality Options

Post-processing for mask smoothing

Criteria
Without context
With context

Import rembg

100%

100%

Basic remove usage

100%

100%

File I/O handling

100%

100%

post_process_mask parameter

100%

100%

Standard vs smoothed

100%

100%

100%

Image Edge Refiner

Alpha matting for edge refinement

Criteria
Without context
With context

Uses rembg.remove

100%

100%

Enables alpha matting

100%

100%

Foreground threshold

100%

100%

Background threshold

100%

100%

Erosion size

100%

100%

Image I/O

100%

100%

100%

GPU-Accelerated Image Background Remover

Hardware acceleration (CUDA, ROCm)

Criteria
Without context
With context

Session creation with provider

100%

100%

Execution provider handling

100%

100%

Session reuse

100%

100%

Fallback handling

100%

100%

Provider detection

100%

100%

70%

Batch Image Background Remover

CLI folder/batch processing (p command)

Criteria
Without context
With context

Uses remove function

100%

100%

Session reuse

0%

0%

Proper I/O format

100%

100%

Directory traversal

100%

100%

Progress indication

100%

100%

41%

1%

Image Background Removal Tool

Specialized models for specific domains (anime, portraits, clothing)

Criteria
Without context
With context

Anime model usage

40%

0%

Portrait model usage

20%

0%

Clothing model usage

40%

100%

Remove function usage

100%

80%

Model specification

0%

40%

100%

Video Frame Background Remover

Video frame processing via binary streams (b command)

Criteria
Without context
With context

Binary stream reading

100%

100%

Image format conversion

100%

100%

rembg.remove() usage

100%

100%

Session optimization

100%

100%

Output image saving

100%

100%

Frame counting

100%

100%

Install with Tessl CLI

npx tessl i tessl/pypi-rembg
Evaluated
Agent
Codex

Table of Contents