This's a starter project. The detecting part has been slowed down, in full speed, it finish in 0.1-0.5s