Support color inversion in checkerboard_detector

add invert_color parameter to distinguish white-black and black-white circle dot pattern