MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / capture

Method capture

scenedetect/backends/opencv.py:426–433  ·  view source on GitHub ↗

Returns reference to underlying VideoCapture object. Use with caution. Prefer to use this property only to take ownership of the underlying cv2.VideoCapture object backing this object. Using the read/grab methods through this property are unsupported and will leave this obje

(self)

Source from the content-addressed store, hash-verified

424
425 @property
426 def capture(self) -> cv2.VideoCapture:
427 """Returns reference to underlying VideoCapture object. Use with caution.
428
429 Prefer to use this property only to take ownership of the underlying cv2.VideoCapture object
430 backing this object. Using the read/grab methods through this property are unsupported and
431 will leave this object in an inconsistent state.
432 """
433 return self._cap
434
435 #
436 # VideoStream Methods/Properties

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected