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%
Build an image dataset analyzer that discovers and reports statistics about images in a directory structure.
Your analyzer should:
The analyzer should support common image formats including JPEG, PNG, BMP, and TIFF files.
@generates
def analyze_images(directory_path, filter_substring=None):
"""
Analyzes images in a directory structure.
Args:
directory_path: Path to the directory to search
filter_substring: Optional substring to filter filenames
Returns:
A dictionary containing:
- 'count': Total number of images found
- 'paths': List of image file paths
"""
passProvides image processing utilities including file discovery functions.