- OpenCV 3.4.2 or later
サンプルの実行方法は以下です。
python sample.pyimage = rotate_3d(
image,
theta=30, # x軸を中心に回転(度)
phi=30, # y軸を中心に回転(度)
gamma=30, # z軸を中心に回転(度)
color=(0, 255, 0), # 回転時に発生する余白の色
transparent=False, # 背景を透過するか否か
)サンプルの画像はぱくたそ様の「モチベーションが死んでる女子校生」を使用しています。
高橋かずひと
cv_rotate_3d is under Apache 2.0 license.
