MCPcopy
hub / github.com/jkjung-avt/tensorrt_demos / release

Method release

utils/camera.py:264–270  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

262 return self.img_handle
263
264 def release(self):
265 self._stop()
266 try:
267 self.cap.release()
268 except:
269 pass
270 self.is_opened = False
271
272 def __del__(self):
273 self.release()

Callers 13

mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
__del__Method · 0.95
mainFunction · 0.80
readMethod · 0.80
__del__Method · 0.80

Calls 1

_stopMethod · 0.95

Tested by

no test coverage detected