recognition algorithm working
Demo