Error in the openCV example

[ error ] ofxCvGrayscaleImage: operator=: region of interest mismatch

I’m running into this error while running the opencv example using the video grabber instead of the saved video. Does anybody know what this error means and how do I solve it.

Note:- I haven’t changed the example code at all and was just running it to see the output.

I just ran the example myself with the video grabber and all is well on my MacPro MacOS 10.14.4 and my webcam is a logitech. Can you provide more information on your setup?

I just had this same issue.

The examples try to setup video grabber with a dimension of 320x240 which it seems newer macbook webcams can’t support. If you change all the setup and allocate calls to use 640, 480 the error goes away