fixing the analyzer so that it works without the opencv libraries