Finished a good thresholding triangle target detector