MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __str__

Method __str__

computer_vision/harris_corner.py:23–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21 raise ValueError("invalid k value")
22
23 def __str__(self) -> str:
24 return str(self.k)
25
26 def detect(self, img_path: str) -> tuple[cv2.Mat, list[list[int]]]:
27 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected