rotate images if needed before running opencv