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

{
  "context": "This criteria evaluates how well the engineer uses the imutils package to adjust brightness and contrast in images. The focus is on whether they identify and correctly use the adjust_brightness_contrast function from imutils rather than implementing adjustments manually or using lower-level OpenCV functions.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses imutils import",
      "description": "The solution imports the imutils package to access its convenience functions",
      "max_score": 10
    },
    {
      "name": "Uses adjust_brightness_contrast",
      "description": "The solution calls imutils.adjust_brightness_contrast() function instead of implementing brightness/contrast adjustment manually or using cv2.addWeighted directly",
      "max_score": 40
    },
    {
      "name": "Correct brightness parameter",
      "description": "The brightness parameter is passed correctly to adjust_brightness_contrast with the expected semantics (0 = no change, positive = brighter, negative = darker)",
      "max_score": 15
    },
    {
      "name": "Correct contrast parameter",
      "description": "The contrast parameter is passed correctly to adjust_brightness_contrast with the expected semantics (0 = no change, positive = more contrast, negative = less contrast)",
      "max_score": 15
    },
    {
      "name": "Correct function signature",
      "description": "The adjust_brightness_contrast function is called with the correct signature: adjust_brightness_contrast(image, brightness, contrast)",
      "max_score": 10
    },
    {
      "name": "Image I/O integration",
      "description": "The solution properly integrates adjust_brightness_contrast with OpenCV's imread/imwrite for loading and saving images",
      "max_score": 10
    }
  ]
}