MCPcopy Create free account
hub / github.com/devilsen/CZXing / get_x

Method get_x

python/QR_Code_Position.py:10–11  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8 self._image_height = image_height
9
10 def get_x(self):
11 return round(self._x / self._image_width, 6)
12
13 def get_y(self):
14 return round(self._y / self._image_height, 6)

Callers 1

label_dataMethod · 0.95

Calls 1

roundFunction · 0.85

Tested by

no test coverage detected