Line maze solver

how this robot can save the road? i mean how it can recognise the road at the second run?

any programming source code u can provide for that function?
i really hope to learn that!

thankz. :wink: