What modifications need to be done so that the input taken are image files and not just videos or web camera?