tessl install tessl/pypi-imutils@0.5.0A 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%
{
"context": "This criteria evaluates how effectively the engineer uses the imutils package's list_images function for recursive image file discovery. The focus is on proper usage of imutils.paths.list_images with its generator nature, filtering capability, and integration into the required solution.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses list_images",
"description": "Implementation imports and uses the list_images function from imutils.paths module",
"max_score": 30
},
{
"name": "Handles generator correctly",
"description": "Code properly handles list_images as a generator (e.g., iterating over it or converting to list) rather than treating it as a regular list",
"max_score": 25
},
{
"name": "Uses contains parameter",
"description": "Implementation utilizes the contains parameter of list_images for substring filtering instead of manually filtering results",
"max_score": 25
},
{
"name": "Passes basePath correctly",
"description": "The directory_path argument is correctly passed as the basePath parameter to list_images",
"max_score": 10
},
{
"name": "Returns correct structure",
"description": "Function returns a dictionary with 'count' and 'paths' keys containing the correct values as specified",
"max_score": 10
}
]
}