MCPcopy Index your code
hub / github.com/pyload/pyload / load_image

Method load_image

module/plugins/internal/OCR.py:37–40  ·  view source on GitHub ↗
(self, image)

Source from the content-addressed store, hash-verified

35 return self.pyfile.plugin._log(level, plugintype, self.pyfile.plugin.__name__, messages)
36
37 def load_image(self, image):
38 self.img = Image.open(image)
39 self.pixels = self.img.load()
40 self.result_captcha = ""
41
42 def deactivate(self):
43 """

Callers

nothing calls this directly

Calls 2

openMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected