Allow choosing static opencv init