:meth: dump the object into a numpy array :return: a numpy array
(self)
| 91 | [arr[0], arr[1], (arr[2]-arr[0]), (arr[3]-arr[1])]) |
| 92 | |
| 93 | def dumpNp(self): |
| 94 | """ |
| 95 | :meth: dump the object into a numpy array |
| 96 | :return: a numpy array |
| 97 | """ |
| 98 | return numpy.array([self.x, self.y, self.x1, self.y1], dtype="float32") |
| 99 | |
| 100 | def intersection(self, boxB): |
| 101 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected