Process function: extract vote count region and write the feature vector to files.