MCPcopy Create free account
hub / github.com/opencv/opencv-python / test_video_capture

Method test_video_capture

tests/test.py:12–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10 import cv2
11
12 def test_video_capture(self):
13
14 import cv2
15
16 cap = cv2.VideoCapture("SampleVideo_1280x720_1mb.mp4")
17 self.assertTrue(cap.isOpened())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected