I'm trying to find an approach to detect stamps on scanned documents. Now I'm considering Haar or HOG features with cascade classifier, but as I know they are not rotation invariant, which makes them not suitable. What alternative can be used is this case?