Skip to main content

image utils

Project description

PyPI version codecov



pip install imutils2

# or install with opencv
pip install imutils2[opencv]


  • imread 读取或转化图像为opencv格式
  • pil2cv Pillow转Opencv格式
  • cv2pil Opencv转Pillow格式
  • cv2gray Opencv转成灰度图
  • url_to_image 下载URL为图像
  • show_image 查看图像兼容jupyter, requires matplotlib
  • merge_app_screenshots App下滑长截图拼接
from imutils2 import *

im1 = imread("m1.jpg")
im2 = imread("m2.jpg")
im3 = imread("m3.jpg")
output = merge_app_screenshots([im1, im2, im3])


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imutils2-0.3.5.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

imutils2-0.3.5-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page