Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PeterL1n/BackgroundMattingV2
/ read
Method
read
inference_webcam.py:78–81 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
76
self.frame = frame
77
78
def
read(self):
79
with
self.read_lock:
80
frame = self.frame.copy()
81
return
frame
82
def
__exit__(self, exec_type, exc_value, traceback):
83
self.capture.release()
84
Callers
4
__init__
Method · 0.80
__update
Method · 0.80
inference_webcam.py
File · 0.80
__getitem__
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected