Eh, it's a legal gray area. Technically you would be liable to be sued by the individual image creators themselves (i.e. not Google), but it's pretty unlikely. People have gotten C&D's (cease and desist letters) for "research", but the chances of getting in trouble are pretty close to zero.
Disclaimer: I am not a lawyer, don't take this as valid legal advice