added mysterious, but magic code.
ERA library would crash without first initializing opencv library first.
(issue found only on galaxy S2)