Generate image dataset from one folder, label each image one by one, for machine learning via tensorflow
This is an update for previous post. http://lengerrong.blogspot.com/2017/04/create-your-own-dataset-for-machine.html It is hard to collect enough images for your machine traning. So I update this post to append images once you find some to your existed dataset. All you need to do is copy your images to a folder and run the python script. Of cause, you have to label each image while running the python script. Below python script just have two label, 0 means cat, 1 means dog. You can add more labels by just modify blue codes.