General CNN Classifier
Path given to the function should cointain n folders (n classes), these folders should cointain pictures belonging to that perticular class. The program will train on these images and save the model as a .model file. This file can be rloaded later to be used for prediction.
For Eg: D:/DataSets/PetImages
PetImages has the follwing folders. Dogs bigDog.png helloDog.jpg .... Cats bigCat.png hellhelloCat.jpg .... Parrots parrot.png newparrot.jpg .... ...