Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Brings the power of OpenCV to TIFF videos; provides interface to multi-part TIFFs compatible with OpenCV's VideoCapture.

Project Description

Provides a PIL based capture interface to multi-part tiffs, allowing them to be used more easily with OpenCV. This allows you to use OpenCV’s image and video processing capabilities with tiff stacks, a video form frequently encountered in scientific video as it is lossless and supports custom metadata.


A minimal example looks like this:

import tiffcapture as tc
import matplotlib.pyplot as plt
tiff = tc.opentiff(filename)

More real world usage looks like this:

import tiffcapture as tc
import cv2
tiff = tc.opentiff(filename) #open img
_, first_img = tiff.retrieve()
for img in tiff:
    tempimg = cv2.absdiff(first_img, img) # bkgnd sub
    _, tempimg = cv2.threshold(tempimg, 5, 255,
        cv2.THRESH_BINARY) # convert to binary
    cv2.imshow('video', tempimg)
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
TiffCapture-0.1.6.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Mar 30, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting