Hi, i am new to golang. I was trying to crop a image. While, the imaging library works flawless. I am having hard time showing cropped image in a window. It gives following error
# command-line-arguments
./main.go:45:23: cannot use cropped (type *image.NRGBA) as type gocv.Mat in argument to window_cropped.IMShow
How can i change image type such that cropped image is able to be used in gocv functions as well!
Hi, i am new to golang. I was trying to crop a image. While, the imaging library works flawless. I am having hard time showing cropped image in a window. It gives following error
How can i change image type such that cropped image is able to be used in gocv functions as well!
Thanks!