MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / EllipseTracker

Class EllipseTracker

deeplabcut/core/trackingutils.py:267–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265
266
267class EllipseTracker(BaseTracker):
268 def __init__(self, params):
269 super().__init__(dim=5, dim_z=5)
270 self.kf.R[2:, 2:] *= 10.0
271 # High uncertainty to the unobservable initial velocities
272 self.kf.P[5:, 5:] *= 1000.0
273 self.kf.P *= 10.0
274 self.kf.Q[5:, 5:] *= 0.01
275 self.state = params
276
277 @BaseTracker.state.setter
278 def state(self, params):
279 state = np.asarray(params).reshape((-1, 1))
280 super(EllipseTracker, type(self)).state.fset(self, state)
281
282
283class SkeletonTracker(BaseTracker):

Callers 1

trackMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected