Line follower robot

Your code? Please post it using code tags as described in How to get the best out of this forum
Insufficient power? What is the power supply for the motors?

You wouldn't be the first one who states that and eventually finds out that something was wrong. Please post a schematic / wiring diagram (photo of pencil/paper drawing is OK).

I'm not a specialist when it comes to motors so might not be able to help further.