It runs on both osx and linux for me
https://github.com/h2non/bimg
There is also bindings for OpenCV here is one
https://github.com/lazywei/go-opencv