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.
91
{
"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
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-imutilsevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10