A tool for labeling image sequences or avi videos