You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
Thanks!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: