我目前有一个带有python的3d图,但我想为它设置动画。具体来说,我有运动分析数据,存储在3个阵列(x,y,z轴),大约300帧长。我现在可以三维地绘制它,但我希望它能够在帧过程中看到实际的运动,所以我希望程序按时间顺序为运动路径设置动画。这是我当前的非工作代码,非常简单:
07-09 15:42:12.073 5284-5284/com.pobeda.ivan.opencvdetect E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.pobeda.ivan.opencvdetect, PID: 5284
java.lang.NoClassDefFoundError: com.google.android.gms.vision.face.internal.client.FaceSettingsParcel
at com.google.android.gms.vision.face.FaceDetector$Builder.build(Unknown Source)
at com.pobeda.ivan.opencvdetect.LandmarkActivity.onCreate(LandmarkActivity.java:25)
at android.app.Activity.performCreate(Activity.java:6285)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.access$900(ActivityThread.java:150)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:764)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
对于x,y和z轴,data_x,data_y和data_z都存储对象的手腕在300帧的移动。
我正在运行python 3.6