Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

cvloop allows online video transformation and evaluation with OpenCV. Designed for jupyter notebooks.

Project Description

Provides cvloop, a way to show opencv video loops. Designed for jupyter notebooks.

Simple example: Show webcam feed.

from cvloop import cvloop
cvloop()

More complex example: Show webcam feed side by side with inverted image.

from cvloop import cvloop
cvloop(function=lambda frame: 255 - frame, side_by_side=True)

Complex example: Show video file with background extraction (See OpenCV Documentation; Video).

from cvloop import cvloop
import cv2

def mog2(frame):
    return mog2.fgbg.apply(frame)
mog2.fgbg = cv2.createBackgroundSubtractorMOG2()

cvloop('768x576.avi', function=mog2, side_by_side=True)

More examples: For more examples check out the examples notebook.

Requirements

  • Python 3 (tested with 3.6)
  • OpenCV 3.1
  • Jupyter

Dependencies

  • matplotlib
  • numpy
Release History

Release History

This version
History Node

0.2.0

History Node

0.1.0-dev10

History Node

0.1.0-dev9

History Node

0.1.0-dev8

History Node

0.1.0-dev7

History Node

0.1.0-dev6

History Node

0.1.0-dev5

History Node

0.1.0-dev4

History Node

0.1.0-dev3

History Node

0.1.0-dev2

History Node

0.1.0-dev1

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
cvloop-0.2.0.tar.gz (10.0 kB) Copy SHA256 Checksum SHA256 Source Dec 20, 2016

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