Real Time Image processing timing problem

a way to store the commands given to arduino and execute them at the desired timing later while simultaneously I can read sensor input and start further processing.

You could use multiple Arduinos.
You could learn how to do proper programming to avoid blocking.
You could investigate RTOS for Arduino.

Ray