explicitly added iostream header
dropped armadillo, opencv is enough