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

Method capture

scenedetect/backends/opencv.py:145–152  ·  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. Seeking or using the read/grab methods through this property are unsupported and will leav

(self)

Source from the content-addressed store, hash-verified

143
144 @property
145 def capture(self) -> cv2.VideoCapture:
146 """Returns reference to underlying VideoCapture object. Use with caution.
147
148 Prefer to use this property only to take ownership of the underlying cv2.VideoCapture object
149 backing this object. Seeking or using the read/grab methods through this property are
150 unsupported and will leave this object in an inconsistent state.
151 """
152 return self._cap
153
154 #
155 # VideoStream Methods/Properties

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected