Extracting Information from Images
What are some fast and somewhat reliable ways to extract information about images? I've been tinkering with OpenCV and this seems so far to be the best route plus it has Python bindings.
So to be more specific I'd like to determine what I can about what's in an image. So for example the haar face detection a开发者_运维知识库nd full body detection classifiers are great - now I can tell that most likely there are faces and / or people in the image as well as about how many.
okay - what else - how about whether there are any buildings and if so what do they seem to be - huts, office buildings etc? Is there sky visible, grass, trees and so forth.
From what I've read about training classifiers to detect objects, it seems like a rather laborious process 10,000 or so wrong images and 5,000 or so correct samples to train a classifier.
I'm hoping that there are some decent ones around already instead of having to do this all myself for a bunch of different objects - or is there some other way to go about this sort of thing?
Your question is difficult to answer without more clarification about the types of images you are analyzing and your purpose.
The tone of the post seems that you are interested in tinkering -- that's fine. If you want to tinker, one example application might be iris identification using wavelet analysis. You can also try motion tracking; I've done that in OpenCV using the sample projects, and it is kind of interesting. You can try image segmentation for the purpose of scene analysis; take an outdoor photo and segment the image according to texture and/or color.
There is no hard number for how large your training set must be. It is highly application dependent. A few hundred images may suffice.
精彩评论