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

rubric.jsonevals/scenario-4/

{
  "context": "This evaluation assesses how well the engineer uses the rembg package to handle images with EXIF orientation metadata. The focus is on correctly utilizing rembg's built-in EXIF orientation handling capabilities for background removal.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Import rembg",
      "description": "Imports the rembg package, specifically the remove function from rembg module",
      "max_score": 10
    },
    {
      "name": "Use remove function",
      "description": "Uses rembg.remove() or the remove() function to process the image for background removal",
      "max_score": 30
    },
    {
      "name": "File I/O handling",
      "description": "Properly reads the input image file and writes the output file using appropriate Python image libraries (PIL/Pillow or similar)",
      "max_score": 20
    },
    {
      "name": "Automatic EXIF handling",
      "description": "Relies on rembg's automatic EXIF orientation handling without manually manipulating EXIF data or rotating images. The solution should trust rembg to handle orientation correctly.",
      "max_score": 30
    },
    {
      "name": "Error handling",
      "description": "Implements appropriate error handling for FileNotFoundError and ValueError as specified in the API",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-rembg

tile.json