note: use gpu enabled laptops or desktops for training the model or train the model over google ML based cloud system we trained the model on macbook air early 2017 edition it took 12 hrs to train the model(not recommended)
make changes in script as per your system directories
link for trained mode
python train.py --dataset dataset --model 101.model \
--labelbin mlb.pickle
python classify.py --model 101.model --labelbin mlb.pickle --image examples/pd.jpg