Hello aashari I am learning opencv now I got a question while copying your code. how can i detect center line squre patch? here is my image.. 