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-3/

{
  "context": "This criteria evaluates how effectively an engineer uses the imutils package for image rotation operations, specifically the rotate() function and its parameters. The focus is on proper usage of imutils.rotate() with its angle, center, and scale parameters.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses imutils.rotate",
      "description": "Uses imutils.rotate() function (not cv2.getRotationMatrix2D or cv2.warpAffine directly) to perform image rotation",
      "max_score": 35
    },
    {
      "name": "Reads image correctly",
      "description": "Uses cv2.imread() to load the input image from the file path",
      "max_score": 10
    },
    {
      "name": "Handles angle parameter",
      "description": "Correctly passes the angle parameter to imutils.rotate() to specify rotation degrees",
      "max_score": 15
    },
    {
      "name": "Custom center support",
      "description": "Correctly passes the center parameter to imutils.rotate() when a custom center point is provided",
      "max_score": 20
    },
    {
      "name": "Scaling support",
      "description": "Correctly passes the scale parameter to imutils.rotate() when a scaling factor is provided",
      "max_score": 10
    },
    {
      "name": "Saves output image",
      "description": "Uses cv2.imwrite() to save the rotated image to the output path",
      "max_score": 10
    }
  ]
}