def localize_random_state(self, recursive=True):
aug = self.deepcopy()<EOL>aug.localize_random_state_(<EOL>recursive=recursive<EOL>)<EOL>return aug<EOL>
Converts global random states to local ones.
See :func:`Augmenter.localize_random_state_` for more details.

Parameters
----------
recursive : bool, optional
    See :func:`imgaug.augmenters.meta.Augmenter.localize_random_state_`.

Returns
-------
aug : imgaug.augmenters.meta.Augmenter
    Returns copy of augmenter and children, with localized random states.