mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
348 B
17 lines
348 B
#! /usr/bin/env python |
|
""" |
|
This script will test highgui's video reading functionality |
|
for RAW YVU9 .avi files |
|
""" |
|
|
|
# pixel format to check |
|
FORMAT = "YVU9" |
|
|
|
# import check routine |
|
import cvCreateFileCapture |
|
|
|
# check video file of format FORMAT, |
|
# the function also exits and returns |
|
# 0,1 or 77 accordingly. |
|
|
|
cvCreateFileCapture.video_ok(FORMAT)
|
|
|