Code
sprite = Sprite('Ball')
pose = Posenet()
pose.video("on", 0)
pose.enablebox()
while True:
pose.analysestage()
if (pose.isdetected(0, 1)):
sprite.setx(pose.x(0, 1))
sprite.sety(pose.y(0, 1))
sprite.show()
else:
sprite.hide()