Cut the cauliflower into similar sized florets. Work in batches, and put 1/3 to 1/2 into a food processor. Pulse continuously until you get rice sized pieces.
Heat the oil in a large pan. Add the chopped onion, cook it until it browns. Then add the garlic, cook it for a minute, until softened.
Add the cauliflower to the pan, as well as all the spices, stir until mixed.
Cook for 5-10 minutes, serve hot with a stew or vegetables.
Notes
Do not turn the processor "on", only on pulse.Check the cauliflower frequently while you pulse to make sure you don't over work it.Do not cover or ad any water/liquid to the pan, the cauliflower will get mushy.