CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-imutils

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.

Overall
score

91%

Overview
Eval results
Files

Evaluation results

100%

Face Detection Bounding Box Converter

dlib rectangle to bounding box conversion

Criteria
Without context
With context

Imports imutils.face_utils

100%

100%

Uses rect_to_bb function

100%

100%

Single rectangle conversion

100%

100%

Multiple rectangles conversion

100%

100%

97%

-3%

Image Enhancement Tool

Brightness and contrast adjustment

Criteria
Without context
With context

Uses imutils import

100%

100%

Uses adjust_brightness_contrast

100%

100%

Correct brightness parameter

100%

100%

Correct contrast parameter

100%

100%

Correct function signature

100%

100%

Image I/O integration

100%

70%

100%

100%

Image Rotation Tool

Basic image rotation (rotate)

Criteria
Without context
With context

Uses imutils.rotate

0%

100%

Reads image correctly

0%

100%

Handles angle parameter

0%

100%

Custom center support

0%

100%

Scaling support

0%

100%

Saves output image

0%

100%

100%

37%

Image Caption Overlay System

Multi-line text rendering with line breaks

Criteria
Without context
With context

Uses imutils.text module

60%

100%

Regular text placement

100%

100%

Centered text placement

0%

100%

Correct parameter mapping

100%

100%

Image I/O handling

100%

100%

100%

Image Dataset Analyzer

Recursive image file discovery (list_images)

Criteria
Without context
With context

Uses list_images

100%

100%

Handles generator correctly

100%

100%

Uses contains parameter

100%

100%

Passes basePath correctly

100%

100%

Returns correct structure

100%

100%

65%

30%

Object Counter

Contour labeling and visualization

Criteria
Without context
With context

Contour extraction

100%

100%

Contour sorting

0%

100%

Contour labeling

0%

0%

Proper iteration

100%

100%

100%

OpenCV Function Explorer

OpenCV function discovery (find_function)

Criteria
Without context
With context

Uses imutils.find_function

100%

100%

Handles search results

100%

100%

Case-insensitive search

100%

100%

Correct function signature

100%

100%

80%

-20%

Image Visualization Tool

BGR to RGB conversion for Matplotlib (opencv2matplotlib)

Criteria
Without context
With context

Uses opencv2matplotlib function

100%

100%

Imports imutils correctly

100%

100%

Conditional color conversion

100%

0%

Uses cv2.imread

100%

100%

Handles file errors

100%

100%

100%

65%

Image Feature Matcher

Enhanced RootSIFT descriptor with Hellinger kernel

Criteria
Without context
With context

RootSIFT instantiation

0%

100%

SIFT detector usage

0%

100%

RootSIFT compute method

0%

100%

Descriptor matching setup

100%

100%

Ratio test implementation

100%

100%

Match visualization

100%

100%

65%

15%

Image Processor with Version Compatibility

OpenCV version detection (is_cv2, is_cv3, is_cv4)

Criteria
Without context
With context

Uses grab_contours

100%

100%

Uses version detection

0%

50%

Correct or_better usage

0%

0%

Proper imports

100%

100%

Install with Tessl CLI

npx tessl i tessl/pypi-imutils
Evaluated
Agent
Claude Code

Table of Contents