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
{
"context": "This criteria evaluates how effectively an engineer uses the imutils package for image rotation operations, specifically the rotate() function and its parameters. The focus is on proper usage of imutils.rotate() with its angle, center, and scale parameters.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses imutils.rotate",
"description": "Uses imutils.rotate() function (not cv2.getRotationMatrix2D or cv2.warpAffine directly) to perform image rotation",
"max_score": 35
},
{
"name": "Reads image correctly",
"description": "Uses cv2.imread() to load the input image from the file path",
"max_score": 10
},
{
"name": "Handles angle parameter",
"description": "Correctly passes the angle parameter to imutils.rotate() to specify rotation degrees",
"max_score": 15
},
{
"name": "Custom center support",
"description": "Correctly passes the center parameter to imutils.rotate() when a custom center point is provided",
"max_score": 20
},
{
"name": "Scaling support",
"description": "Correctly passes the scale parameter to imutils.rotate() when a scaling factor is provided",
"max_score": 10
},
{
"name": "Saves output image",
"description": "Uses cv2.imwrite() to save the rotated image to the output path",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-imutilsevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10