Fork of code from https://code.google.com/p/go-opencv/ by chaishushan