Automatically detects objects within scan result, creates cropped copies of csv file.
- open a terminal (in VSCode) and run the command:
git clone https://github.com/SimonvH03/CSV_cropping.git
- navigate to the cloned directory in your terminal
cd CSV_cropping
pwd
- open a terminal at the cloned directory and run the commands:
if pwd does not correspond with the folder of your current install, navigate there with the command 'cd'
don't forget to include the '.'
pwd
git checkout .
git stash
git pull
-
place files you want to crop in the directory ./data or wherever you like
-
visit config.h and read it carefully
change defined constant values in config.h to set parameters.
- make sure your input file path is defined as INPUT_FILE
The file path can be something like "./data/inputfile.csv" or "myfolder/inputfile.csv" depending on where you put it
- run the program with the provided script
bash run.sh