I need to know, is loaded img grayscale or color to not process grayscale.
My idea is get grayscale by cvtColor(src,src_gray,COLOR_BGR2GRAY) and compare with loaded img.
Perhaps there is a standard or a more interesting variant?
↧