/Image-Directory-to-CSV

Converts a given image directory to a CSV file.

Primary LanguagePython

Image Directory to CSV

Often times we need to convert our dataset of images to CSV files. This does just that.

Setup

  1. Clone this repository.
  2. Show some ❤️ by ⭐ing this repo
  3. Add the path of the directory you want to convert in
myFileList = createFileList('/path_to_directory_with_images/') 
  1. Name the csv file to be created in
with open("name_you_want.csv", 'a') as f: 
  1. In case you're not able to locate the .csv file, search it up with the name given.