void findPattern(int xs[8], int ys[8], unsigned char* img, int width, int height);