Skip to main content
2 of 2
added 139 characters in body
Alex
  • 356
  • 3
  • 13

Found MovieTrackingMarkers.insert_frame

clip = bpy.data.movieclips[0] width = clip.size[0] # 848 height = clip.size[1] # 480 bpy.ops.clip.add_marker(location=(424.0/width,240.0/height)) bpy.data.movieclips[0].tracking.tracks.active.name="test" clip.tracking.objects[0].tracks[0].markers.insert_frame(10, co=(212.0/width,120.0/height)) clip.tracking.objects[0].tracks[0].markers.insert_frame(20, co=(106.0/width,110.0/height)) clip.tracking.objects[0].tracks[0].markers.insert_frame(30, co=(53.0/width,55.0/height)) 

Well, that was fun: use dlib and opencv to track face landmarks

Alex
  • 356
  • 3
  • 13