A software tool to generate labeled image data from input videos using SAM2