public class TrainClassifier extends Object
Constructor and Description |
---|
TrainClassifier() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
First arg: Number of images in directory to go through
Second arg: Directory of images
Third arg: File to write to
|
static void |
writeHistograms(int numberOfImages,
String inputPath,
String outfile)
Write histograms to file
|
public TrainClassifier()
public static void main(String[] args) throws IOException
args
- IOException
public static void writeHistograms(int numberOfImages, String inputPath, String outfile) throws IOException
numberOfImages
- inputPath
- outfile
- IOException