Modified to output images into a "pos" directory and build a text file that can be used for cascade training