MCPcopy
hub / github.com/yerfor/GeneFacePlusPlus / scale

Method scale

utils/visualization/draw_3d_landmark.py:143–144  ·  view source on GitHub ↗
(self, delta)

Source from the content-addressed store, hash-verified

141 self.rot = R.from_rotvec(rotvec_x) * R.from_rotvec(rotvec_y) * self.rot
142
143 def scale(self, delta):
144 self.radius *= 1.1 ** (-delta)
145
146 def pan(self, dx, dy, dz=0):
147 # pan in camera coordinate system (careful on the sensitivity!)

Callers 2

run_training_batchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected