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.

91

1.33x
Overview
Eval results
Files

rubric.jsonevals/scenario-1/

{
  "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
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-imutils

tile.json