How to find specific rotated patterns in an image


I want to find 5 like above. What technologies should I use?
We can cut out the pattern image and use it.
Template matching does not seem to detect rotation or size changes.