Ctrl + K
DocumentationLog inGet started

tessl/pypi-rembg

tessl install tessl/pypi-rembg@2.0.0

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

Agent Success

Agent success rate when using this tile

84%

Improvement

Agent success rate improvement when using this tile compared to baseline

0.94x

Baseline

Agent success rate without this tile

89%

rubric.jsonevals/scenario-6/

{
  "context": "This criteria evaluates how well the engineer uses the rembg package for batch folder processing of images, focusing on efficient background removal, proper session management for batch operations, and appropriate handling of file I/O with the rembg API.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses remove function",
      "description": "Code uses the rembg.remove() function to perform background removal on images",
      "max_score": 25
    },
    {
      "name": "Session reuse",
      "description": "Code uses new_session() to create a session and reuses it across multiple images for improved performance, rather than calling remove() without a session for each image",
      "max_score": 30
    },
    {
      "name": "Proper I/O format",
      "description": "Code correctly handles rembg input/output formats by reading image files into appropriate format (bytes, PIL Image, or numpy array) and writing the output back to files",
      "max_score": 25
    },
    {
      "name": "Directory traversal",
      "description": "Code properly traverses the input directory to find all image files, including handling subdirectories recursively",
      "max_score": 10
    },
    {
      "name": "Progress indication",
      "description": "Code provides progress feedback during batch processing (e.g., using tqdm, print statements, or other progress indicators)",
      "max_score": 10
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/rembg@2.0.x
tile.json