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-6/

{
  "context": "This evaluation assesses how well the engineer uses the imutils package for contour detection, sorting, and labeling. The focus is on proper usage of imutils convenience functions for systematic object counting and visualization.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Contour extraction",
      "description": "Uses imutils.grab_contours() to extract contours from cv2.findContours() output in a version-safe manner",
      "max_score": 25
    },
    {
      "name": "Contour sorting",
      "description": "Uses imutils.contours.sort_contours() with method='left-to-right' (or similar spatial ordering) to sort contours spatially",
      "max_score": 30
    },
    {
      "name": "Contour labeling",
      "description": "Uses imutils.contours.label_contour() to draw and label each contour with its index number",
      "max_score": 35
    },
    {
      "name": "Proper iteration",
      "description": "Correctly iterates through sorted contours and their indices when calling label_contour(), using enumeration to match contour index with label number",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-imutils

tile.json