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 evaluation assesses the engineer's ability to use imutils for converting dlib rectangle objects to OpenCV bounding box format. The focus is on proper usage of the imutils.face_utils module functionality.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Imports imutils.face_utils",
"description": "The solution imports the imutils.face_utils module or specifically imports rect_to_bb from imutils.face_utils",
"max_score": 20
},
{
"name": "Uses rect_to_bb function",
"description": "The solution uses the rect_to_bb() function from imutils.face_utils to convert dlib rectangles to bounding boxes",
"max_score": 50
},
{
"name": "Single rectangle conversion",
"description": "The convert_detection_to_bbox function correctly uses rect_to_bb() to handle a single dlib rectangle object",
"max_score": 15
},
{
"name": "Multiple rectangles conversion",
"description": "The convert_detections_to_bboxes function correctly applies rect_to_bb() to each rectangle in a list, preserving order",
"max_score": 15
}
]
}