cleanup opencv