mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
"atomic bomb" commit. Reorganized OpenCV directory structure
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
#! /usr/bin/env python
|
||||
"""
|
||||
This script will test highgui's video reading functionality
|
||||
for RAW RGBA (dummy alpha channel) .avi files
|
||||
"""
|
||||
|
||||
# pixel format to check
|
||||
FORMAT = "RGBA"
|
||||
|
||||
# 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)
|
||||
Reference in New Issue
Block a user