Skip to content
This repository was archived by the owner on May 12, 2024. It is now read-only.

Commit b1fedf7

Browse files
committed
Adjustment of comment length
1 parent 0fb0225 commit b1fedf7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tflite2tensorflow/mediapipeCustomOp.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,12 @@ def barracuda_gather_nd(params, indices):
181181

182182
return value
183183

184-
# Left indexとRight indexで指定されたLandmarkを結ぶ線が水平になり、Subset indicesで指定されたLandmrakをちょうど含むような範囲をcropするように、元の画像をAffine変換する行列
184+
# Left indexとRight indexで指定されたLandmarkを結ぶ線が水平になり、
185+
# Subset indicesで指定されたLandmrakをちょうど含むような範囲をcropするように、元の画像をAffine変換する行列
185186
# の逆行列を求める。なぜ、逆行列かといういうと、後の計算で使うのが逆行列だから。
186-
# Calc inverse of the matrix which represetns the affine transform which crops the area which covers all the landmarks specified by "subset indices" and rotates so that the landmarks specified by "Left index" and "Right index" are horizontally aligned.
187+
# Calc inverse of the matrix which represetns the affine transform which crops the area
188+
# which covers all the landmarks specified by "subset indices" and rotates
189+
# so that the landmarks specified by "Left index" and "Right index" are horizontally aligned.
187190
def Landmarks2TransformMatrix(operator, custom_options, tensors, interpreter, landmarks3d=None):
188191
if landmarks3d is None:
189192
landmarks3d = tensors[operator['inputs'][0]] #float32 [b,468,3] landmarks

0 commit comments

Comments
 (0)