Capture at least 30 images per class. Be aware of when you're pressing and releasing the button (that's when it starts/stops capturing images). And you might need to capture lots of angles or variations of whatever it is you want your machine to recognize. Why isn't my machine working the way I want it to? Don't worry. Keep playing around.