Can you cast Minor Illusion without being noticed?

The spell has a somatic and material component, can it be cast without anyone knowing that you are casting a spell?