or run

tessl search
Log in

Version

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

tessl/pypi-imutils

tessl install tessl/pypi-imutils@0.5.0

A series of convenience functions to make basic image processing functions such as translation, rotation, resizing, skeletonization, displaying Matplotlib images, sorting contours, detecting edges, and much more easier with OpenCV and both Python 2.7 and Python 3.

Agent Success

Agent success rate when using this tile

91%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.34x

Baseline

Agent success rate without this tile

68%

rubric.jsonevals/scenario-8/

{
  "context": "This evaluation criteria assesses how well the engineer uses the imutils package, specifically the opencv2matplotlib() function, to solve the image visualization problem. The focus is on proper usage of imutils for color format conversion when displaying OpenCV images in Matplotlib.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses opencv2matplotlib function",
      "description": "Uses imutils.opencv2matplotlib() to convert BGR images to RGB format for Matplotlib display",
      "max_score": 50
    },
    {
      "name": "Imports imutils correctly",
      "description": "Correctly imports imutils or specifically imports opencv2matplotlib from imutils",
      "max_score": 10
    },
    {
      "name": "Conditional color conversion",
      "description": "Only applies opencv2matplotlib() to color images, not grayscale images (checks if image has 3 channels before conversion)",
      "max_score": 20
    },
    {
      "name": "Uses cv2.imread",
      "description": "Uses cv2.imread() to load images from file paths",
      "max_score": 10
    },
    {
      "name": "Handles file errors",
      "description": "Properly checks if the image was loaded successfully and raises FileNotFoundError when appropriate",
      "max_score": 10
    }
  ]
}