Skip to content

SimonvH03/CSV_cropping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV_cropping

Automatically detects objects within scan result, creates cropped copies of csv file.

How to install/update

Install for the first time:

  • 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

or Update the version you already have:

  • 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

How to use the tool

  • 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

About

A tool to help detect and extract regions of interest from a hyperspectrometer scan in CSV format. Written for University of Leeds Food Science & Nutrition students

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors