MCPcopy Create free account
hub / github.com/DeepLabCut/DeepLabCut / __init__

Method __init__

deeplabcut/core/trackingutils.py:284–288  ·  view source on GitHub ↗
(self, n_bodyparts)

Source from the content-addressed store, hash-verified

282
283class SkeletonTracker(BaseTracker):
284 def __init__(self, n_bodyparts):
285 super().__init__(dim=n_bodyparts * 2, dim_z=n_bodyparts)
286 self.kf.Q[self.kf.dim_z :, self.kf.dim_z :] *= 10
287 self.kf.R[self.kf.dim_z :, self.kf.dim_z :] *= 0.01
288 self.kf.P[self.kf.dim_z :, self.kf.dim_z :] *= 1000
289
290 def update(self, pose):
291 flat = pose.reshape((-1, 1))

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected