Skip to content

mousecrusher2/img2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

img2csv

This is a simple python script that converts an image to a csv file. The csv file contains the pixel values of the image. If the image is a color image, three csv files are generated, one for each color channel. If the image is a grayscale image, only one csv file is generated.

Usage

Install the requirements:

pip install -r requirements.txt

Run the script:

python img2csv.py <image_path> -o <csv_path>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages