MCPcopy Index your code
hub / github.com/rawpython/remi / __init__

Method __init__

editor/widgets/toolbox_opencv.py:139–146  ·  view source on GitHub ↗
(self, filename='', *args, **kwargs)

Source from the content-addressed store, hash-verified

137 self.set_image_data(cv2.imread(value, cv2.IMREAD_COLOR))
138
139 def __init__(self, filename='', *args, **kwargs):
140 self.default_style.update(kwargs.get('style',{}))
141 kwargs['style'] = self.default_style
142 kwargs['width'] = kwargs['style'].get('width', kwargs.get('width','200px'))
143 kwargs['height'] = kwargs['style'].get('height', kwargs.get('height','180px'))
144 super(OpencvImRead, self).__init__("", *args, **kwargs)
145 OpencvWidget._setup(self)
146 self.filename = filename
147
148
149class OpencvVideo(OpencvImage):

Callers

nothing calls this directly

Calls 3

updateMethod · 0.45
__init__Method · 0.45
_setupMethod · 0.45

Tested by

no test coverage detected