f2da9efb5405ef84d47e3dc3cdbd1da06ec86536
[opencv] / tests / python / highgui / cvCreateFileCaptureY8.py
1 #! /usr/bin/env python
2 """
3 This script will test highgui's video reading functionality
4 for RAW Y8 (luminance only) .avi files
5 """
6
7 # pixel format to check
8 FORMAT   = "Y8"
9
10 # import check routine
11 import cvCreateFileCapture
12
13 # check video file of format FORMAT,
14 # the function also exits and returns
15 # 0,1 or 77 accordingly.
16
17 cvCreateFileCapture.video_ok(FORMAT)