small programs with opencv